What are the most important Classification Methods in Machine Learning?¶
Classification is a supervised learning where the outputs belong to a discrete set of categories.
Here we include a brief summary of important classification methods and a summary chart comparing their results on a set of samples.
In logistic regression we assume that the probability of binary target is 1 is given by
In this case, the probablity of target being 0 will be
We define a cost function to be minimized as
Multinomial Logistic Regression (MLG) a.k.a. Conditional Maximum Entropy Model (CMEL) is multinomial verion where the problem is framed as many against a reference choice.
In K Neighbors method, the label of each observation is chosen as the mode of the k-nearest points in the training data.
Support Vector Machine (SVM)
Support vector machine constructs a number of hyper-planes in a high dimensional space separating the data. This is achieved by considering the function
Kernel Support Vector Machine (KSVM) applies the kernel trick to the input (i.e. a similarity function between the inputs replaces the inputs in the optimization).
In Discriminant Analysis we apply Bayes’s theorem such that
Here is assumed to follow a multivariate distribution and the parameters are chosen according to the discriminant rule (e.g. maximizing group population density).
Quadratic Discriminant Analysis (QDA) is the resulting generic problem while Linear Discriminant Analysis (LDA) is the special case that the covariance matrix for every class is assumed to be the same.
Naive Bayes (NB)
Naive bayes classification utilizes Bayes’ theorem together with the assumption of independence of the features to achieve a scalable classification method. In summary, the probability of an input belonging to each class is computed as
where feature independence implies
Finally a particular distribution is assumed for each and is often estimated via Maximum Liklihood Estimation (MLE). A common choice of distribution is Gaussian distribution.
Gaussian Process in classification is used via the application of Bayes’ theorem. Here we place a Gaussian Process prior over a latent function and then squash this through the logistic function to obtain a prior on .
In Decition Trees the feature space is recursively partitioned such that samples within same class are partitioned together. At every step a feature and a threshold are chosen such that the total impurity is minimized. Common measures of impurity include Gini, Entropy and Misclassification.
The Ensemble methods are used to combine the predictions of several classification methods to achieve better generalizability or robustness. In Averaging Ensemble methods such as Bagging and Forests, the results of several classification methods are averaged while in Boosting methods such as AdaBoost or Gradient Tree Boosting, several classification methods are applied sequentially.
The chart below demonstrates the results of various methods on a number of classification samples.