In statistics and machine learning, classification is a type of statistical algorithm, which takes a feature representation of an object or concept and maps it to a classification label. Typically, a classification algorithm computes a posterior probability: the probability of a class label, given that the feature input was observed. (See supervised learning).