# Code and data from Codecademy with slight modification
import numpy as np

hours_studied = np.array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]).reshape(20,1)

passed_exam = np.array([0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1]).reshape(20,1)

calculated_coefficients = np.array([[0.20678491]])

zero_coefficients = np.array([0])

intercept = np.array([-1.76125712])

zero_intercept = np.array([0])

