Christian wrote:
and the implement
nearest neighbours classification myself if I needed it.
It should be pretty straightforward to implement.
Do you intend modify the code of the knn1() function by yourself?
No; if you understand what the nearest neighbours method does, it's not
very complicated to implement it from scratch (assuming that your dataset
is small enough that you don't have to worry too much about optimising
computing times). A bit of programming experience is required, though.
(It's not that I intend to do it right now, I suggest that you do it if
you can...)
Christian
thanks to everyone!
--
View this message in context:
http://r.789695.n4.nabble.com/cluster-analysis-and-supervised-classification-an-alternative-to-knn1-tp2231656p2233210.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
*** --- ***
Christian Hennig
University College London, Department of Statistical Science
Gower St., London WC1E 6BT, phone +44 207 679 1698
chr...@stats.ucl.ac.uk, www.homepages.ucl.ac.uk/~ucakche
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.