Gives the error in the model based on the parameters (weights) and some labeled input data Topics 0-1 Loss Hinge Loss Surrogate Loss L(β0,β1)=n1i=1∑n[yi−(β1X+β0)2] Simple Linear Regression loss function L…