get_regression_weights.prescription_tree_learner {iai} | R 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")
[Package iai version 1.10.1 Index]