Ensemble Feature Weighting Based on Local Learning and Diversity