Learn R Programming

snn (version 1.1)

Stabilized Nearest Neighbor Classifier

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.

Copy Link

Version

Install

install.packages('snn')

Monthly Downloads

415

Version

1.1

License

GPL-3

Maintainer

Wei Sun

Last Published

August 23rd, 2015

Functions in snn (1.1)

cv.tune

Tuning via 5 fold Cross-Validation.
mywnn

Weighted Nearest Neighbor Classifier
mysnn

Stabilized Nearest Neighbor Classifier
mydata

Data Generator
snn-package

Package for Stabilized Nearest Neighbor Classifier
mybnn

Bagged Nearest Neighbor Classifier
mycis

Classification Instability
myerror

Classification Error
myownn

Optimal Weighted Nearest Neighbor Classifier
myknn

K Nearest Neighbor Classifier