The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: How can I train SVM in Matlab, with svmtrain command, but for
more then 2 groups??

Replies: 1   Last Post: Jan 15, 2013 7:48 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Alan Weiss

Posts: 1,430
Registered: 11/27/08
Re: How can I train SVM in Matlab, with svmtrain command, but for
more then 2 groups??

Posted: Jan 15, 2013 7:48 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 1/15/2013 2:22 AM, wrote:
> On Thursday, December 17, 2009 10:32:31 PM UTC+5:30, Eizo wrote:
>> Hi
>> I was playing with the option to implement SVM in my OCR algorithm,
>> but when checking the SVM that Matlab has to offer I saw that it can
>> support only 2 groups training and classification ?
>> Am I am missing something ?
>> I was using the svmtrain command, and tried to train it for 3 groups
>> (e.g. three characters.) and I got the error saying that svm train
>> support only two groups...
>> Am I am missing something in the SVM implementation ? or it is really
>> that Matlab support only two groups, and when you want to implement
>> something bigger then that, like ocr for 10 characters (e.g. 10
>> groups) , matlab doesn't support that (at least in it's ready made
>> tool box).
>> Thanks
>> O

Currently, SVM supports only binary (two-group) classification. However,
there are other Statistics Toolbox functions that support that support
multiple classes, such as discriminant analysis
classification trees
nearest neighbor
and ensemble methods

Alan Weiss
MATLAB mathematical toolbox documentation

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.