Elemendar interview question

How do you make sure the training data is balanced?