is_leaf {iai}R Documentation

Check if a node of a tree is a leaf

Description

Julia Equivalent: IAI.is_leaf

Usage

is_leaf(lnr, node_index)

Arguments

lnr

The learner to query.

node_index

The node in the tree to query.

Examples

## Not run: iai::is_leaf(lnr, 1)


[Package iai version 1.10.1 Index]