July 2017
Beginner to intermediate
486 pages
13h 49m
English
Using the error function, we know whether we should update our line in order to generate the line of best fit or not, but how to update the line is what we are going to see in this section. How will we minimize this error and generate the line of best fit? So to answer this question, first of all, let's get some basic understanding about gradient descent and the coding part, where we are just left with our one last function, gradient_descent_runner(). Refer to Figure 9.23:

Read now
Unlock full access