Classification of short time series