predict.glmnetcv_learner {iai} | R Documentation |
Return the predictions made by a GLMNet learner for each point in the features
Description
Julia Equivalent:
IAI.predict
Usage
## S3 method for class 'glmnetcv_learner'
predict(obj, X, fit_index = NULL, ...)
Arguments
obj |
The learner or grid to use for prediction. |
X |
The features of the data. |
fit_index |
The index of the fit in the path to use for prediction, defaulting to the best fit if not supplied. |
... |
Refer to the Julia documentation for available parameters. |
IAI Compatibility
Requires IAI version 2.1 or higher.
Examples
## Not run: iai::predict(lnr, X)
[Package iai version 1.10.1 Index]