Super-fast BART (Bayesian Additive Regression Trees) in Python
Return the maximum depth of a tree.
tree (Shaped[Array, '*batch_shape tree_size']) – A tree array like those in a TreeHeaps. If the array is ND, the tree structure is assumed to be along the last axis.
Shaped[Array, '*batch_shape tree_size']
TreeHeaps
int – The maximum depth of the tree.
int