Learn R Programming

iai (version 1.10.2)

get_regression_constant.regression_tree_learner: Return the constant term in the linear regression prediction at a node of a regression tree

Description

Julia Equivalent: IAI.get_regression_constant

Usage

# S3 method for regression_tree_learner
get_regression_constant(obj, node_index, ...)

Arguments

obj

The learner to query.

node_index

The node in the tree to query.

...

Refer to the Julia documentation for available parameters.

Examples

Run this code
if (FALSE) iai::get_regression_constant(lnr, 1)

Run the code above in your browser using DataLab