Classifying time series using feature extraction