Implementing-loss-function-in-Linear-Regression how to implementing loss function in Linear Regression you can follow my blog to see that.