Learn R Programming

iai (version 1.10.2)

get_tree: 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

Run this code
if (FALSE) iai::get_tree(lnr, index)

Run the code above in your browser using DataLab