fs.: Workhorse for fs Methods

Description Usage Arguments Details Value

Description

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

Usage

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

Arguments

object

An 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 the method.

keep

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.

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.

Value

Returns an ExprsArray object.


exprso documentation built on May 1, 2019, 7:11 p.m.