Learn R Programming

iai (version 1.10.2)

copy_splits_and_refit_leaves: Copy the tree split structure from one learner into another and refit the models in each leaf of the tree using the supplied data

Description

Julia Equivalent: IAI.copy_splits_and_refit_leaves!

Usage

copy_splits_and_refit_leaves(new_lnr, orig_lnr, ...)

Arguments

new_lnr

The learner to modify and refit

orig_lnr

The learner from which to copy the tree split structure

...

Refer to the Julia documentation for available parameters

IAI Compatibility

Requires IAI version 3.0 or higher.

Examples

Run this code
if (FALSE) iai::copy_splits_and_refit_leaves(new_lnr, orig_lnr, ...)

Run the code above in your browser using DataLab