From: carl on 15 Apr 2010 03:16 Is there a matlab implementation that returns the k nearest neighbors instead of the class label for the majority class of the k nearest neighbors?
From: David Tian on 15 Apr 2010 04:46 Well, which toolbox did you use for knn? if you know the matlab code, you could change it to output neighbours. David "carl" <carl@.com> wrote in message <4bc6bd58$0$272$14726298(a)news.sunsite.dk>... > Is there a matlab implementation that returns the k nearest neighbors > instead of the class label for the majority class of the k nearest > neighbors?
From: Ting Su on 15 Apr 2010 10:34 Carl, The Statistics toolbox in MATLAB provides a few functions and classes performing KNN search. Please check: http://www.mathworks.com/access/helpdesk/help/toolbox/stats/knnsearch.html http://www.mathworks.com/access/helpdesk/help/toolbox/stats/exhaustivesearcherclass.html http://www.mathworks.com/access/helpdesk/help/toolbox/stats/kdtreesearcherclass.html -Ting Mathworks "carl" <carl@.com> wrote in message news:4bc6bd58$0$272$14726298(a)news.sunsite.dk... > Is there a matlab implementation that returns the k nearest neighbors > instead of the class label for the majority class of the k nearest > neighbors?
|
Pages: 1 Prev: gui Next: Callback function for changes of figure properties |