Enhanching Prophet Time Series Forecasting on Sparse Data via Hyperparameter Optimizattion: A Case Study in Retail

Authors

  • Fadel Muhamad Hafid Atamimi Teknik Informatika, Universitas Jendral Achmad Yani, Indonesia
  • Wina Witanti Teknik Informatika, Universitas Jendral Achmad Yani, Indonesia
  • Gunawan Abdillah Teknik Informatika, Universitas Jendral Achmad Yani, Indonesia

DOI:

10.33395/sinkron.v9i2.14804

Keywords:

Sales; forecasting; Prophet; Timeseries; Hyperparameter;

Abstract

In today’s competitive business landscape, accurate sales forecasting is crucial for retailers to optimize inventory, prevent overstock, and support strategic decision-making. However, many small to medium enterprises operate with sparse and irregular sales data, making conventional forecasting methods less effective. This study aims to evaluate the performance of the Prophet time series model in such non-ideal conditions and to investigate how hyperparameter tuning affects its forecasting accuracy. The research adopts the Prophet algorithm, an additive time series forecasting model developed by Facebook, which incorporates trend, seasonality, and holiday components. The model was implemented in two configurations: one using default parameters, and another with manually tuned hyperparameters, including changepoint prior scale (CP), seasonality prior scale (SP), and seasonality mode. A total of 32 experiments were conducted using historical transaction data from PT Eko Hejo. Results show that the default Prophet model achieved a MAPE of 9.50%, while the best-performing configuration (CP = 0.5, SP = 0.01, additive mode) reduced the MAPE to 6.80%. This indicates that hyperparameter tuning significantly improves forecast accuracy, even in sparse data environments. The study contributes both practically and scientifically by demonstrating that Prophet, when properly configured, is a robust and adaptable tool for business forecasting with limited data. It also highlights the value of manual tuning in enhancing model responsiveness and generalization, offering insights for further research in model comparison, automated optimization, and hybrid forecasting approaches.

GS Cited Analysis

Downloads

Download data is not yet available.

References

Chhabra, A., Singh, S. K., Sharma, A., Kumar, S., Gupta, B. B., Arya, V., & Chui, K. T. (2024). Sustainable and intelligent time-series models for epidemic disease forecasting and analysis. Sustainable Technology and Entrepreneurship, 3(2). https://doi.org/10.1016/j.stae.2023.100064

Christophorus Beneditto Aditya Satrioa, W. D. , B. U. N. , N. H. (n.d.). Time series analysis and forecasting of coronavirus disease in Indonesia using ARIMA model and PROPHET.

Dash, S., Chakraborty, C., Giri, S. K., & Pani, S. K. (2021). Intelligent computing on time-series data analysis and prediction of COVID-19 pandemics. Pattern Recognition Letters, 151, 69–75. https://doi.org/10.1016/j.patrec.2021.07.027

Ensafi, Y., Amin, S. H., Zhang, G., & Shah, B. (2022). Time-series forecasting of seasonal items sales using machine learning – A comparative analysis. International Journal of Information Management Data Insights, 2(1). https://doi.org/10.1016/j.jjimei.2022.100058

Guo, L., Fang, W., Zhao, Q., & Wang, X. (2021). The hybrid PROPHET-SVR approach for forecasting product time series demand with seasonality. Computers and Industrial Engineering, 161. https://doi.org/10.1016/j.cie.2021.107598

Ivanko, D., Sørensen, Å. L., & Nord, N. (2020). Selecting the model and influencing variables for DHW heat use prediction in hotels in Norway. Energy and Buildings, 228. https://doi.org/10.1016/j.enbuild.2020.110441

Kumar Jha, B., & Pande, S. (2021). Time Series Forecasting Model for Supermarket Sales using FB-Prophet. Proceedings - 5th International Conference on Computing Methodologies and Communication, ICCMC 2021, 547–554. https://doi.org/10.1109/ICCMC51019.2021.9418033

Prakash Bera, O., Venkatesh, U., Krushna Pal, G., Shastri, S., Chakraborty, S., Grover, A., & Shanker Joshi, H. (2024). Assessing the impact of the National Clean Air Programme in Uttar Pradesh’s non-attainment cities: a prophet model time series analysis. www.thelancet.com

Saeed, N., Nguyen, S., Cullinane, K., Gekara, V., & Chhetri, P. (2023). Forecasting container freight rates using the Prophet forecasting method. Transport Policy, 133, 86–107. https://doi.org/10.1016/j.tranpol.2023.01.012

Santoso, R. S., Kartika, F., & Dewi, S. (2024). Konfigurasi Model Prophet Untuk Prediksi Harga Saham Sektor Teknologi di Indonesia Yang Akurat. In Jurnal Buana Informatika (Vol. 15, Issue 1).

Sulandari, W., Yudhanto, Y., Hapsari, R., Wijayanti, M. D., & Pardede, H. F. (2024). IMPLEMENTATION OF PROPHET IN AMERICAN ELECTRICITY FORECASTING WITH AND WITHOUT PARAMETER TUNING. MEDIA STATISTIKA, 17(1), 93–104. https://doi.org/10.14710/medstat.17.1.93-104

Tanuwidjaja, K., & Widjaja, A. (2022). Prediksi dan Analisis Time Series pada Data COVID-19 (Vol. 4).

Wang, P., Zheng, X., Li, J., & Zhu, B. (2020). Prediction of epidemic trends in COVID-19 with logistic model and machine learning technics. Chaos, Solitons and Fractals, 139. https://doi.org/10.1016/j.chaos.2020.110058

Wei, X. (2025). Prediction and influence factors analysis of IP backbone network traffic based on Prophet model and variance reduction. Heliyon, 11(1). https://doi.org/10.1016/j.heliyon.2024.e41472

Downloads


Crossmark Updates

How to Cite

Atamimi, F. M. H. ., Witanti, W., & Abdillah, G. (2025). Enhanching Prophet Time Series Forecasting on Sparse Data via Hyperparameter Optimizattion: A Case Study in Retail. Sinkron : Jurnal Dan Penelitian Teknik Informatika, 9(2), 1000-1007. https://doi.org/10.33395/sinkron.v9i2.14804