What is the loss function of the Gaussian maximum likelihood estimator in the classical linear regression model?
I see a question asking this, but it seems that we never mention loss function when talking about MLE...
What is the loss function of the Gaussian maximum likelihood estimator in the classical linear regression model?
I see a question asking this, but it seems that we never mention loss function when talking about MLE...
In Maximum Likelihood Estimation loss function used is always $-\log \text{P}(y)$ be it regression or not.
It is a proper and a local loss function. When used in the regression setting, the density $\text{P}(y)$ is replaced with the density conditional on $X$:
$-\log \text{P}(y | X)$.
When the model is Gaussian, such as in the basic linear regression setting, it coincides with Ordinary Least Squares (OLS) where squared error loss is used.
This is due to the $e^{-\frac{(y-\beta X)^2}{2\sigma^2}}$ structure in the Gaussian distribution. When taking $-\log$ of that expression, you end up with the squared loss term, as can clearly be observed.