Python Classifier-balancing Resources