a generic multilayer preceptron classifier.