Back to course

Supervised Learning

Supervised Learning

Supervised learning is where the algorithm learns from labeled training data — data where we already know the correct answer.

How It Works

Think of it like a teacher grading homework. The model sees examples with correct answers and learns to predict answers for new, unseen data.

Types

  • Classification: Predicting categories (e.g., spam/not spam, cat/dog)
  • Regression: Predicting continuous values (e.g., house prices, temperature)

Common Algorithms

  • Linear Regression: Finding the best straight line through data points
  • Decision Trees: Making decisions based on a series of questions
  • Random Forests: Combining many decision trees for better accuracy
  • Support Vector Machines: Finding the best boundary between categories

Sign in and enable JavaScript to track completion.