ladderlore
  • Type a service name, like S3 or IAM.

Concept

Regression, classification and clustering

Pick the technique by the answer you want: a number, a category or groups.

What answer do you want?
Regression
Classification
Clustering
A numberA categoryGroups
The kind of answer picks the technique.
  • Regression

    Answers
    How much?
    Example
    House price
  • Classification

    Answers
    Which category?
    Example
    Spam or not spam
  • Clustering

    Answers
    Which items are alike?
    Example
    Customer segments
  • Forecasting

    Answers
    What next, over time?
    Example
    Next month’s demand
  • Recommendation

    Answers
    What will they like?
    Example
    Suggested movies
Techniques and use cases.

1 / 2

  • Regression

    Answers
    How much?
    Example
    House price
  • Classification

    Answers
    Which category?
    Example
    Spam or not spam
  • Clustering

    Answers
    Which items are alike?
    Example
    Customer segments

2 / 2

  • Forecasting

    Answers
    What next, over time?
    Example
    Next month’s demand
  • Recommendation

    Answers
    What will they like?
    Example
    Suggested movies
Techniques and use cases.

What it is

Regression predicts a number, such as a house price or next month’s sales. Classification predicts a category, such as spam or not spam, or which product type a photo shows. Both are supervised learning, so they need labeled data.

Clustering puts similar items into groups when you have no labels, such as customer segments. It is unsupervised learning.

Forecasting predicts future values from time-series data, so it is a regression-style task. Recommendation systems suggest items from what users did before, such as clicks and purchases.

Remember

  • Regression: the answer is a number.
  • Classification: the answer is a category.
  • Clustering: groups without labels.
  • Regression and classification are supervised. Clustering is unsupervised.
  • Forecasting predicts numbers over time.

Remember

  • Recommendations learn from user behavior.

On the exam

  • “Predict the price of a house” points to regression.
  • “Decide whether a message is spam” points to classification.
  • “Find customer segments with no predefined labels” points to clustering.