add classification on training data in addition to test data
fixing merge conflict