Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Classification using SVM

Subject: Classification using SVM

From: Sitanshu

Date: 21 Mar, 2013 23:24:09

Message: 1 of 2

Hi

I am using MATLAB 'svmtrain' and 'svmclassify' in Bioinformatics toolbox to do a classification task. Everytime I run the code, I am getting different results (accuracy)eventhough I put the same sigma and boxconstraint parameters in svmtrain.
Can anybody suggest how to get a stable result?

thanks
Sitanshu

Subject: Classification using SVM

From: Alan_Weiss

Date: 22 Mar, 2013 11:49:52

Message: 2 of 2

On 3/21/2013 7:24 PM, Sitanshu wrote:
> Hi
> I am using MATLAB 'svmtrain' and 'svmclassify' in Bioinformatics
> toolbox to do a classification task. Everytime I run the code, I am
> getting different results (accuracy)eventhough I put the same sigma
> and boxconstraint parameters in svmtrain.
> Can anybody suggest how to get a stable result?
>
> thanks
> Sitanshu

SVM is not a stochastic algorithm. Your different results can come from
data that is stochastic, or cross-validation that is stochastic.

Alan Weiss
MATLAB mathematical toolbox documentation

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us