knn classification with .mat file

1 次查看(过去 30 天)
SATISH KUMAR
SATISH KUMAR 2016-3-22
hi, i am facing a simple probem that is , how to pass the .mat file in to the knnclassify() as i got the three mat file of training and three for testing. the size of training .mat file is 10x5 and testing is 5x5. this means for train i used 10images with 5features and for testing 5 images with 5 features. if i say total is for training 50 features and for testing 25 features. now i want to classify and find identification result using knn and if possible svm also. pls help me in this regard. thanks in advance.

回答(0 个)

类别

Help CenterFile 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!

Translated by