Learn R Programming

iai (version 1.4.0)

get_prediction_weights: Return the weights for numeric and categoric features used for prediction in the trained learner

Description

Julia Equivalent: IAI.get_prediction_weights

Usage

get_prediction_weights(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

Run this code
# NOT RUN {
iai::get_prediction_weights(lnr)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab