AI

What is machine learning and how does it work?

What machine learning is: how a model learns patterns from labelled examples instead of hand-written rules, how training and testing work, and where it is used.

  • 8 min read
  • 5 questions
  • +35 XP
Transcript

Machine Learning, explained by cats. Kitty wants to recognize tuna. Fresh tuna. versus Bad tuna. At first, Kitty writes rules. If shiny good. If smelly bad. But tuna is complicated. Rules break. So Kitty learns about Machine Learning. Instead of rules, Kitty shows the computer many examples.

These are Good tuna. and these are Bad tuna. The computer looks for patterns. Color. Shape. Smell. They're called features. Over time, it learns what good tuna looks like. Now when Kitty sees a new tuna, the computer makes a guess.

Good or bad. The more examples Kitty shows, the better it gets. That’s machine learning. Learning from data, not hard-coded rules. Used for recommendations, spam detection, image recognition, and cat-video algorithms. Machine learning isn’t magic. It’s math, data, and practice. Teach the model well, and Kitty gets better tuna.