take the same number of samples from each class, randomly, to build the
model