Skip to content

Classification

A machine learning task: assigning an object to one of the predefined categories. The answer is a class label, not a number.

Examples

  • email → spam or not spam;
  • review → positive or negative;
  • image → cat or dog.

Types

  • binary — two classes;
  • multiclass — several classes;
  • multilabel — an object can belong to several classes simultaneously.

How to Evaluate

Metrics include accuracy, precision, recall, F1 and the confusion matrix.

See Also

← All terms