added Classifier.generateModel