Entropy reweighting to create balanced samples

WWW: https://web.stanford.edu/~jhain
