A time series classifier