can we use knn classifier as a binary classifier? If it is possible then please tell me how to pass training data to train classifier in matlab R2013a
1 view (last 30 days)
Show older comments
I want to implement knn classifier as a binary classifier. I have training data matrix please tell me how to pass those matrix to classifier. also tell me what are the exact parameters those are necessary to pass to knn classifier. give me related code for the same. I have training data consisting of the features of knn MRI image and i need to pass those feature to train the classifier. also i have result matrix showing crtilage part of the knee. is ts required to pass the feature matrix along with result matrix to train knn classifier.
0 Comments
Answers (1)
Stalin Samuel
on 10 Mar 2016
Edited: Stalin Samuel
on 10 Mar 2016
I am not sure about matrix as a input of K-NN classifier. I used vector as a input of K-NN .I am wondering that how do you rank the training set by calculating square distances(Since input is a matrix)
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!