Error in knnsearch when using Ionosphere dataset
조회 수: 1 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Classification에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!