Returns the observation counts (n_obs) for each terminal leaf node,
named by node ID. These are the raw row counts stored at fit time - they
are not recomputed from training data or predictions.
Arguments
- tree
A
cta_treefromoda_cta_fit.
Value
Named integer vector of leaf n_obs values, named by node ID
(as character); integer(0) for no-tree fits.