[R] help with knn from class library

Martin Olivier martinol at ensam.inra.fr
Tue Aug 24 13:57:57 CEST 2004


Hi all,

I made some computations with the knn function from the class library.
If I execute this function several times (with the same parameters k, 
training set and test set), I obtain different results.
I don't understand why the results for my test set are different. Could 
you give me some explanations?
Is the solution for  a k-nearest-neighbor classifier  unique?

Best regards.




More information about the R-help mailing list