Ai Cheat Sheet

Search…

Statistics ↓↑

Probability ↓↑

Data Science ↓↑

Data Engineering ↓↑

Machine Learning ↓↑

Natural Language Processing ↓↑

Computer Vision ↓↑

Time Series

Reinforcement Learning

System Design

Interview Questions ↓↑

Contact

L1 and L2 Loss Function

L1 and L2 are two loss functions in machine learning which are used to minimize the error.

$L1LossFunction = \sum_{i=1}^n |y_{true}-y_{predicted}|$

$L2LossFunction = \sum_{i=1}^n (y_{true}-y_{predicted})^2$

What Are L1 and L2 Loss Functions?

after_academy

Last modified 1yr ago

Copy link