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 July 9, 2023, 5:41 p.m.

Related to is_leaf in iai...