Extracting data from classifier objects
Afficher commentaires plus anciens
I am using MATLAB's kNN classifier and would like to extract a list of distances from each grid-point to its k Nearest Neighbors (or something along the lines of this). I have looked through the properties/methods of the resulting classifier object that comes from using fitcknn() but cannot find this data. I do not know if this data is stored; I would like to use this data elsewhere and if fitcknn() already calculates these distances it would be more efficient to extract it.
Thank you!
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Nearest Neighbors dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!