Linear Regression, Gradient Descent, Machine Learning, Data Science, Getting Started.
at 0,0 for both the slope and intercept. Note: In machine learning, we use theta to represent the vector [y-intercept, slope]. Theta0 = y-intercept. Theta1=slope. That’s why you see theta as variable name in the implementation below. Using this algorithm and the dataset above for mothers and