TechnologyThe BestieBeginner
Machine Learning Loss Functions, a free technology course on Tomo

Machine Learning Loss Functions

Learn how machine learning models measure their own mistakes. Master the essential formulae, worked calculations, and behavior of regression and classification loss functions for exams and coursework.

Like Duolingo, but for Machine Learning Loss Functions. Tomo turns the whole topic into a game you play five minutes a day, until it actually sticks.

22 levels across 3 sections, about 44 minutes end to end, roughly 9 days at five minutes a day. It moves through Scoring Numeric Predictions, Scoring Probabilities and Categories, and Optimization and Applied Problem Solving. It starts from scratch.

22 bite-size levelsAbout 5 minutes each

Free forever · No credit card · iPhone & Android

Lossy the Lemur, the guide who teaches the Machine Learning Loss Functions course
Machine Learning Loss Functions
with Lossy the Lemur
22
Levels
3
Sections
5
Min/day
What you'll learn

Key ideas in Machine Learning Loss Functions

  • A loss function evaluates model predictions against actual values and produces a single summary number
  • Loss is non-negative, where zero indicates perfect predictions and larger values reflect greater error
  • Machine learning models rely on a single numeric loss value rather than individual error lists to steer improvements
  • A residual is the raw difference between the actual target value and what the model predicted
  • Raw residuals can be positive or negative, so adding them directly lets overestimates and underestimates cancel each other out
  • Taking the absolute value ensures every miss counts as a positive penalty toward overall error
  • Mean Absolute Error calculates the average magnitude of prediction errors across all samples
  • Unlike squared error metrics, MAE preserves the target variable's original physical unit of measurement (such as minutes, dollars, or kilograms)
  • An MAE score translates directly to 'on average, predictions are off by this many units'
  • MAE applies a strictly linear penalty to model errors
  • Doubling the size of an individual prediction miss exactly doubles its contribution to the total MAE score
  • MAE does not disproportionately punish large outlier errors the way squared error does
  • Subtract predicted values from actual targets to find the raw difference for each sample
  • Take the absolute value of each difference to remove signs so errors don't cancel
  • Sum all positive differences together and divide by the total number of samples to find the mean
  • Squaring an error means doubling a mistake multiplies its penalty by four
Why not just Google it

You've tried the other tabs

Wikipedia

Thirty open tabs. Four facts you actually kept.

YouTube

You watched. You nodded. By Sunday it was gone.

ChatGPT

One answer, then back to scrolling.

Online courses

Eight weeks. You meant to finish. You didn't.

Tomo gives Machine Learning Loss Functions the Duolingo treatment: levels, streaks, and quick quizzes that test what you just learned. That game loop is what the tabs above never had, so it's the one you actually finish.

Try a question

Here's what playing it feels like

A real question from this course. Take your best guess.

Scoring Your Model's Guesses

If your model gets a loss score of zero, what does that tell you about its predictions?

Get it right to open this lesson and 21 more in the app.

Course map

How to learn Machine Learning Loss Functions, step by step

Go in order. 22 short levels across 3 sections, about 44 minutes in all, five minutes a day.

  1. 1

    Scoring Numeric Predictions

    • Measuring Residuals with Mean Absolute Error
    • Squaring Residuals with MSE and RMSE
    • Balancing Outlier Robustness with Huber Loss
  2. 2

    Scoring Probabilities and Categories

    • Binary Cross-Entropy and Log Loss
    • Categorical Cross-Entropy for Multiple Classes
    • Margin Separation and Hinge Loss
  3. 3

    Optimization and Applied Problem Solving

    • Loss Mechanics, Regularization, and Exam Selection

3 sections · 7 units · 22 levels. Built to play, not to enroll.

Questions

Questions about Machine Learning Loss Functions

  1. How do I learn Machine Learning Loss Functions?

    Go in order: start with Scoring Numeric Predictions, then Scoring Probabilities and Categories, then Optimization and Applied Problem Solving. On Tomo that's 22 short levels, about 44 minutes in all, played five minutes a day. Start free and play the first level in under a minute.

  2. Is there a Duolingo-style app for Machine Learning Loss Functions?

    Yes. Tomo works like Duolingo: short daily lessons, streaks and quick quizzes. Machine Learning Loss Functions is one of its free courses, and you can type any other topic to get a course of your own.

  3. Is the Machine Learning Loss Functions course free?

    Yes. Machine Learning Loss Functions is playable on Tomo's free plan, which doesn't expire. No credit card, no waitlist. Download the app and start your first lesson.

  4. How long does it take to learn Machine Learning Loss Functions?

    22 levels across 3 sections, about 44 minutes of play in total. It's built for five minutes a day, so you finish it a little at a time instead of all at once.

  5. Do I need any background to start Machine Learning Loss Functions?

    No. It's pitched at a beginner level, so it starts where you are and builds up. If you can tap a phone, you can start.

New

Tomo is in ChatGPT

Tomo is also a ChatGPT plugin: the same playable courses, built and played inside your chat.

Add Tomo to ChatGPT
How it's taught

You pick the voice

This course
The Bestie

Machine Learning Loss Functions is taught in the Bestie style: your friend who just gets it. Want a different feel? In the app you can spin up the same topic in any of Tomo's teaching styles. Same facts, totally different vibe.

Keep going

More Technology on Tomo

Building with Agentic AI course icon

Building with Agentic AI

Explain Like I'm 5

Move beyond simple chat and learn how to build AI systems that can use tools, plan complex tasks, and work autonomously to solve real-world problems.

20 levels40mBeginner
Robots and Digital Companions course icon

Robots and Digital Companions

Explain Like I'm 5

Bridge the gap between code and the physical world by building intelligent machines and responsive digital friends. Learn to program sensors, movement, and personality from the ground up.

71 levels2h 22mBeginner
JavaScript Context and Object-Oriented Patterns course icon

JavaScript Context and Object-Oriented Patterns

Storyteller

Master the most misunderstood keyword in JavaScript. Learn to control execution context, architect robust class hierarchies, and navigate the nuances of prototype-based inheritance.

55 levels1h 50mIntermediate
Tape Measure Mechanics and Layout course icon

Tape Measure Mechanics and Layout

Bestie

Move beyond rough cuts by unlocking the full mechanical and mathematical capabilities of the tape measure. Learn to eliminate zero-point errors, utilize hidden framing marks, and execute high-precision layout geometry.

17 levels34mIntermediate
Blow Moulding Process and Tooling course icon

Blow Moulding Process and Tooling

Professor

Step beyond basic plastics manufacturing into the operational mechanics of blow moulding. Master parison control, structural defect diagnosis, tooling geometry, and cycle optimization to produce high-tolerance hollow parts.

23 levels46mIntermediate
Data Structures and Algorithms course icon

Data Structures and Algorithms

Professor

Understand how computers organize information and solve tough problems with lightning speed. Learn through intuitive real-world analogies, step-by-step logic, and practical trade-offs.

87 levels2h 54mBeginner
Start free

Start Machine Learning Loss Functions today.

Download Tomo, search Machine Learning Loss Functions, and play your first lesson in under a minute.