exprso (version 0.1.7)

fs.: Workhorse for fs Methods

Description

Used as a back-end wrapper for creating new fs methods.

Usage

fs.(object, top, uniqueFx, ...)

Arguments

object
Specifies the ExprsArray object to undergo feature selection.
top
A numeric scalar or character vector. A numeric scalar indicates the number of top features that should undergo feature selection. A character vector indicates specifically which features by name should undergo feature selection. Set top = 0 to include all features. A numeric vector can also be used to indicate specific features by location, similar to a character vector.
uniqueFx
A function call unique to that fs method.
...
Arguments passed to the respective wrapped function.

Value

Returns an ExprsArray object.

Details

If the uniqueFx returns a character vector, it is assumed that the fs method is for feature selection only. If the uniqueFx returns a list, it is assumed that the fs method is a reduction model method only.