필터 지우기
필터 지우기

What is Matlab doing when training a K-NN classifier?

조회 수: 3 (최근 30일)
Moritz Hesse
Moritz Hesse 2019년 3월 20일
답변: Rohan Amarapurkar 2019년 3월 28일
I am currently using the Classification Learner GUI to make a K-NN classifier model. Training (training data size: 800,000x52), is seemingly taking forever. I am wondering, what is Matlab doing while training? Since K-NN uses lazy learning, I thought there is no training required? So, why is it taking so long to "train"?
If this "training phase" is actually used to test unseen data to evalutate the model accuracy, is there any way to get more verbose output to see progress instead of just a indeterminate progress bar?

채택된 답변

Rohan Amarapurkar
Rohan Amarapurkar 2019년 3월 28일
The training time might depend on the type of validation that you are using. If you are using k-fold validation, and the k is large it is likely that the model will take longer to train. The training phase uses the validation data (taken from the training dataset) to evaluate the accuracy of the model.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Classification에 대해 자세히 알아보기

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by