Linear Regression, Gradient Descent, Machine Learning, Data Science, Getting Started.
daughters heights, I got to a cost of 3.4 after 500 iterations. The equation after 500 iterations is y = 0.998x + 0.078. The actual regression line is y = 1.2x -12.87 with cost of approximately 3.1. With an estimate of [0,0] as initial value for [y-intercept, slope], it’s impractical to get to y =