bartz.mcmcloop.StatsReport¶
- class bartz.mcmcloop.StatsReport(move_acc, mean_leaves, mean_tree_life, steps_done, var_perplexity, p_eff, n_samples, num_chains, max_leaves)[source]¶
Forest diagnostics produced by
StatsAccumulator.reportfor one report.- move_acc: Float32[Array, '']¶
Fraction of the trees in use on which a grow or prune move was accepted.
- mean_leaves: Float32[Array, '']¶
Mean number of leaves per tree in use.
- mean_tree_life: Float32[Array, '']¶
Mean of
bartz.mcmcstep.Forest.tree_lifeover the trees in use and the chains.
- steps_done: Int32[Array, '']¶
Number of MCMC steps done, the maximum possible tree life.
- var_perplexity: Float32[Array, ''] | None¶
Perplexity of the split-variable distribution, an effective number of predictors, or
Nonewhen variable selection is off.