get_prediction_weights.glmnetcv_learner: Return the weights for numeric and categoric features used...

View source: R/heuristics.R

get_prediction_weights.glmnetcv_learnerR Documentation

Return the weights for numeric and categoric features used for prediction in a trained GLMNet learner

Description

Julia Equivalent: IAI.get_prediction_weights

Usage

## S3 method for class 'glmnetcv_learner'
get_prediction_weights(obj, fit_index = NULL, ...)

Arguments

obj

The learner to query.

fit_index

The index of the fit in the path to use for prediction, defaulting to the best fit if not supplied.

...

Additional arguments (unused)

IAI Compatibility

Requires IAI version 2.1 or higher.

Examples

## Not run: iai::get_prediction_weights(lnr)


iai documentation built on July 9, 2023, 5:41 p.m.