Linear Regression, Gradient Descent, Machine Learning, Data Science, Getting Started.
too small, your algorithm will take forever to get there. For my example, I picked the alpha to be 0.001 To summarize, the steps are: Estimate θ Compute cost Tweak θ Repeat 2 and 3 until you reach convergence. Here’s my implementation for simple linear regression using gradient descent. I started