Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.LNX.4.61.0510111106530.15465@gannet.stats>
Date: 2005-10-11T10:14:15Z
From: Brian Ripley
Subject: knn
In-Reply-To: <20051011081040.23909.qmail@web32915.mail.mud.yahoo.com>

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 at 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