I am using the Classification Learner app to create a ClassificationKNN model. When classifying with this model, I would like to know which neighbors determined the classification (i.e. the nearest neighbors). How can I get this information?
MATLAB: How to retrieve nearest neighbor information from ClassificationKNN object
classificationknncreatensknnknnsearchStatistics and Machine Learning Toolbox
Best Answer