NEW
Supervised learning task that predicts discrete labels from input features.
DESCRIPTION
Classification maps feature vectors to categorical labels using supervised algorithms such as logistic regression, decision trees, random forests, SVMs, and neural networks. Performance is evaluated with accuracy, precision, recall, F1, ROC-AUC, and confusion matrices. Handling class imbalance, threshold selection, and calibration are critical for reliable decisions. Use cases include spam detection, fraud risk, medical diagnosis, and sentiment analysis. Pipelines encompass data preprocessing, modeling, validation, and deployment.
ALTERNATIVE DEFINITIONS
scikit-learn
Classification is the problem of identifying to which of a set of categories (subpopulations) a new observation belongs.
Defines classification as mapping observations to categories in supervised learning.
Google ML Crash Course
Classification is a supervised learning task that assigns a label to an example based on its features.
Highlights feature-based labeling in supervised settings.
Microsoft Learn
Classification models predict a discrete output (class) given input features and are evaluated with metrics such as accuracy, precision, and recall.
Couples classification with common evaluation metrics in practice.
RELATED TERMS
Logistic Regression Decision Tree Support Vector Machine Naive Bayes ROC Curve Precision-Recall Confusion Matrix Multiclass Feature Engineering
COMPETING TERMS
RELATIONS
- Narrower: Binary Classification Connectionist Temporal Classification Data Classification Image Classification Industry Classification International Standard Industrial Classification Multi-label Classification Multiclass Classification Node Classification Product Classification Text Classification
KNOWLEDGE AREAS
TARGET AUDIENCE
Data Scientist AI Engineer MLOps Engineer Data Analyst
EXTERNAL SOURCES
- Wikipedia - Statistical classification
- scikit-learn - User guide for classification
- Google - Intro to classification concepts
- Stanford CS229 - ML course notes and lectures
TOP QUESTIONS
What is Classification in machine learning?
It’s a supervised learning task that predicts discrete labels for inputs. Examples include spam detection and image recognition.
Category: Overview
How do you evaluate Classification performance?
Use metrics like accuracy, precision, recall, F1, ROC-AUC, and confusion matrices. Metric choice should reflect business costs and class imbalance.
Category: Requirements
What are common mistakes in Classification?
Ignoring class imbalance, overfitting with high-capacity models, and misinterpreting probability calibration are typical issues.
Category: Mistakes
What risks exist with Classification models?
Misclassification of rare but costly cases, biased decisions due to skewed data, and brittle thresholds can harm outcomes.
Category: Risk
How do thresholds affect Classification predictions?
Thresholds convert probabilities into classes, trading off precision and recall. Adjust per use-case and cost asymmetry.
Category: Example
What is a competing term to Classification?
Regression predicts continuous values instead of categories. Some problems can be framed either way depending on objectives.
Category: Alternatives
What’s a hot topic in Classification today?
Calibrated probabilities, cost-sensitive learning, and fairness-aware classification are prominent areas.
Category: Topic
How is Classification operationalized?
Pipelines encompass feature engineering, model training, validation, monitoring drift, and updating thresholds or models in production.
Category: Management
Where to start learning Classification?
Try scikit-learn’s documentation and Google’s ML Crash Course, then implement basic classifiers with cross-validation.
Category: Learning