Re: [R] knn

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Tue 11 Oct 2005 - 20:14:15 EST

Please do read the posting guide and supply a reproducible example as it asks. Here it matters critically what you mean by `fix l' (to what value?).

Is this knn in package class? Have you read the help page? Have you read the references (especially the first)?

On Tue, 11 Oct 2005, Haleh Yasrebi wrote:

> Why do I get doubt (NA) in the factor of test
> classification even if I fix l (minimum vote)? By
> setting l, no doubt should be occurred.

That is completely opposite to what the help page for knn in package class says happens, so why do you think so?

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Tue Oct 11 20:22:33 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 18:39:39 EST