Classification

Category: Foundations of ML/AI

A supervised learning task where the model predicts a discrete category or class label for each input.

Full Explanation

Classification is one of the most fundamental tasks in machine learning, where the goal is to assign input data to one of a finite set of predefined categories. Binary classification involves two classes (e.g., spam or not spam), while multi-class classification involves three or more classes (e.g., identifying animal species). Multi-label classification allows assigning multiple labels to a single input. Common classification algorithms include logistic regression, decision trees, random forests, SVMs, and neural networks. The model outputs either a class label or a probability distribution over classes. Classification is used extensively in image recognition, sentiment analysis, medical diagnosis, fraud detection, and many other applications. Performance is typically measured using accuracy, precision, recall, F1 score, and AUC-ROC.

Related Terms

More in Foundations of ML/AI

Explore More