What is the difference between the classification learner and fitcknn

조회 수: 1 (최근 30일)
Mr noobys
Mr noobys 2019년 6월 30일
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

답변 (0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by