Removing obsolete features in training data