Learn R Programming

dprep (version 3.0.2)

sbs1: One-step sequential backward selection

Description

This functions performs one-step of the sequential backward selection procedure.

Usage

sbs1(data, indic, correct0, kvec, method = c("lda", "knn", "rpart"))

Arguments

data
The name of a dataset
indic
A vector of 0-1 values: 1 indicates a selected feature.
correct0
The recognition rate based on the current subset of features
kvec
The number of neighbors
method
The classifier to be used

See Also

sffs