Feature Selection by Maximum Marginal Diversity