Inkhmer LogoInKhmerBuilding the digital future
  • About
  • Projects
  • Blog
  • Tools
  • Learn
  • Contact
KMខ្មែរENEnglish

InKhmer.com — a personal Khmer Digital Hub curated by our team. Tools, Cambodia resources, Khmer culture, and digital projects. Practical, approachable, and built for everyone.

Social

FacebookTelegram

Quick Links

  • About
  • Projects
  • Blog
  • Tools
  • Learn
  • Contact

Explore

  • What We Build
  • How We Build
  • Roadmap
  • Experiments
  • Sitemap

Subscribe to our newsletter

Get the latest updates about Cambodia, new tools, and exclusive content delivered to your inbox.

  • Terms of Service
  • Privacy Policy
  • Cookie Policy

© 2026 InKhmer. All rights reserved.

LearnDeep Learning and Computer VisionHow a network learns: loss and epochs

How a network learns: loss and epochs

Here we connect the ideas from Course 6 to neural networks. Loss is the number measuring how wrong the model is — training aims to push it down. One epoch means the network has seen every example once. Typically we train for tens or hundreds of epochs.

A network does not train on all data at once. It uses small batches (e.g. 32 images) and adjusts weights after each bundle — stochastic gradient descent, whose small jitters often help find better answers.

The curves to watch: while training, plot loss on train and on validation. Both falling — good. Train keeps falling while validation rises — the network is overfitting: stop and shrink it, or add data.

What to remember:

  • Loss = the error we want to shrink
  • Epoch = seeing all data once; batch = a small bundle at a time
  • The train/validation curves tell you when to stop

Sign in to start tracking from this lesson