get_prediction_constant.glmnetcv_learner {iai} | R Documentation |
Return the constant term in the prediction in a trained GLMNet learner
Description
Julia Equivalent:
IAI.get_prediction_constant
Usage
## S3 method for class '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
## Not run: iai::get_prediction_constant(lnr)
[Package iai version 1.10.1 Index]