Nepedia
Back to Discover
Developing Reader
🔢

Loss function

math Maturity 11-13 Next article →

Sometimes we make a mistake. We can use math to see how big it is. This math tool is called a loss function.

Comparison of loss functions
Comparison of loss functions

It shows the cost of being wrong. A small mistake has a small cost. A big mistake has a big cost.

In some cases, we want to find the best choice. We try to make the loss as small as possible.

Fitting a straight line to a data with outliers
Fitting a straight line to a data with outliers

In money math, it shows a loss of cash. In other work, it shows a penalty. It helps us learn to do better next time.

89 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (2)
File:Comparison of loss functions.png
Comparison of loss functions.png
File:Fitting a straight line to a data with outliers.png
Fitting a straight line to a data with...
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.