Super-fast BART (Bayesian Additive Regression Trees) in Python
Return the average number of leaves per tree in a set of trees.
split_tree (UInt[Array, '*batch_shape half_tree_size']) – The decision boundaries of the trees.
UInt[Array, '*batch_shape half_tree_size']
Float32[Array, ''] – The mean number of leaves across the trees.
Float32[Array, '']