Learn R Programming

⚠️There's a newer version (7.3-23) of this package.Take me there.

class (version 7.3-21)

Functions for Classification

Description

Various functions for classification, including k-nearest neighbour, Learning Vector Quantization and Self-Organizing Maps.

Copy Link

Version

Install

install.packages('class')

Monthly Downloads

26,672

Version

7.3-21

License

GPL-2 | GPL-3

Maintainer

Brian Ripley

Last Published

January 23rd, 2023

Functions in class (7.3-21)

lvqtest

Classify Test Set from LVQ Codebook
somgrid

Plot SOM Fits
reduce.nn

Reduce Training Set for a k-NN Classifier
olvq1

Optimized Learning Vector Quantization 1
multiedit

Multiedit for k-NN Classifier
lvq2

Learning Vector Quantization 2.1
knn.cv

k-Nearest Neighbour Cross-Validatory Classification
lvq1

Learning Vector Quantization 1
knn1

1-Nearest Neighbour Classification
condense

Condense training set for k-NN classifier
knn

k-Nearest Neighbour Classification
lvqinit

Initialize a LVQ Codebook
SOM

Self-Organizing Maps: Online Algorithm
batchSOM

Self-Organizing Maps: Batch Algorithm
lvq3

Learning Vector Quantization 3