Bayesian feature selection for classification with possibly large number of classes