get_tree: Return a copy of the learner that uses a specific tree rather...

View source: R/iaitrees.R

get_treeR Documentation

Return a copy of the learner that uses a specific tree rather than the tree with the best training objective.

Description

Julia Equivalent: IAI.get_tree

Usage

get_tree(lnr, index)

Arguments

lnr

The original learner

index

The index of the tree to use

IAI Compatibility

Requires IAI version 2.2 or higher.

Examples

## Not run: iai::get_tree(lnr, index)


iai documentation built on Oct. 19, 2024, 1:07 a.m.