Maybe you should show your colleague how to access help pages in R? Right
in ?knn, it says:
prob: If this is true, the proportion of the votes for the winning
class are returned as attribute 'prob'.
so 1.0 mean all three NNs are of the `winning'; i.e., predicted, class, and
Hi,
-Original Message-
From: Liaw, Andy [mailto:[EMAIL PROTECTED]
Maybe you should show your colleague how to access help pages
in R? Right
in ?knn, it says:
prob: If this is true, the proportion of the votes for the
winning
class are returned as attribute 'prob'.
Hi,
[I'm posting this on behalf of a colleague -- as I don't know knn myself...]
How to interpret the knn() results?
Tried the example codes in the documentation:
data(iris3)
train - rbind(iris3[1:25,,1], iris3[1:25,,2], iris3[1:25,,3])
test - rbind(iris3[26:50,,1],