The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

"Regarding KNN performance"

varunm1varunm1 Member Posts: 1,207 Unicorn
edited May 2019 in Help
Hello,

I am applying KNN with k=5. I split the data into two parts. One part is used in cross-validation and other is used to get the model from Cross-validation for testing. 

I see that the Cross-validation performance is 0.619 (AUC) and for the test data set I separated its 0.812.

Is this because Cross-validation performance can be lower if some folds don't perform well?

Also, I learned that KNN is basically not a learning algorithm. which means it doesn't learn much from training but just uses the parameters to classify. Can this be the reason?

Thanks,
Varun
Regards,
Varun
https://www.varunmandalapu.com/

Be Safe. Follow precautions and Maintain Social Distancing

Best Answer

Answers

Sign In or Register to comment.