powered by
Return the constant term in the regression prediction at a node of a tree
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.
Julia Equivalent: IAI.get_regression_constant (for regression or prescription tree learners as appropriate)
IAI.get_regression_constant
# 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