Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_prediction_constant

Return the constant term in the prediction in the trained learner


Description

Julia Equivalent: IAI.get_prediction_constant

Usage

get_prediction_constant(lnr, ...)

Arguments

lnr

The learner to query.

...

If a GLMNet learner, the index of the fit in the path to query, defaulting to the best fit if not supplied.

IAI Compatibility

Requires IAI version 1.1 or higher.

Examples

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

iai

Interface to 'Interpretable AI' Modules

v1.5.0
MIT + file LICENSE
Authors
Jack Dunn [aut, cre], Ying Zhuo [aut], Interpretable AI LLC [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.