Julia Equivalent:
IAI.get_regression_constant
(for regression or prescription tree learners as appropriate)
get_regression_constant(lnr, node_index, ...)
The learner or grid to query.
The node in the tree to query.
If a prescription problem, the treatment to query.
# NOT RUN {
iai::get_regression_constant(lnr, 1)
iai::get_regression_constant(lnr, 1, "A")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab