Similar to how an older sister turns right into a dramatic courtroom lawyer when proving us unsuitable over a foolish math mistake, the LOSS operate ruthlessly reveals how hopelessly unsuitable our Machine Studying mannequin’s predictions might be.
I created a Linear Regression Model with a take a look at Home Worth Prediction dataset and produced a finest match line with equation
Worth = 109.12 * Space − 9296
y = 109.12 * x − 9296
Now, in determine 1 we will see the anticipated values and the precise values aren’t similar.
The distinction between the anticipated worth and precise worth known as LOSS.
The under graph (Determine 2) is the visible illustration of the loss.
The loss in Determine 2 seems considerably much less and appears to be a mannequin that we will belief on.
However this isn’t the case each time. There might be fashions that wants extra coaching, and LOSS comes into image for us to determine.