Re: [R] knn class probabilities

2008-10-01 Thread Max Kuhn
On Tue, Sep 30, 2008 at 8:06 PM, Mike Fugate <[EMAIL PROTECTED]> wrote: > Good Day, > > I'm using the knn function in the package class. With k set to 3, the > function returns proportions of 1/3, 0.5, 0.6, 2/3, 3/4, and 1.0 for the > test cases. I don't understand how with k set to 3 the proport

[R] knn class probabilities

2008-10-01 Thread Mike Fugate
Good Day, I'm using the knn function in the package class. With k set to 3, the function returns proportions of 1/3, 0.5, 0.6, 2/3, 3/4, and 1.0 for the test cases. I don't understand how with k set to 3 the proportions can be anything other than 1/3, 2/3, or 1.0 I've seen similar inco