As the first step in the decommissioning of the site has been converted to read-only mode.

Here are some tips for How to share your SAS knowledge with your professional network.

Tips:K Nearest Neighbor in SAS

From sasCommunity
Jump to: navigation, search

K-Nearest-Neighbor, aka KNN, is a widely-used data mining tool and is often called a memory-based/case-based/instance-based method as no model is fit. A good introduction to KNN can be found at [1].

You can use KNN in SAS by invoking two procedures: PROC LOESS or PROC DISCRIM.


[1] Trevor Hastie, Robert Tibshirani, Jerome Friedman, "Elements of Statistical Learning", Ed.2, Springer, 2008;

Submitted by Liang Xie. Contact me at my Discussion Page.

....see also

....see also more