ml_dl.pick_class_balanced_tiles
ml_dl.pick_class_balanced_tiles(ds, pos_frac_range, n_show=6, rng=None)Pick n_show tile indices that span a positive-fraction range.
Useful for diagnostic figure cells where you want a mix of background-heavy and class-heavy tiles to render. rng is optional – when None a per-call generator is created.