exprso (version 0.5.1)

ExprsEnsemble-class: An S4 class to store multiple models

Description

An S4 class to store multiple models

Usage

# S4 method for ExprsEnsemble
show(object)

# S4 method for ExprsEnsemble getFeatures(object, index)

# S4 method for ExprsEnsemble getWeights(object, index, ...)

Arguments

object

An ExprsArray, ExprsModel, ExprsPipeline, or ExprsEnsemble object.

index

A numeric scalar. The i-th model from which to retrieve features or weights. If missing, function will tabulate features or weights across all models.

...

For getWeights, optional arguments passed to glmnet::coef.cv.glmnet.

Methods (by generic)

  • show: Method to show ExprsEnsemble object.

  • getFeatures: Method to return features within an ExprsEnsemble model.

  • getWeights: Method to return LASSO weights.

Slots

machs

Typically a list. Stores the models.

See Also

ExprsArray-class ExprsModel-class ExprsPipeline-class ExprsEnsemble-class ExprsPredict-class RegrsPredict-class