tune classifier to work with sparse sets of training data