PSF: Introduction to R Package for Pattern Sequence Based Forecasting Algorithm

This paper discusses about an R package that implements the Pattern Sequence based Forecasting (PSF) algorithm, which was developed for univariate time series forecasting. This algorithm has been successfully applied to many different fields. The PSF algorithm consists of two major parts: clustering and prediction. The clustering part includes selection of the optimum number of clusters. It labels time series data with reference to such clusters. The prediction part includes functions like optimum window size selection for specific patterns and prediction of future values with reference to past pattern sequences. The PSF package consists of various functions to implement the PSF algorithm. It also contains a function which automates all other functions to obtain optimized prediction results. The aim of this package is to promote the PSF algorithm and to ease its implementation with minimum efforts. This paper describes all the functions in the PSF package with their syntax. It also provides a simple example of usage. Finally, the usefulness of this package is discussed by comparing it to auto.arima and ets, well-known time series forecasting functions available on CRAN repository.

[1]  Fotios Petropoulos,et al.  forecast: Forecasting functions for time series and linear models , 2018 .

[2]  Alicia Troncoso Lora,et al.  Discovery of motifs to forecast outlier occurrence in time series , 2011, Pattern Recognit. Lett..

[3]  Mariano Ruiz Espejo,et al.  The Oxford Dictionary of Statistical Terms , 2004 .

[4]  V. Mendes,et al.  Short-term electricity prices forecasting in a competitive market: A neural network approach , 2007 .

[5]  C. García-Martos,et al.  Mixed Models for Short-Run Forecasting of Electricity Prices: Application for the Spanish Market , 2007, IEEE Transactions on Power Systems.

[6]  Cheng Hao Jin,et al.  Improved pattern sequence‐based forecasting method for electricity load , 2014 .

[7]  Wei Lee Woon,et al.  An ensemble model for day-ahead electricity demand time series forecasting , 2013, e-Energy '13.

[8]  Francisco Martinez Alvarez,et al.  Energy Time Series Forecasting Based on Pattern Sequence Similarity , 2011, IEEE Transactions on Knowledge and Data Engineering.

[9]  Y. Fujimoto,et al.  Pattern sequence-based energy demand forecast using photovoltaic energy records , 2012, 2012 International Conference on Renewable Energy Research and Applications (ICRERA).

[10]  J. Dunn Well-Separated Clusters and Optimal Fuzzy Partitions , 1974 .

[11]  David R. Cox,et al.  The Oxford Dictionary of Statistical Terms , 2006 .

[12]  Gianluca Bontempi,et al.  Machine Learning Strategies for Time Series Forecasting , 2012, eBISS.

[13]  Ali S. Hadi,et al.  Finding Groups in Data: An Introduction to Chster Analysis , 1991 .

[14]  Irena Koprinska,et al.  Combining pattern sequence similarity with neural networks for forecasting electricity demand time series , 2013, The 2013 International Joint Conference on Neural Networks (IJCNN).

[15]  Alicia Troncoso Lora,et al.  LBF: A Labeled-Based Forecasting Algorithm and Its Application to Electricity Price Time Series , 2008, 2008 Eighth IEEE International Conference on Data Mining.

[16]  J. Ramos,et al.  Electricity Market Price Forecasting Based on Weighted Nearest Neighbors Techniques , 2007, IEEE Transactions on Power Systems.

[17]  Mostafa Majidpour,et al.  Modified pattern sequence-based forecasting for electric vehicle charging stations , 2014, 2014 IEEE International Conference on Smart Grid Communications (SmartGridComm).

[18]  Donald W. Bouldin,et al.  A Cluster Separation Measure , 1979, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[19]  A.J. Conejo,et al.  Day-ahead electricity price forecasting using the wavelet transform and ARIMA models , 2005, IEEE Transactions on Power Systems.