modifications to timeseries_classifier.py