![]() Volume 10, Issue 1 Articles Trott's Corner New Products New Publications Calendar News Bulletins New Resources Classifieds Download This Issue Editorial Policy Staff and Contributors Submissions Subscriptions Advertising Back Issues Contact Information |
A Flexible Implementation for Support Vector Machines
Regression Analysis with SVMsSo far we have considered SVMs as a tool for pattern recognition only. It is also possible to use the SVM framework for regression problems. Consider a function
We can adapt the SVM method to the regression setting by using a
where
Using this idea, the regression problem is transformed to a classification problem: any
The function RegressionSVMPlot provides convenient plotting of the resulting regression function. As with SVMPlot, the kernel type used is supplied as a parameter. Note how support vectors in this case are chosen as the data points that are furthest away from the regression line.
We can, of course, also obtain the analytical expression of the estimated regression function.
Two-Dimensional ExampleWe can use SVM regression with domains of any dimension (that is the main advantage). Here is a simple two-dimensional example.
Here is the regression function.
There are no specialized 3D plots for regression in the MathSVM package. Here is the usual Plot3D visualization.
|
||||||||
About Mathematica | Download Mathematica Player © 2006 Wolfram Media, Inc. All rights reserved. |