# Data Mining in Time Series: Current Study and Future Trend

^{1}NEC Laboratories, United States^{2}University of California, United States^{3}Verizon Wireless, United States

## Editorial

Time series represent sequences of data points where usually their order is defined by the time when they were recorded. Thus, virtually any sequential recordings can be stored as time series: Stock prices, weather conditions, physical system parameters change, product quality monitoring, etc. This leads to ubiquity of time series in all scientific and practical fields (Esling and Agon, 2012); hence, they have attracted significant research efforts over the past decades. The time series can be univariate, i.e., only one variable recorded, or multivariate, i.e., a set of observations from different sources recorded at some time points. The tasks of time series analysis essentially defined to extract meaningful information from the collections of data points or to organize fast and easy access to the necessary data. In this article, we will briefly discuss the major tasks such as classification, clustering, prediction, segmentation and indexing of time series.

Time series classification is a task that aims to assign each of the time series a class label from two or more classes having some training data. Classification is needed to distinguish between different types of time series. For example, having past recording to separate time series describing yearly weather conditions in different parts of the world or distinguish between types of technical devices where the data were recorded and so forth. The task of classification requires a training set of time series where examples of each class presents. Time series from the testing (unlabeled) set have to be compared with time series in the training set and class labels must be assigned based on some*distance (similarity/dissimilarity) measure*between time series. Distance measures can be based on the shape of time series (e.g., Euclidean distance or Dynamic Time Warping) or on some extracted features (e.g., frequency, amplitude, number of slope changing, etc.). The simple One (or K) Nearest Neighbor (k-NN) rule 0 is highly competitive and used in many domains to assign the class labels for the unlabeled time series. Using the k-NN rule the labels will be assigned according to the labels of the training time series that are the closest (nearest) neighbors to the unlabeled time series in terms of some distance measure. Classification is often referred as*supervised learning*with a special case of the*semi-supervised*learning (Chapelle*et al*., 2006). The latter allows to add the newly-classified time series from the testing set into training set where they can be used for classification of next coming time series. Semi-supervised classification allows mitigating lack of labeled data.

The goal of time series clustering is to group the time series in a dataset according to some principle, or, in other words, to find natural groupings or structure of the dataset. For example, the task may sound as follows: Having some daily recordings of bird sounds from a forest discover the species presented there with no information provided in advance to compare with (Dawson and Efford, 2009). Similarly to the classification task, the time series in the same group (cluster) have to be close according to some distance measure. The clustering may be partitional and hierarchical. Partitional clustering assumes that each cluster has the same level in hierarchy and independent from each other. Hierarchical clustering aims to build a hierarchy of clusters. Clustering is often referred as an*unsupervised learning*, i.e., there are no labeled examples of data that can be used for labels assigning. One of the most popular algorithms of partitional clustering is*k-means clustering*. k-means algorithm starts with choosing*k*centers of clusters (either time series from the dataset or any synthetically generated points) and then, computing the distance to a central time series from the time series in the dataset assigns them to clusters. The process repeats several times and on each step the central time series is being chosen as a mean value of the time series in the cluster. k-means has some variations and techniques for choice of*k*and number of iterations until convergence. For hierarchical clustering except of having only similarity/dissimilarity measure between instances of time series themselves it is necessary to define a distance measure for similarity of their groups to build a hierarchical structure. Visually hierarchy can be presented as a tree-like structure called dendrogram (Bittmann and Gelbard, 2008).

Time series prediction (forecasting) is used to predict future values of a continuous time series based on the past observations. For example, prediction of stock prices or retail values of goods for the next day taking into account their values in the past weeks. For time series prediction it is necessary to build a model that would describe the behavior of the observed variable over time. The simplest model to employ is a regression model where the values of time series are fitted to a curve with some certain error (Durbin, 1960). The most popular is a linear model fit where the values of time series are fitted to a straight line. However, there are also used higher-level models. If the next value of a variable depends on the previous, as it is usually the case in such fields as, for example, weather and economics, it is suitable to apply*autoregressive*model with integrated moving average. It is usually named as ARIMA (Box and Pierce, 1970).

Segmentation of time series is applied for splitting a time series into pieces with the consequential change of the representation (Keogh*et al*., 2004). This technique is used to alternate the way the time series are represented for faster and easier access. For example, a widely used piecewise approximation divides time series into subparts of equal length and each block of data points is substituted with one value. Another widely used approximation technique SAX (Lin*et al*., 2003) uses the pricewise aggregate approximation of time series as a part of its algorithm. It is often used in indexing of time series (“query by content”) that requires finding efficiently similar time series from the dataset to a query object. This approach helps dramatically decrease speed of access to the data.

Concluding our discussion, it is necessary to highlight that time series analysis and data mining is a hot topic in both research community and industrial area. With appearance of lots of different sensors recording time series data that are cheap and easy to use (for instance, any Smartphone is usually equipped with acceleration and gyroscopic sensors.), it becomes easy to obtain time series data. This inevitably leads to explosion of data that require analysis. Therefore, it is likely that high demand for algorithms of big data processing will be even higher in coming decades and the algorithms will have to work on-line, i.e., in real time, to satisfy the needs of the society. Also, having high-performance computers it becomes possible to get more knowledge from the time series with the decrease of computational cost. However, the basic tasks of time series analysis most likely will remain of current importance, but the approaches and techniques must be changed to adjust existing algorithms for big scale data analysis.

**Journal of Computer Science**

**DOI:**https://doi.org/10.3844/jcssp.2014.2358.2359

**Submitted On:**2 October 2014

**Published On:**26 January 2015

**How to Cite:** Yan, T., Ulanova, L., Ouyang, Y. & Xu, F. (2014). Data Mining in Time Series: Current Study and Future Trend. *Journal of Computer Science*, *10*(12), 2358-2359. https://doi.org/10.3844/jcssp.2014.2358.2359

**Copyright:** © 2014 Tan Yan, Liudmila Ulanova, Ye Ouyang and Fengyuan Xu. This is an open access article distributed under the terms of the
Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.

- 4,178 Views
- 2,540 Downloads
- 1 Citations