What is the difference between the classification learner and fitcknn
Show older comments
hi guys !
right now im working on pcg classification.
for the classification i use 2 method,which is the classification learner toolbox and fitcknn in command window.
im using the same 10fold cross validation,neighbor number, and euclidean distance
but the accuracy of the 2 method is different
-the classification learner give 99,6% accuration
-the fitcknn in command window give 99,8% accuration
so why is the accuracy different even though im using exactly the same data & parameter?
thank yoou
Answers (0)
Categories
Find more on Nearest Neighbors 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!