SVM Regression

1 view (last 30 days)
SK Pillai
SK Pillai on 4 Nov 2011
Commented: Royi Avital on 6 Aug 2015
Can you clarify why support vector machine regression is not included in MATLAB Tool box? However SVM Classification is included in Bioinformatics Toolbox. Is there any specific reason or disadvantage in using SVM for Regression? Advance Thanks.

Answers (3)

VladMel
VladMel on 17 Dec 2012
You can extent an output of svmclassify function by changing a line:
function outclass = svmclassify(svmStruct,sample, varargin)
to
function [outclass v]= svmclassify(svmStruct,sample, varargin)
and change a line(115):
classified = svmdecision(sample,svmStruct);
to
[classified v]= svmdecision(sample,svmStruct);
v - is regression value

Amith Kamath
Amith Kamath on 4 Nov 2011
I don't really know why MATLAB has not included it by default, and as far as I know, there is no disadvantage as such of using SVM for regression, just that there are other better known methods. SVM classification is much more popular, especially in the bioinformatics field and hence I suppose they have decided to have a native implementation. Nevertheless, you will find a very good implementation of SVM r in this toolbox:
  1 Comment
Royi Avital
Royi Avital on 6 Aug 2015
How do you use it for regression?

Sign in to comment.


Richard Willey
Richard Willey on 4 Nov 2011
The SVM implementation in Bioinformatics Toolbox does not support Support Vector Regression.
With this said and done, the boosted and bagged decision tree functions in Statistics Toolbox both support nonparametric regression and can be used to solve many of the same types of problems. Alternatively, if you have access to Neural Network Toolbox this is another obvious way to skin the cat...
I'd be very interested to know whether there are any specific problems where an SVM implementation generates better results than boosted or bagged decision trees.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!