Learn R Programming

iai (version 1.4.0)

get_regression_weights: Return the weights for each feature in the regression prediction at a node of a tree

Description

Julia Equivalent: IAI.get_regression_weights (for regression or prescription tree learners as appropriate)

Usage

get_regression_weights(lnr, node_index, ...)

Arguments

lnr

The learner to query.

node_index

The node in the tree to query.

...

If a prescription problem, the treatment to query.

Examples

Run this code
# NOT RUN {
iai::get_regression_weights(lnr, 1)
iai::get_regression_weights(lnr, 1, "A")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab