Choosing an ML Technique: Regression, Classification, Clustering
General background = standard ML.
The three core techniques
| Technique | Output | Learning type | Example |
|---|---|---|---|
| Regression | A number on a continuous scale | Supervised | House price, next month's sales, delivery time |
| Classification | A category (binary or multi-class) | Supervised | Spam / not spam, fraud / legitimate, sentiment |
| Clustering | Groups of similar items, no predefined labels | Unsupervised | Customer 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)
| Application | Typical AWS service |
|---|---|
| Computer vision | Amazon Rekognition |
| NLP | Amazon Comprehend |
| Speech recognition | Amazon Transcribe |
| Recommendation systems | Amazon Personalize |
| Fraud detection | A classification model, e.g. in SageMaker AI |
| Forecasting | A regression / time-series model in SageMaker AI |
| Knowledge bases | Amazon Bedrock Knowledge Bases (RAG) |
| Agentic AI | Amazon 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
- AIF-C01 exam guide, Domain 1 — checked Oct 19, 2026
Check your understanding
Predict how many minutes a delivery will take?Show answerHide answer
Answer
Regression.Group shoppers into segments with no predefined segments?Show answerHide answer
Answer
Clustering.Decide whether a transaction is fraudulent?Show answerHide answer
Answer
Binary classification.