Loss Functions
Twenty-five contaminating values pulled the squared-error fit from 99.73 to 142.60, while absolute error stayed at 100.02 and Huber at 100.21.
Twenty-five contaminating values pulled the squared-error fit from 99.73 to 142.60, while absolute error stayed at 100.02 and Huber at 100.21.
The loss function is the only place where you tell a network what “better” means. Choose it deliberately.
The loss function decides what a model estimates and how it treats large errors; decisions and costs come after.