Pattern Recognition and Classification in Time Series Data