Lably
Skip to content

Probabilistic classification

Machine learning problem

  • 3 min read
  • 5 chapters

Related on Lably

Through Machine learning, Probability distribution and Function (mathematics)

Types of classification

Formally, an "ordinary" classifier is some rule, or function, that assigns to a sample x a class label ŷ:

y^=f(x)

The samples come from some set X (e.g., the set of all documents, or the set of all images), while the class labels form a finite set Y defined prior to training.

Probabilistic classifiers generalize this notion of classifiers: instead of functions, they are conditional distributions Pr(Y|X), meaning that for a given x∈X, they assign probabilities to all y∈Y (and these probabilities sum to one). "Hard" classification can then be done using the optimal decision rule

y^=arg⁡maxy⁡Pr(Y=y|X)

or, in English, the predicted class is that which has the highest probability.

Binary probabilistic classifiers are also called binary regression models in statistics. In econometrics, probabilistic classification in general is called discrete choice.

Some classification models, such as naive Bayes, logistic regression and multilayer perceptrons (when trained under an appropriate loss function) are naturally probabilistic. Other models such as support vector machines are not, but methods exist to turn them into probabilistic classifiers.

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Statistics