Improved feature creation for LocalClassifier and added make_weighted_training_data method.