One of the
Method options to
NearestNeighbors. To set up a NearestNeighbors-based classification (
nnclas) using the training set
tset, we would use
nnclas = Classify[tset, Method->"NearestNeighbors"];
I have two questions:-
- What is the default number of neighbors?
- Is there any control on the number of neighbors that are used?
Spelunk, while interesting, is not particularly illuminating.
I'm using 11.01.