Natural Time Series Parameters Forecasting: Validation of the Pattern-Sequence-Based Forecasting (PSF) Algorithm; A New Python Package
Open Access
- 17 June 2022
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 12 (12) , 6194
Abstract
Climate change has contributed substantially to the weather and land characteristic phenomena. Accurate time series forecasting for climate and land parameters is highly essential in the modern era for climatologists. This paper provides a brief introduction to the algorithm and its implementation in Python. The pattern-sequence-based forecasting (PSF) algorithm aims to forecast future values of a univariate time series. The algorithm is divided into two major processes: the clustering of data and prediction. The clustering part includes the selection of an optimum value for the number of clusters and labeling the time series data. The prediction part consists of the selection of a window size and the prediction of future values with reference to past patterns. The package aims to ease the use and implementation of PSF for python users. It provides results similar to the PSF package available in R. Finally, the results of the proposed Python package are compared with results of the PSF and ARIMA methods in R. One of the issues with PSF is that the performance of forecasting result degrades if the time series has positive or negative trends. To overcome this problem difference pattern-sequence-based forecasting (DPSF) was proposed. The Python package also implements the DPSF method. In this method, the time series data are first differenced. Then, the PSF algorithm is applied to this differenced time series. Finally, the original and predicted values are restored by applying the reverse method of the differencing process. The proposed methodology is tested on several complex climate and land processes and its potential is evidenced.Keywords
Funding Information
- WATERAGRI (European Union Horizon 2020 research and innovation program) (858375)
This publication has 50 references indexed in Scilit:
- A novel imputation methodology for time series based on pattern sequence forecastingPattern Recognition Letters, 2018
- Analysis of differencing and decomposition preprocessing methods for wind speed predictionApplied Soft Computing, 2018
- Hybrid Leakage Management for Water Network Using PSF Algorithm and Soft Computing TechniquesWater Resources Management, 2017
- Fast and Adaptive Cointegration Based Model for Forecasting High Frequency Financial Time SeriesComputational Economics, 2017
- Improved pattern sequence‐based forecasting method for electricity loadIEEJ Transactions on Electrical and Electronic Engineering, 2014
- An ensemble model for day-ahead electricity demand time series forecasting2013
- Energy Time Series Forecasting Based on Pattern Sequence SimilarityIEEE Transactions on Knowledge and Data Engineering, 2010
- 25 years of time series forecastingInternational Journal of Forecasting, 2006
- Time series forecasting using a hybrid ARIMA and neural network modelNeurocomputing, 2003
- The Box-Jenkins approach to time series analysisRAIRO - Operations Research, 1977