Other packages > Find by keyword >

snn  

Stabilized Nearest Neighbor Classifier
View on CRAN: Click here


Download and install snn package within the R console
Install from CRAN:
install.packages("snn")

Install from Github:
library("remotes")
install_github("cran/snn")

Install by package version:
library("remotes")
install_version("snn", "1.1")



Attach the package and use:
library("snn")
Maintained by
Wei Sun
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2015-07-28
Latest Update: 2015-08-23
Description:
Implement K-nearest neighbor classifier, weighted nearest neighbor classifier, bagged nearest neighbor classifier, optimal weighted nearest neighbor classifier and stabilized nearest neighbor classifier, and perform model selection via 5 fold cross-validation for them. This package also provides functions for computing the classification error and classification instability of a classification procedure.
How to cite:
Wei Sun (2015). snn: Stabilized Nearest Neighbor Classifier. R package version 1.1, https://cran.r-project.org/web/packages/snn. Accessed 18 Sep. 2026.
Previous versions and publish date:
(2026-07-09 07:05), 1.0 (2015-07-28 08:03)
Other packages that cited snn R package
View snn citation profile
Other R packages that snn depends, imports, suggests or enhances
Complete documentation for snn
Functions, R codes and Examples using the snn R package
Some associated functions: cv.tune . mybnn . mycis . mydata . myerror . myknn . myownn . mysnn . mywnn . snn-package . 
Some associated R codes: cv.tune.R . mybnn.R . mycis.R . mydata.R . myerror.R . myknn.R . myownn.R . mysnn.R . mywnn.R .  Full snn package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

eyelinker  
Import ASC Files from EyeLink Eye Trackers
Imports plain-text ASC data files from EyeLink eye trackers into (relatively) tidy data frames for ...
Download / Learn more Package Citations See dependency  
downlit  
Syntax Highlighting and Automatic Linking
Syntax highlighting of R code, specifically designed for the needs of 'RMarkdown' packages like 'pk ...
Download / Learn more Package Citations See dependency  
injectoR  
R Dependency Injection
R dependency injection framework. Dependency injection allows a program design to follow the depend ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
hmeasure  
The H-Measure and Other Scalar Classification Performance Metrics
Classification performance metrics that are derived from the ROC curve of a classifier. The package ...
Download / Learn more Package Citations See dependency  
data360r  
Wrapper for 'TCdata360' and 'Govdata360' API
Makes it easy to engage with the Application Program Interface (API) of the 'TCdata360' and 'Govdat ...
Download / Learn more Package Citations See dependency  

28,565

R Packages

239,283

Dependencies

75,677

Author Associations

28,566

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA