AI dictionary · Deep learning
What is Loss function?Loss function kya hai?
Also called: Cost function, objective
Loss function: A formula that measures how wrong the model's predictions are; training tries to make it small.Formula jo naapta hai model ki predictions kitni galat hain; training ise chhota karne ki koshish karti hai.
🧸 Think of it likeAise samjho
Like the 'how far off was I?' score after each guess. Training keeps adjusting to make that score smaller.Har guess ke baad 'kitna galat tha?' wala score. Training use chhota karne ke liye adjust karti rehti hai.
📘 ExplainedVistaar se
Regression often uses mean squared error; classification uses cross entropy. The loss must be differentiable so gradients can be computed. The loss you optimise isn't always the business metric you care about, so evaluate with both.Regression aksar mean squared error use karta hai; classification cross entropy. Loss differentiable hona chahiye taaki gradients nikal sakein. Jo loss optimise karte ho woh hamesha woh business metric nahi jiski parwah hai, isliye dono se evaluate karo.
💡 Real exampleAsli example
Predicting ₹48 lakh for a ₹50 lakh flat gives a small squared error loss.₹50 lakh ke flat ke liye ₹48 lakh predict karna chhota squared error loss deta hai.
📖 Learn it step by stepStep by step seekho
🔗 Related termsJude hue shabd
Questions people ask
What is Loss function?
A formula that measures how wrong the model's predictions are; training tries to make it small. Regression often uses mean squared error; classification uses cross entropy. The loss must be differentiable so gradients can be computed. The loss you optimise isn't always the business metric you care about, so evaluate with both.
How can I understand Loss function in simple words?
Like the 'how far off was I?' score after each guess. Training keeps adjusting to make that score smaller.
What is an example of Loss function?
Predicting ₹48 lakh for a ₹50 lakh flat gives a small squared error loss.
Loss function ka matlab kya hai?
Formula jo naapta hai model ki predictions kitni galat hain; training ise chhota karne ki koshish karti hai. Har guess ke baad 'kitna galat tha?' wala score. Training use chhota karne ke liye adjust karti rehti hai.
See Loss function in the full A to Z dictionary · Start a free AI course