October 2017
Beginner to intermediate
270 pages
7h
English
As with all machine learning techniques, the process of learning depends on a minimized loss function, which shows us how right or wrong we are when predicting an outcome, depending on the stage of learning we are in.
Let's define this cost function taking, for simplification a 2D regression, where we have a list of number tuples (x0, y0), (x1, y1) ... (xn, yn) and the values to find, which are β0 and β1. The least squares cost function in this case can be defined as follows:

Read now
Unlock full access