[R] KNN

David L Carlson dcarlson at tamu.edu
Wed Feb 24 16:46:37 CET 2016


Your question is too vague. What do you know about R? What do you know about KNN? What have you tried so far? You need to teach yourself enough about R to ask a more specific question. To get started, read some of these:

Contributed Documentation (https://cran.r-project.org/other-docs.html)
* "Using R for Data Analysis and Graphics - Introduction, Examples and Commentary" by John Maindonald (https://cran.r-project.org/doc/contrib/usingR.pdf) 
* "R for Beginners" by Emmanuel Paradis 
  (https://cran.r-project.org/doc/contrib/Paradis-rdebuts_en.pdf)
* "Kickstarting R (version 1.6)" compiled by Jim Lemon
  (https://cran.r-project.org/doc/contrib/Lemon-kickstart/index.html)

Then some of these
* Data Mining Algorithms In R/Classification/kNN
  (https://en.wikibooks.org/wiki/Data_Mining_Algorithms_In_R/Classification/kNN)
* Machine Learning in R for beginners
  (https://www.datacamp.com/community/tutorials/machine-learning-in-r)
* Best way to learn kNN Algorithm using R Programming
  (http://www.analyticsvidhya.com/blog/2015/08/learning-concept-knn-algorithms-programming/)

-------------------------------------
David L Carlson
Department of Anthropology
Texas A&M University
College Station, TX 77840-4352


-----Original Message-----
From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Alnazer
Sent: Tuesday, February 23, 2016 2:03 PM
To: r-help at r-project.org
Subject: [R] KNN

How I can use majority guessing function to evaluate KNN, if I have data saved in CSV file

Alnazer Elbedairy

______________________________________________
R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.



More information about the R-help mailing list