ML&PR_10: Linear Regression in statistic view
-
date_range 14/01/2021 16:03 infosortMachine_Learning_n_Pattern_Recognitionlabelmlbishopstat
In this post, we discuss about Linear Regression in statistic view, thereby answer why we should use Mean Square Error as a loss function.
We suppose that target variable is given by a deterministic function with additive Gaussian noise :
where is a zero mean Gaussian random variable with precision . We can write:
Now consider a data set of inputs with corresponding target values . We have:
We wish to maximize , synonymous with maximize :
where
we must minimize - the MSE loss.
And we are done!
Reference:
- Pattern Recognition and Machine Learning | C.M. Bishop.