copy_splits_and_refit_leaves: Copy the tree split structure from one learner into another...

View source: R/optimaltrees.R

copy_splits_and_refit_leavesR Documentation

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

## Not run: iai::copy_splits_and_refit_leaves(new_lnr, orig_lnr, ...)


iai documentation built on July 9, 2023, 5:41 p.m.