Used as a back-end wrapper for creating new fs methods.
fs.(object, top, uniqueFx, keep, ...)
An ExprsArray
object to undergo feature selection.
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.
A function call unique to the method.
A numeric scalar. Specifies the number of top features that should get
returned by the feature selection method. Use of keep
is generally not
recommended, but can speed up analyses of large data.
Arguments passed to the detailed function.
Returns an ExprsArray
object.
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.