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
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Stalin Samuel
2016-3-10
编辑:Stalin Samuel
2016-3-10
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!