Skip to main content
AI EducademyAIEducademy
🌳

AI Foundations

🌱
AI Seeds

AI literacy for the real world

🌿
AI Sprouts

The foundations behind intelligent systems

🌳
AI Branches

Build with today’s AI capabilities

🏕️
AI Canopy

Engineer reliable GenAI systems

🌲
AI Forest

Ship AI products responsibly

🔨

AI Mastery

✏️
AI Sketch

Engineering foundations for AI builders

🪨
AI Chisel

Patterns for solving harder problems

⚒️
AI Craft

Design systems that scale AI

💎
AI Polish

Communicate and lead in the AI era

🏆
AI Masterpiece

Your production AI capstone

🚀

Career Ready

🚀
Interview Launchpad

Navigate the AI engineering job market

🌟
Behavioral Mastery

Tell the story of how you create impact

💻
Technical Interviews

Solve, design, and communicate under pressure

🤖
AI & ML Interviews

Prepare for modern ML and GenAI interviews

🏆
Offer & Beyond

Make a confident, informed next move

View All Programs→

Lab

7 experiments loaded
🧠Neural Network Playground🤖AI or Human?💬Prompt Lab🎨Image Generator😊Sentiment Analyzer💡Chatbot Builder⚖️Ethics Simulator
🎯Mock InterviewEnter the Lab→
JourneyBlog
🎯
About

Making AI education accessible to everyone, everywhere

❓
FAQ

Common questions answered

🧰
AI Tools

Curated tools we use and recommend

✉️
Contact

Get in touch with us

⭐
Open Source

Built in public on GitHub

Pricing
Get Started
AI EducademyAIEducademy

© 2026 AI Educademy. All rights reserved.

Learn

  • Academies
  • Lessons
  • Lab
  • AI Starter Kit
  • Pricing

Community

  • GitHub
  • Contribute
  • Code of Conduct
  • About
  • FAQ

Support

  • Buy Me a Coffee ☕
  • Terms of Service
  • Privacy Policy
  • Contact
  • Sitemap
AI & Engineering Academics›🌿 AI Sprouts›Lessons›Loss Functions and Optimisers - How AI Learns from Mistakes
📉
AI Sprouts • Intermediate⏱️ 15 min read

Loss Functions and Optimisers - How AI Learns from Mistakes

Public lesson preview

Discover how loss functions measure a model's errors and how optimisers use gradients to systematically reduce them.

Programme
AI Sprouts
Level
Intermediate
Reading time
15 min read

Learning objectives

By the end of this lesson, you will understand:

  • ✓What Is a Loss Function?
  • ✓Loss Functions for Regression - MSE
  • ✓Loss Functions for Classification - Cross-Entropy
  • ✓Gradient Descent - Rolling Downhill
  • ✓Flavours of Gradient Descent

Lesson outline

  1. What Is a Loss Function?
  2. Loss Functions for Regression - MSE
  3. Loss Functions for Classification - Cross-Entropy
  4. Gradient Descent - Rolling Downhill
  5. The Learning Rate Dilemma
  6. Flavours of Gradient Descent
  7. Batch Gradient Descent
  8. Stochastic Gradient Descent (SGD)
  9. Mini-Batch Gradient Descent
  10. Modern Optimisers
  11. SGD with Momentum
  12. AdaGrad
  13. Adam (Adaptive Moment Estimation)
  14. Learning Rate Schedules
  15. Gradient Clipping - Safety Rails
  16. Key Takeaways
  17. 📚 Further Reading

Introductory preview

Backpropagation gives us gradients - but gradients of what ? Before backprop can run, we need a single number that captures how wrong the model is. That number comes from a loss function . Once we have gradients, an optimiser decides how to update the weights. Together, they form the learning loop.

Continue Loss Functions and Optimisers - How AI Learns from Mistakes with Pro

Loss Functions and Optimisers - How AI Learns from Mistakes is part of AI Sprouts

Loss Functions and Optimisers - How AI Learns from Mistakes is part of AI Sprouts. Upgrade to unlock the full lesson, quizzes, progress tracking, and every academy.

All programs & tracks
Progress sync
Certificates
Try Pro free for 7 daysSign in first

Free for 7 days. Cancel anytime, no questions asked.