Difference between revisions of "Linear Methods"
Jump to navigation
Jump to search
| Line 5: | Line 5: | ||
<math> \displaystyle \textrm{MAE(}\textbf{X}\textit{,h}) = \dfrac{1}{m}\sum^m_{i=1} | h(\textbf{x}^{(i)} - y^{(i)} </math> | <math> \displaystyle \textrm{MAE(}\textbf{X}\textit{,h}) = \dfrac{1}{m}\sum^m_{i=1} | h(\textbf{x}^{(i)} - y^{(i)} </math> | ||
| − | RMSE gives the Euclidean norm, <math>\ell_2</math>. MAE gives the Manhattan norm, <math>\ell_1</math> | + | RMSE gives the Euclidean norm, <math>\ell_2</math>. MAE gives the Manhattan norm, <math>\ell_1</math>. A higher norm index overweights large values relative to small ones. This makes RMSE more sensitive to outliers than MAE. |
| + | |||
| + | <math>\norm\cdot\norm_2</math> | ||
Revision as of 14:49, 6 February 2021
Primary purpose is to minimize some error metric:
[math]\displaystyle{ \displaystyle \textrm{RMSE(}\textbf{X}\textit{,h}) = \sqrt{\dfrac{1}{m} \sum^m_{i=1}(h(\textbf{x}^{(i)} - y^{(i)})^2} }[/math]
[math]\displaystyle{ \displaystyle \textrm{MAE(}\textbf{X}\textit{,h}) = \dfrac{1}{m}\sum^m_{i=1} | h(\textbf{x}^{(i)} - y^{(i)} }[/math]
RMSE gives the Euclidean norm, [math]\displaystyle{ \ell_2 }[/math]. MAE gives the Manhattan norm, [math]\displaystyle{ \ell_1 }[/math]. A higher norm index overweights large values relative to small ones. This makes RMSE more sensitive to outliers than MAE.
[math]\displaystyle{ \norm\cdot\norm_2 }[/math]