pub fn resample_and_optimize(
stat: &CollapsedStat,
rng: &mut impl Rng,
opt_iter: usize,
) -> Result<CollapsedOut>Expand description
Resample from over-resolved sufficient statistics: randomly select
~half the groups, then optimise to produce a fresh CollapsedOut.