can plz explain the source code in matlab
3 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
Image Analyst
2014-4-25
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.
0 个评论
更多回答(1 个)
Walter Roberson
2014-4-25
编辑:Walter Roberson
2014-4-25
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 个评论
Walter Roberson
2014-4-29
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!