Skip to content
AWS Certified AI Practitioner (AIF-C01) Exam Prep

Lesson 5 of 34 · 6 min

x
5/34

Choosing an ML Technique: Regression, Classification, Clustering

Video lesson: AIF-C01 05/34: Choosing an ML Technique: Regression, Classification, Clustering

General background = standard ML.

The three core techniques

TechniqueOutputLearning typeExample
RegressionA number on a continuous scaleSupervisedHouse price, next month's sales, delivery time
ClassificationA category (binary or multi-class)SupervisedSpam / not spam, fraud / legitimate, sentiment
ClusteringGroups of similar items, no predefined labelsUnsupervisedCustomer segments, grouping documents

Related: anomaly detection (unsupervised; flag what is unusual), forecasting (regression over time-series), recommendation (predict what a user will like).

Real-world applications named in the guide (verified list)

ApplicationTypical AWS service
Computer visionAmazon Rekognition
NLPAmazon Comprehend
Speech recognitionAmazon Transcribe
Recommendation systemsAmazon Personalize
Fraud detectionA classification model, e.g. in SageMaker AI
ForecastingA regression / time-series model in SageMaker AI
Knowledge basesAmazon Bedrock Knowledge Bases (RAG)
Agentic AIAmazon Bedrock AgentCore

Service capabilities are in 06.

Exam traps

  • Classification for "predict the price". A price is a number: regression.
  • Clustering when labels exist. With known labels, use classification.
  • Regression for "approve or reject". That's a category: classification.

References

  1. AIF-C01 exam guide, Domain 1 — checked Oct 19, 2026

Check your understanding

  • Predict how many minutes a delivery will take?Show answer

    Answer

    Regression.
  • Group shoppers into segments with no predefined segments?Show answer

    Answer

    Clustering.
  • Decide whether a transaction is fraudulent?Show answer

    Answer

    Binary classification.
Previous

Progress is saved in this browser.

Next Lesson