- Quadratic classifier
A quadratic classifier is used in
machine learning to separate measurements of two or more classes of objects or events by aquadric surface. It is a more general version of thelinear classifier .The classification problem
Statistical classification considers a set of vectors of observations x of an object or event, each of which has a known type "y". This set is referred to as thetraining set . The problem is then to determine for a given new observation vector, what the best class should be. For a quadratic classifier, the correct solution is assumed to be quadratic in the measurements, so "y" will be decided based on:
In the special case where each observation consists of two measurements, this means that the surfaces separating the classes will be
conic sections ("i.e." either aline , acircle orellipse , aparabola or ahyperbola ).Quadratic discriminant analysis
Quadratic discriminant analysis (QDA) is closely related to
linear discriminant analysis (LDA), where it is assumed that there are only two classes of points (so ), and that the measurements are normally distributed. Unlike LDA however, in QDA there is no assumption that thecovariance of each of the classes is identical. When the assumption is true, the best possible test for the hypothesis that a given measurement is from a given class is the likelihood ratio test. Suppose the means of each class are known to be and the covariances . Then the likelihood ratio will be given by:Likelihood ratio =
for some threshold t. After some rearrangement, it can be shown that the resulting separating surface between the classes is a quadratic.
Other quadratic classifiers
While QDA is the most commonly used method for obtaining a classifier, other methods are also possible. One such method is to create a longer measurement vector from the old one by adding all pairwise products ofindividual measurements. For instance, the vector
:
would become
:.
Finding a quadratic classifier for the original measurements would then become the same as finding a linear classifier based on the expanded measurement vector. For linear classifiers based only on dot products, these expanded measurements do not have to be actually computed, since the dot product in the higher dimensional space is simply related to that in the original space. This is an example of the so-called
kernel trick , which can be applied to linear discriminant analysis, as well as thesupport vector machine .
Wikimedia Foundation. 2010.