Learn R Programming

iai (version 1.4.0)

get_num_samples: Get the number of training points contained in a node of a tree

Description

Julia Equivalent: IAI.get_num_samples

Usage

get_num_samples(lnr, node_index)

Arguments

lnr

The learner to query.

node_index

The node in the tree to query.

Examples

Run this code
# NOT RUN {
iai::get_num_samples(lnr, 1)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab