Processing math: 100%

Rylan Schaeffer

Logo
Resume
Research
Learning
Blog
Teaching
Jokes
Kernel Papers
Failures


“People have so many important things to communicate throughout their lives. They have so many things to talk about over a good beer.“

Loss Functions

Here, we denote the target random variable $y$

Mean Squared Error

LMSE(ˆy)=12R(yˆy)2p(y)dy

The value ˆy that minimizes MSE is the expected value of y:

\[\begin{align*} 0 &= \partial_{\hat{y}} MSE(\hat{y})\\ &= \frac{1}{2}\int_{\mathbb{R} 2(y-\hat{y})(-1) p(y) dy\\ &= \int_{\mathbb{R} -y p(y) dy + \hat{y} \int_{\mathbb{R} p(y) dy\\ \hat{y} &= \mathbb{E}_y[y] \end{align*}\]

Mean Absolute Error

LMAE(ˆy)=R|yˆy|p(y)dy

Quantile Regression Loss

Expectile Regression Loss