get_prediction_constant.optimal_feature_selection_learner: Return the constant term in the prediction in a trained...

View source: R/optimalfeatureselection.R

get_prediction_constant.optimal_feature_selection_learnerR Documentation

Return the constant term in the prediction in a trained Optimal Feature Selection learner

Description

Julia Equivalent: IAI.get_prediction_constant

Usage

## S3 method for class 'optimal_feature_selection_learner'
get_prediction_constant(obj, fit_index = NULL, ...)

Arguments

obj

The learner to query.

fit_index

The index of the cluster to use for prediction, if the coordinated_sparsity parameter on the learner is TRUE.

...

Additional arguments (unused)

IAI Compatibility

Requires IAI version 1.1 or higher.

Examples

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


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