Quadratic classifiers

A quadratic classifier is used in machine learning and statistical classification to separate measurements of two or more classes of objects or events by a quadric surface. It is a more general version of the linear classifier.

Quadratic classifier

From Wikipedia, the free encyclopedia
 

quadratic classifier is used in machine learning and statistical classification to separate measurements of two or more classes of objects or events by a quadric surface. It is a more general version of the linear classifier.

 

The classification problem[edit]

Statistical classification considers a set of vectors of observations x of an object or event, each of which has a known typey. This set is referred to as the training 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, soy will be decided based on

 \mathbf{x^T A x} + \mathbf{b^T x} + c

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 a line, a circle or ellipse, a parabola or a hyperbola). In this sense we can state that a quadratic model is a generalization of the linear model, and its use is justified by the desire to extend the classifier's ability to represent more complex separating surfaces.

Quadratic discriminant analysis[edit]

Quadratic discriminant analysis (QDA) is closely related to linear discriminant analysis (LDA), where it is assumed that the measurements from each class are normally distributed. Unlike LDA however, in QDA there is no assumption that thecovariance of each of the classes is identical. When the normality 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 there are only two groups, (so  y \in \{0,1 \} ), and the means of each class are defined to be  \mu_{y=0},\mu_{y=1}  and the covariances are defined as  \Sigma_{y=0}, \Sigma_{y=1} . Then the likelihood ratio will be given by

Likelihood ratio =  \frac{ \sqrt{2 \pi |\Sigma_{y=1}|}^{-1} \exp \left( -\frac{1}{2}(x-\mu_{y=1})^T \Sigma_{y=1}^{-1} (x-\mu_{y=1}) \right) }{ \sqrt{2 \pi |\Sigma_{y=0}|}^{-1} \exp \left( -\frac{1}{2}(x-\mu_{y=0})^T \Sigma_{y=0}^{-1} (x-\mu_{y=0}) \right)} < t

for some threshold t. After some rearrangement, it can be shown that the resulting separating surface between the classes is a quadratic. The sample estimates of the mean vector and variance-covariance matrices will substitute the population quantities in this formula.

Other quadratic classifiers[edit]

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 of individual measurements. For instance, the vector

 [x_1, \; x_2, \; x_3]

would become

 [x_1, \; x_2, \; x_3, \; x_1^2, \; x_1x_2, \; x_1 x_3, \; x_2^2, \; x_2x_3, \; x_3^2] .

Finding a quadratic classifier for the original measurements would then become the same as finding a linear classifier based on the expanded measurement vector. This observation has been used in extending neural network models;[1] the "circular" case, which corresponds to introducing only the sum of pure quadratic terms  \; x_1^2 + x_2^2 + x_3^2  \;\ldots  \; with no mixed products ( \; x_1^2 x_2^2, \; x_1^2 x_3^2  \; \ldots  \; ), has been proven to be the optimal compromise between extending the classifier's representation power and controlling the risk of overfitting (Vapnik-Chervonenkis dimension).[2]

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 the support vector machine.

References[edit]

  1. Jump up^ Cover TM (1965). "Geometrical and Statistical Properties of Systems of Linear Inequalities with Applications in Pattern Recognition". IEEE Transactions on Electronic Computers. EC-14 (3): 326–334. Unknown parameter|http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber= ignored (help)
  2. Jump up^ Ridella S, Rovetta S, Zunino R. (1997). "Circular backpropagation networks for classification". IEEE Transactions on Neural Networks 8 (1): 84–97. doi:10.1109/72.554194PMID 18255613. Unknown parameter |href= ignored (help)
RELATED ARTICLESExplain
Machine Learning Methods & Algorithms
Supervised learning
Statistical classification
Quadratic classifiers
Analysis of variance (ANOVA)
Hidden Markov model (HMM)
Linear classifiers
Graph of this discussion
Enter the title of your article


Enter a short (max 500 characters) summation of your article
Enter the main body of your article
Lock
+Comments (0)
+Citations (0)
+About
Enter comment

Select article text to quote
welcome text

First name   Last name 

Email

Skip