.select {StabPerf}R Documentation

Selects a feature-vector from a dataset

Description

Perform a given feature-selector on a subset of a dataset, returning a list of features

Usage

.select(indices, data, selector, fold=NA, s=NA, nr=NA)

Arguments

indices A vector of indices describing a subset of data, that is NOT used for selecting the features
data A dataset, for which feature-selection should be performed
selector The expression, that processes the dataset (in data), returning a list on indices (the features)
fold k-th cross-validation step, may be set to pass it to the selector
s selector is the s-th selector out of a list, may be set to pass it to the selector
nr nr-th repeat in sampling for this selector

Details

Takes the subset train_indices out of data and performs selector on the resulting dataset (provided in data).

Value

features vector of features that is determined by selector

See Also

compute.external, pipeline, .classify.and.predict

Examples

features <- .select(train_indices, dataset, {...})

[Package StabPerf version 0.5 Index]