added proposed procedures for training and testing the classifier