get_regression_weights.prescription_tree_learner: Return the weights for each feature in the linear regression...

View source: R/iaitrees.R

get_regression_weights.prescription_tree_learnerR Documentation

Return the weights for each feature in the linear regression prediction at a node of a prescription tree

Description

Julia Equivalent: IAI.get_regression_weights

Usage

## S3 method for class 'prescription_tree_learner'
get_regression_weights(obj, node_index, treatment, ...)

Arguments

obj

The learner to query.

node_index

The node in the tree to query.

treatment

The treatment to query.

...

Refer to the Julia documentation for available parameters.

Examples

## Not run: iai::get_regression_weights(lnr, 1, "A")


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