added pipeline script run_classifier() for computing training set accuracy