can plz explain the source code in matlab

1 view (last 30 days)
how or on what basis selected the numerical values for matrix e.g. labels=[],features[] etc are created for image dataset to be used for multiclass svm in matlab

Accepted Answer

Image Analyst
Image Analyst on 25 Apr 2014
References are given in the documentation: http://www.mathworks.com/help/stats/svmclassify.html. You can read the papers to see how it's done in detail.

More Answers (1)

Walter Roberson
Walter Roberson on 25 Apr 2014
Edited: Walter Roberson on 25 Apr 2014
Mark all of the images with no skin at all (showing only background) as being group 1; mark all of the images that show skin but have no skin disease as being group 2; mark all of the images that show skin disease as being group 3. These are the values that you would put into your labels vector.
I am not familiar with texture analysis to be able to guide you about what feature vectors you should create.
  3 Comments
Sheema Khattak
Sheema Khattak on 26 Apr 2014
How would I specify that group 1=background,group 2 = no skin disease and group3=skin disease?
Walter Roberson
Walter Roberson on 29 Apr 2014
You just create a vector of numbers. e.g., if your first row of features corresponded to a picture with no skin disease, then the first entry in the vector would be 2.

Sign in to comment.

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!