Extracting data from classifier objects
Mostra commenti meno recenti
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!
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Nearest Neighbors in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!