Loss Function

Domain: AI Fundamentals

🎯 Motivation

Measures how wrong the predictions are. Training tries to make this number as small as possible.

📋 Concrete Example

Mean squared error: average of (prediction - true value) squared across examples.

🔗 Analogy

Like a scoreboard that shows your mistakes - the lower the score, the better you are doing.