bartz.mcmcloop.compute_varcount

bartz.mcmcloop.compute_varcount(p, trace)[source]

Count how many times each predictor is used in each MCMC state.

Parameters:
Returns:

Int32[Array, '*trace_shape {p}'] – Histogram of predictor usage in each MCMC state.