Uniform Width Sampling
Suppose you would like to sample k out of N classes randomly.
Instead of doing two stage sampling, you can generate N scores, then threshold those scores by k/N, where k is the desired number of classes.
Last Reviewed 4/30/25