Learn R Programming

iai (version 1.10.2)

get_prediction_constant.glmnetcv_learner: Return the constant term in the prediction in a trained GLMNet learner

Description

Julia Equivalent: IAI.get_prediction_constant

Usage

# S3 method for glmnetcv_learner
get_prediction_constant(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

Run this code
if (FALSE) iai::get_prediction_constant(lnr)

Run the code above in your browser using DataLab