Group Abstract Group Abstract

Message Boards Message Boards

0
|
5.9K Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

How to define k in kNN, NearestNeighbors

Posted 11 years ago
POSTED BY: marc meesens
Posted 11 years ago

OK, just found it,

c = Classify[trainingset, Method->{"NearestNeighbors", "NeighborsNumber"->1}]

cheers, marc

POSTED BY: marc meesens
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard