bartz.mcmcstep.StepConfig¶
- class bartz.mcmcstep.StepConfig(steps_done, sparse_on_at, resid_reduction_config, count_reduction_config, prec_reduction_config, prec_count_num_trees, sequential_unroll, augment, mesh)[source]¶
Options for the MCMC step.
- steps_done: Int32[Array, '']¶
The number of MCMC steps completed so far.
- resid_reduction_config: ReductionConfig¶
How to sum the residuals in each leaf.
- count_reduction_config: ReductionConfig¶
How to count the datapoints in each leaf.
- prec_reduction_config: ReductionConfig¶
How to sum the likelihood precisions in each leaf.
- sequential_unroll: int | bool¶
How much to unroll the sequential accept/reject loop over trees in
step. See theunrollargument ofjax.lax.scan.