copy_splits_and_refit_leaves {iai} | R 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, ...)
[Package iai version 1.10.1 Index]