Free courses in AI, Data Science & Machine Learning Written lessons · Quizzes · Final exams
Future Data Academy
Log inGet started ↗
← Machine Learning Foundations
FREE LESSON PREVIEW

Tasks, features and targets

Machine learning learns patterns from examples for a defined task. Features are inputs available when a prediction is needed; the target is the outcome. Regression predicts numeric values, classification predicts categories, and clustering groups observations without supplied target labels.

Predicting delivery time is regression; predicting urgent versus routine tickets is classification. Start with the decision a prediction supports and a simple baseline. A model is not automatically better than a rule, and its inputs must be available before the outcome occurs.

Try it yourself

Classify house-price prediction and spam detection, and identify a target for each.

Worked answer

Price is a numeric regression target; spam/non-spam is a classification target.

Explore the full course →