Machine Learning, Artificial Intelligence, Statistics, Data Science, Towards Data Science.
choose the second one and call it loss function. Loss function(-loglikelihood) This loss function is exactly same with the least squares error function. So we statistically explained linear regression and this will be very helpful in upcoming models. MAP solution The solution above is called