Error in knnsearch when using Ionosphere dataset
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi I am receiving the following error when trying to run the knnsearch function with the standard Ionosphere dataset. Could someone please help?
Error using ExhaustiveSearcher/setDistParameter (line 110) The Cov argument must be symmetric and positive definite.
Error in NeighborSearcher/set.DistParameter (line 71) this = setDistParameter(this, distPara);
Error in ExhaustiveSearcher (line 274) obj.DistParameter = nancov(X);
Error in createns (line 174) O = ExhaustiveSearcher(X,'distance', distMetric,...
Error in knnsearch (line 140) O=createns(X,args{:},'nsmethod', nsmethod,'bucketSize',bSize);
Error in MyPgm (line 37) [knn] = knnsearch(dataset, dataset, 'k', K, 'distance',distMeasure);
>>
Thanks in advance Deepa
1 commentaire
Réponses (0)
Voir également
Catégories
En savoir plus sur Classification dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!