Bayes error based feature selection: An electric motors fault detection case study