Jeff Reichman re|chm@nj @end|ng |rom @bcg|ob@|@net
Thu Jun 21 18:46:54 CEST 2018


I figured out where I went wrong.  But thank you for the response


-----Original Message-----
From: David L Carlson <dcarlson using tamu.edu> 
Sent: Thursday, June 21, 2018 11:43 AM
To: reichmanj using sbcglobal.net; R-help using r-project.org
Subject: RE: [R] KNN

It depends on what you are trying to do and what kind of data you are using
If you are using Euclidian distance and your variables have different means
and standard deviations, the answer is probably yes. That will weight each
variable equally. Without standardization the variables with the larger
magnitudes will determine the groups more than the variables with the
smaller magnitudes.

David L. Carlson
Department of Anthropology
Texas A&M University

-----Original Message-----
From: R-help [mailto:r-help-bounces using r-project.org] On Behalf Of Jeff
Sent: Thursday, June 21, 2018 11:36 AM
To: R-help using r-project.org
Subject: [R] KNN



Does one need to normalize ones data is using the knn function within the
caret Library.



	[[alternative HTML version deleted]]

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