menu

ML&PR_10: Linear Regression in statistic view

mlpr1x

  • 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.