is_leaf: Check if a node of a tree is a leaf

View source: R/iaitrees.R

is_leafR 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)


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

Related to is_leaf in iai...