Azzera filtri
Azzera filtri

Error in knnsearch when using Ionosphere dataset

1 visualizzazione (ultimi 30 giorni)
Deepa T
Deepa T il 25 Giu 2017
Commentato: Walter Roberson il 25 Giu 2017
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

Risposte (0)

Categorie

Scopri di più su Curve Fitting Toolbox in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by