[ top | up ]

Reduce Training Set for a k-NN Classifier

Usage

reduce.nn(train, ind, class)

Arguments

train matrix for training set
ind Initial list of members of the training set (from condense).
class vector of classifications for test set

Description

All the members of the training set are tried in random order. Any which when dropped do not cause any members of the training set to be wrongly classified are dropped.

Value

index vector of cases to be retained.

References

Gates, G.W. (1972) The reduced nearest neighbor rule. IEEE Trans. Information Theory IT-18, 431-432.

See Also

condense, multiedit