Explaining supervised learning to a kid (or your boss)

Cassie Kozyrkov Cassie Kozyrkov
September 27, 2018 AI & Machine Learning

Ready to learn Machine Learning? Browse Machine Learning Training and Certification courses developed by industry thought leaders and Experfy in Harvard Innovation Lab.

Now that you know what machine learning is, let’s meet the easiest kind. My goal here is to get humans of all stripes and (almost) all ages comfy with its basic jargon: instance, label, feature, model, algorithm, and supervised learning.

Instances

Behold: four instances!

Instances are also called ‘examples’ or ‘observations.’

Data table

What do these examples look like when we put them in a table? Sticking with convention (because good manners are good), each row is an instance.

Isn’t data pretty? But what exactly are we looking at? Let’s start with two special columns: a unique ID and, because we’re lucky this time around, a label for each instance.

Labels

The label is the right answer. It’s what we’d like the computer to learn to output when we show it a photograph like this one, which is why some people prefer the term ‘target’, ‘output’, or ‘response’.

Features

What’s in the other columns? Pixel colors. Unlike you, the computer looks at images as numbers, not pretty lights. What you’re seeing is the red-green-blue values for the pixels, starting in the top left corner of the image and working our way down. Don’t believe me? Try entering the values from my data table into this RGB color wheel and see what colors it gives you. Want to know how to get the pixel values from a photo? Look over my shoulder at my code here.

You know what’s pretty cool? Every time you look at a digital photograph, that’s you analyzing data, making sense of something that’s stored as a bunch of numbers. No matter who you are, you’re already a data analyst. You rockstar, you!

You’re already a data analyst!

These pixel values are inputs that the computer will be learning from. I’m not a huge fan of the machine learning name for them (‘features’) because that word means all kinds of things in all kinds of disciplines. You might see people using other words instead: ‘inputs’, ‘variables’, or ‘predictors’.

Model and algorithm

Our features will form the basis of the model (that’s a fancy word for recipe) that the computer will use to go from pixel colors to labels.

But how? That’s the job of the machine learning algorithm. You can see how it works behind the scenes in my other article, but for now, let’s use an existing and awesome algorithm: your brain!

Supervised learning

I’d like you to be my machine learning system. Glance at the instances again and do some learning! What is this?

Classify this image using what you’ve learned from the examples above.

“Blorkle”? Yup. You’ve got this! What you just did was supervised learning, awesome! You’ve now experienced the easiest learning type there is. If you’re able to frame your problem as supervised learning, that’s a good idea. The others are harder… so let’s go meet one: unsupervised learning.

Summary: You’re dealing with supervised learning if the algorithm has the correct label handy for every instance. Later, it will use the model, or recipe, to label new instances, just like you did.

  • Experfy Insights

    Top articles, research, podcasts, webinars and more delivered to you monthly.

  • Cassie Kozyrkov

    Tags
    Artificial Intelligence
    © 2021, Experfy Inc. All rights reserved.
    Leave a Comment
    Next Post
    Word embeddings: exploration, explanation, and exploitation (with code in Python)

    Word embeddings: exploration, explanation, and exploitation (with code in Python)

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    More in AI & Machine Learning
    AI & Machine Learning,Future of Work
    AI’s Role in the Future of Work

    Artificial intelligence is shaping the future of work around the world in virtually every field. The role AI will play in employment in the years ahead is dynamic and collaborative. Rather than eliminating jobs altogether, AI will augment the capabilities and resources of employees and businesses, allowing them to do more with less. In more

    5 MINUTES READ Continue Reading »
    AI & Machine Learning
    How Can AI Help Improve Legal Services Delivery?

    Everybody is discussing Artificial Intelligence (AI) and machine learning, and some legal professionals are already leveraging these technological capabilities.  AI is not the future expectation; it is the present reality.  Aside from law, AI is widely used in various fields such as transportation and manufacturing, education, employment, defense, health care, business intelligence, robotics, and so

    5 MINUTES READ Continue Reading »
    AI & Machine Learning
    5 AI Applications Changing the Energy Industry

    The energy industry faces some significant challenges, but AI applications could help. Increasing demand, population expansion, and climate change necessitate creative solutions that could fundamentally alter how businesses generate and utilize electricity. Industry researchers looking for ways to solve these problems have turned to data and new data-processing technology. Artificial intelligence, in particular — and

    3 MINUTES READ Continue Reading »

    About Us

    Incubated in Harvard Innovation Lab, Experfy specializes in pipelining and deploying the world's best AI and engineering talent at breakneck speed, with exceptional focus on quality and compliance. Enterprises and governments also leverage our award-winning SaaS platform to build their own customized future of work solutions such as talent clouds.

    Join Us At

    Contact Us

    1700 West Park Drive, Suite 190
    Westborough, MA 01581

    Email: [email protected]

    Toll Free: (844) EXPERFY or
    (844) 397-3739

    © 2025, Experfy Inc. All rights reserved.