Fixed bayes and feature extraction