Re: [R] knn - random result although use.all=TRUE

2015-11-20 Thread David L Carlson
.org] On Behalf Of itziar irigoien Sent: Thursday, November 19, 2015 7:10 AM To: r-help@r-project.org Subject: [R] knn - random result although use.all=TRUE Dear all, I have this toy example to work with k-nn classification approach. (My data, code and results are at the end of the message) Wor

[R] knn - random result although use.all=TRUE

2015-11-19 Thread itziar irigoien
Dear all, I have this toy example to work with k-nn classification approach. (My data, code and results are at the end of the message) Working with knn function in library class and setting the parameter use.all=TRUE, I would not expect a random answer. Nevertheless I get a different answer ea