predict_proba.glmnetcv_classifier: Return the probabilities of class membership predicted by a...

View source: R/heuristics.R

predict_proba.glmnetcv_classifierR Documentation

Return the probabilities of class membership predicted by a glmnetcv_classifier learner for each point in the features

Description

Julia Equivalent: IAI.predict_proba

Usage

## S3 method for class 'glmnetcv_classifier'
predict_proba(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.

...

Additional arguments (unused)

IAI Compatibility

Requires IAI version 3.0 or higher.

Examples

## Not run: iai::predict_proba(lnr, X)


iai documentation built on Oct. 19, 2024, 1:07 a.m.