Classification
Definition
A supervised learning task where the model assigns input data to predefined categories or classes.In-Depth Explanation
Classification is one of the most common machine learning tasks. Binary classification involves two classes (spam/not spam), while multi-class classification has multiple categories. The model learns decision boundaries from labeled examples and predicts categories for new inputs. Common algorithms include logistic regression, decision trees, and neural networks.
Real-World Example
An email service classifying incoming messages as Primary, Social, Promotions, or Spam.