Condense training set for k-NN classifier
Usage
condense(train, class, store)
Arguments
train
|
matrix for training set
|
class
|
vector of classifications for test set
|
store
|
initial store set. Default one randomly chosen element of the set.
|
Description
Condense training set for k-NN classifierDetails
The store set is used to 1-NN classify the rest, and misclassified
patterns are added to the store set. The whole set is checked until
no additions occur.Value
index vector of cases to be retained (the final store set).References
P. A. Devijver and J. Kittler (1982)
Pattern Recognition. A Statistical Approach.
Prentice-Hall, pp. 119-121.See Also
reduce.nn
, multiedit