词条 | Kernel method |
释义 |
In machine learning, kernel methods are a class of algorithms for pattern analysis, whose best known member is the support vector machine (SVM). The general task of pattern analysis is to find and study general types of relations (for example clusters, rankings, principal components, correlations, classifications) in datasets. In its simplest form, the kernel trick means transforming data into another dimension that has a clear dividing margin between classes of data.[1] For many algorithms that solve these tasks, the data in raw representation have to be explicitly transformed into feature vector representations via a user-specified feature map: in contrast, kernel methods require only a user-specified kernel, i.e., a similarity function over pairs of data points in raw representation. Kernel methods owe their name to the use of kernel functions, which enable them to operate in a high-dimensional, implicit feature space without ever computing the coordinates of the data in that space, but rather by simply computing the inner products between the images of all pairs of data in the feature space. This operation is often computationally cheaper than the explicit computation of the coordinates. This approach is called the "kernel trick"[2]. Kernel functions have been introduced for sequence data, graphs, text, images, as well as vectors. Algorithms capable of operating with kernels include the kernel perceptron, support vector machines (SVM), Gaussian processes, principal components analysis (PCA), canonical correlation analysis, ridge regression, spectral clustering, linear adaptive filters and many others. Any linear model can be turned into a non-linear model by applying the kernel trick to the model: replacing its features (predictors) by a kernel function[3]. Most kernel algorithms are based on convex optimization or eigenproblems and are statistically well-founded. Typically, their statistical properties are analyzed using statistical learning theory (for example, using Rademacher complexity). Motivation and informal explanationKernel methods can be thought of as instance-based learners: rather than learning some fixed set of parameters corresponding to the features of their inputs, they instead "remember" the -th training example and learn for it a corresponding weight . Prediction for unlabeled inputs, i.e., those not in the training set, is treated by the application of a similarity function , called a kernel, between the unlabeled input and each of the training inputs . For instance, a kernelized binary classifier typically computes a weighted sum of similarities , where
Kernel classifiers were described as early as the 1960s, with the invention of the kernel perceptron.[4] They rose to great prominence with the popularity of the support vector machine (SVM) in the 1990s, when the SVM was found to be competitive with neural networks on tasks such as handwriting recognition. Mathematics: the kernel trickThe kernel trick avoids the explicit mapping that is needed to get linear learning algorithms to learn a nonlinear function or decision boundary. For all and in the input space , certain functions can be expressed as an inner product in another space . The function is often referred to as a kernel or a kernel function. The word "kernel" is used in mathematics to denote a weighting function for a weighted sum or integral. Certain problems in machine learning have additional structure than an arbitrary weighting function . The computation is made much simpler if the kernel can be written in the form of a "feature map" which satisfies The key restriction is that must be a proper inner product. On the other hand, an explicit representation for is not necessary, as long as is an inner product space. The alternative follows from Mercer's theorem: an implicitly defined function exists whenever the space can be equipped with a suitable measure ensuring the function satisfies Mercer's condition. Mercer's theorem is similar to a generalization of the result from linear algebra that associates an inner product to any positive-definite matrix. In fact, Mercer's condition can be reduced to this simpler case. If we choose as our measure the counting measure for all , which counts the number of points inside the set , then the integral in Mercer's theorem reduces to a summation If this summation holds for all finite sequences of points in and all choices of real-valued coefficients (cf. positive definite kernel), then the function satisfies Mercer's condition. Some algorithms that depend on arbitrary relationships in the native space would, in fact, have a linear interpretation in a different setting: the range space of . The linear interpretation gives us insight about the algorithm. Furthermore, there is often no need to compute directly during computation, as is the case with support vector machines. Some cite this running time shortcut as the primary benefit. Researchers also use it to justify the meanings and properties of existing algorithms. Theoretically, a Gram matrix with respect to (sometimes also called a "kernel matrix"[5]), where , must be positive semi-definite (PSD).[6] Empirically, for machine learning heuristics, choices of a function that do not satisfy Mercer's condition may still perform reasonably if at least approximates the intuitive idea of similarity.[7] Regardless of whether is a Mercer kernel, may still be referred to as a "kernel". If the kernel function is also a covariance function as used in Gaussian processes, then the Gram matrix can also be called a covariance matrix.[8] ApplicationsApplication areas of kernel methods are diverse and include geostatistics,[9] kriging, inverse distance weighting, 3D reconstruction, bioinformatics, chemoinformatics, information extraction and handwriting recognition. Popular kernels
See also
ReferencesCitations1. ^{{Cite web|url=https://deepai.org/machine-learning-glossary-and-terms/support-vector-machine|title=The Kernel Trick|last=|first=|date=|website=deepai.org|archive-url=|archive-date=|dead-url=|access-date=}} 2. ^{{Cite book|title=Pattern Recognition|last=Theodoridis|first=Sergios|publisher=Elsevier B.V.|year=2008|isbn=9780080949123|location=|pages=203}} 3. ^{{Cite book|url=https://books.google.de/books?id=TP3fDAAAQBAJ&pg=PA18&lpg=PA18&dq=Any+linear+model+can+be+turned+into+a+non-linear+model+by+applying+the+kernel+trick+to+the+model:+replacing+its+features+(predictors)+by+a+kernel+function&source=bl&ots=WNxgOfOObJ&sig=xlE4QsJVc8of1f_6CK2Zyuvu6nk&hl=en&sa=X&ved=2ahUKEwjc7JSLur_eAhXNGuwKHXSODAEQ6AEwB3oECAMQAQ#v=onepage&q=Any%20linear%20model%20can%20be%20turned%20into%20a%20non-linear%20model%20by%20applying%20the%20kernel%20trick%20to%20the%20model:%20replacing%20its%20features%20(predictors)%20by%20a%20kernel%20function&f=false (p. 18)|title=Machine Learning in Java|last=Kaluza|first=Bostjan|date=2016-04-29|publisher=Packt Publishing Ltd|year=|isbn=9781784390365|location=|pages=|language=en}} 4. ^{{cite journal |last1=Aizerman |first=M. A. |first2=Emmanuel M. | last2 = Braverman |first3=L. I. |last3=Rozoner |title=Theoretical foundations of the potential function method in pattern recognition learning |journal=Automation and Remote Control |volume=25 |year=1964 |pages=821–837}} Cited in {{Cite conference |last1=Guyon |first1=Isabelle |first2=B. |last2=Boser |first3=Vladimir |last3=Vapnik |title=Automatic capacity tuning of very large VC-dimension classifiers |conference=Advances in neural information processing systems |year=1993 |citeseerx = 10.1.1.17.7215}} 5. ^{{cite paper | first1 = Thomas | last1 = Hofmann | first2 = Bernhard | last2 = Scholkopf | first3 = Alexander J. | last3 = Smola | date = 2008 | title = Kernel Methods in Machine Learning |url=https://projecteuclid.org/download/pdfview_1/euclid.aos/1211819561}} 6. ^{{Cite Mehryar Afshin Ameet 2012}} 7. ^{{cite web|url=http://www.svms.org/mercer/|title=Support Vector Machines: Mercer's Condition|first=Martin|last=Sewell|date=|website=www.svms.org}} 8. ^{{cite paper | first1 = C. E. | last1 = Rasmussen | first2 = C. K. I. | last2 = Williams | date = 2006 | title = Gaussian Processes for Machine Learning }} 9. ^{{cite journal | last1 = Honarkhah | first1 = M. | last2 = Caers | first2 = J. | date = 2010 | doi = 10.1007/s11004-010-9276-7 | title = Stochastic Simulation of Patterns Using Distance-Based Pattern Modeling |journal=Mathematical Geosciences | volume = 42 | pages = 487–517 }} Sources{{refbegin}}
External links
3 : Kernel methods for machine learning|Geostatistics|Classification algorithms |
随便看 |
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。