journal article·2025-01-11Open access

Lunar Calendar Usage to Improve Forecasting Accuracy Rainfall via Machine Learning Methods

Gumgum Darmawan, Gatot Riwi Setyanto, Defi Yusti Faidah, Budhi Handoko

Applied Sciences· Volume 15· Issue 2

Abstract

The lunar calendar is often overlooked in time-series data modeling despite its importance in understanding seasonal patterns, as well as economics, natural phenomena, and consumer behavior. This study aimed to investigate the effectiveness of the lunar calendar in modeling and forecasting rainfall levels using various machine learning methods. The methods employed included long short-term memory (LSTM) and gated recurrent unit (GRU) models to test the accuracy of rainfall forecasts based on the lunar calendar compared to those based on the Gregorian calendar. The results indicated that machine learning models incorporating the lunar calendar generally provided greater accuracy in forecasting for periods of 3, 4, 6, and 12 months compared to models using the Gregorian calendar. The lunar calendar model demonstrated higher accuracy in its prediction, exhibiting smaller errors (MAPE and MBE values), whereas the Gregorian calendar model yielded somewhat larger errors and tended to underestimate the values. These findings contributed to the advancement of forecasting techniques, machine learning, and the adaptation to non-Gregorian calendar systems while also opening new opportunities for further research into lunar calendar applications across various domains.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Computational Physics and Python Applications · Time Series Analysis and Forecasting · Geophysics and Gravity Measurements

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Statistics, Faculty of Mathematics and Natural Sciences, Universitas Padjadjaran, Bandung 45363, Indonesia

Funding

Universitas of Padjadjaran

References (62)

Show source-provided references
1. Paleo Calendar-Effect Adjustments in Time-Slice and Transient Climate-Model Simulations (PaleoCalAdjust v1.0): Impact and Strategies for Data Analysis10.5194/gmd-12-3889-2019 ↗
2. Comparative Study of Fazilet Calendar and Mabims Criteria on Determining Hijri Calendar10.21580/al-hilal.2023.5.1.13760 ↗
3. Optimal Adaptive Neuro-Fuzzy Inference System Architecture for Time Series Forecasting with Calendar Effect10.17576/jsm-2022-5103-23 ↗
4. Medium- and Long-Term Precipitation Forecasting Method Based on Data Augmentation and Machine Learning Algorithms10.1109/JSTARS.2022.3140442 ↗
5. Predicting Crop Yields and Soil-plant Nitrogen Dynamics in the US Corn Belt10.1002/csc2.20039 ↗
6. Seasonal Climate Forecast Can Inform the European Agricultural Sector Well in Advance of Harvesting10.1038/s41612-021-00198-3 ↗
7. Predicting Rainy Season Onset in the Ethiopian Highlands for Agricultural Planning10.1175/JHM-D-20-0058.1 ↗
8. Sodnik, J., Mikoš, M., and Bezak, N. (2023). Torrential Hazards’ Mitigation Measures in a Typical Alpine Catchment in Slovenia. Appl. Sci., 13.10.3390/app132011136 ↗
9. Rainfall Challenges and Strategies to Improve Housing Construction in Sub-Saharan Africa: The Case of Ghana10.1080/02673037.2021.2014412 ↗
10. Earth Dam Construction Simulation Considering Stochastic Rainfall Impact10.1111/mice.12337 ↗
11. Heavy Rainfall: An Underestimated Environmental Risk for Buildings?10.1051/e3sconf/20160708001 ↗
12. Waqas, M., Humphries, U.W., Wangwongchai, A., Dechpichai, P., and Ahmad, S. (2023). Potential of Artificial Intelligence-Based Techniques for Rainfall Forecasting in Thailand: A Comprehensive Review. Water, 15.10.3390/w15162979 ↗
13. Rainfall Forecasting in Upper Indus Basin Using Various Artificial Intelligence Techniques10.1007/s00477-021-02013-0 ↗
14. Using Artificial Intelligence to Improve Real-Time Decision-Making for High-Impact Weather10.1175/BAMS-D-16-0123.1 ↗
15. Seasonal Calendars Enhance Climate Communication in the Pacific10.1175/WCAS-D-20-0035.1 ↗
16. Calendar Anomalies in African Stock Markets10.1080/23322039.2021.1978639 ↗
17. Lessan, N., and Ali, T. (2019). Energy Metabolism and Intermittent Fasting: The Ramadan Perspective. Nutrients, 11.10.3390/nu11051192 ↗
18. Calendar Rites and Holidays of the Altaians and Teleuts: Classification and General Characteristics10.17223/18137083/80/13 ↗
19. Modeling Time Series with Calendar Variation10.1080/01621459.1983.10478005 ↗
20. Monthly Rainfall Forecasting Using Temperature and Climate Indices through a Hybrid Method in Queensland, Australia
21. Forecasting Monthly Precipitation Using Sequential Modelling10.1080/02626667.2019.1595624 ↗
22. Heddam, S., Ptak, M., and Zhu, S. (2020). Modelling of Daily Lake Surface Water Temperature from Air Temperature: Extremely Randomized Trees (ERT) versus Air2Water, MARS, M5Tree, RF and MLPNN, Elsevier.10.1016/j.jhydrol.2020.125130 ↗
23. Load Forecasting Using 24 Solar Terms10.1007/s40565-017-0374-0 ↗
24. A Hybrid SARIMA-LSTM Model for Air Temperature Forecasting10.1002/adts.202200502 ↗
25. Profit Prediction Using ARIMA, SARIMA and LSTM Models in Time Series Forecasting: A Comparison10.1109/ACCESS.2022.3224938 ↗
26. A Hybrid Method of Exponential Smoothing and Recurrent Neural Networks for Time Series Forecasting10.1016/j.ijforecast.2019.03.017 ↗
27. Improving the Forecasting Accuracy Based on the Lunar Calendar in Modeling Rainfall Levels Using the Bi-LSTM Method through the Grid Search Approach10.1155/2023/1863346 ↗
28. Selective Health Indicator for Bearings Ensemble Remaining Useful Life Prediction with Genetic Algorithm and Weibull Proportional Hazards Model10.1016/j.measurement.2019.107097 ↗
29. Nonpooling Convolutional Neural Network Forecasting for Seasonal Time Series with Trends10.1109/TNNLS.2019.2934110 ↗
30. A Cluster-Classification Method for Accurate Mining of Seasonal Honey Bee Patterns10.1016/j.ecoinf.2020.101107 ↗
31. Transductive LSTM for Time-Series Prediction: An Application to Weather Forecasting10.1016/j.neunet.2019.12.030 ↗
32. Roy, D.K., Sarkar, T.K., Kamar, S.S.A., Goswami, T., Muktadir, M.A., Al-Ghobari, H.M., Alataway, A., Dewidar, A.Z., El-Shafei, A.A., and Mattar, M.A. (2022). Daily Prediction and Multi-Step Forward Forecasting of Reference Evapotranspiration Using LSTM and Bi-LSTM Models. Agronomy, 12.10.3390/agronomy12030594 ↗
33. Forecast of Short-Term Daily Reference Evapotranspiration under Limited Meteorological Variables Using a Hybrid Bi-Directional Long Short-Term Memory Model (Bi-LSTM)10.1016/j.agwat.2020.106386 ↗
34. Multimodal Feature Extraction and Fusion Deep Neural Networks for Short-Term Load Forecasting10.1109/ACCESS.2020.3029828 ↗
35. Time-Series Production Forecasting Method Based on the Integration of Bidirectional Gated Recurrent Unit (Bi-GRU) Network and Sparrow Search Algorithm (SSA)10.1016/j.petrol.2021.109309 ↗
36. Johnson, R.K. (2011). Gregorian/Julian Calendar, Wiley.
37. Analysis of Solar and Lunar Motions in the Seonmyeong Calendar10.5140/JASS.2019.36.2.87 ↗
38. The Curious Case of the Milankovitch Calendar10.5194/hgss-10-235-2019 ↗
39. Periodic Regulation of Expression of Genes for Kisspeptin, Gonadotropin-Inhibitory Hormone and Their Receptors in the Grass Puffer: Implications in Seasonal, Daily and Lunar Rhythms of Reproduction10.1016/j.ygcen.2018.04.006 ↗
40. Euclidean Affine Functions and Their Application to Calendar Algorithms10.1002/spe.3172 ↗
41. Abdul Majid, A. (2022). Forecasting Monthly Wind Energy Using an Alternative Machine Training Method with Curve Fitting and Temporal Error Extraction Algorithm. Energies, 15.10.3390/en15228596 ↗
42. Meng, J., Dong, Z., Shao, Y., Zhu, S., and Wu, S. (2023). Monthly Runoff Forecasting Based on Interval Sliding Window and Ensemble Learning. Sustainability, 15.10.3390/su15010100 ↗
43. Forecasting Monthly Copper Price: A Comparative Study of Various Machine Learning-Based Methods10.1016/j.resourpol.2021.102189 ↗
44. Long Short-Term Memory10.1162/neco.1997.9.8.1735 ↗
45. Kremer, S.C., and Kolen, J.F. (2001). Gradient Flow in Recurrent Nets: The Difficulty of Learning Long-Term Dependencies. A Field Guide to Dynamical Recurrent Neural Networks, IEEE Press.
46. Learning Long-Term Dependencies with Gradient Descent Is Difficult10.1109/72.279181 ↗
47. A Review of Recurrent Neural Networks: LSTM Cells and Network Architectures10.1162/neco_a_01199 ↗
48. Dutta, K.K., Poornima, S., Sharma, R., Nair, D., and Ploeger, P.G. (2022). Applications of Recurrent Neural Network: Overview and Case Studies. Recurrent Neural Networks, CRC Press.10.1201/9781003307822-3 ↗
49. Moschitti, A., Pang, B., and Daelemans, W. (2014, January 25–29). Learning Phrase Representations Using RNN Encoder–Decoder for Statistical Machine Translation. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar.
50. Salem, F.M. (2022). Gated RNN: The Gated Recurrent Unit (GRU) RNN. Recurrent Neural Networks: From Simple to Gated Architectures, Springer International Publishing.10.1007/978-3-030-89929-5 ↗
51. Mateus, B.C., Mendes, M., Farinha, J.T., Assis, R., and Cardoso, A.M. (2021). Comparing LSTM and GRU Models to Predict the Condition of a Pulp Paper Press. Energies, 14.10.3390/en14216958 ↗
52. Displacement Prediction of Jiuxianping Landslide Using Gated Recurrent Unit (GRU) Networks10.1007/s11440-022-01495-8 ↗
53. Chung, J., Gulcehre, C., Cho, K., and Bengio, Y. (2014). Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modeling. arXiv.
54. Bahdanau, D., Cho, K., and Bengio, Y. (2016). Neural Machine Translation by Jointly Learning to Align and Translate. arXiv.
55. Boulanger-Lewandowski, N., Bengio, Y., and Vincent, P. (2012). Modeling Temporal Dependencies in High-Dimensional Sequences: Application to Polyphonic Music Generation and Transcription. arXiv.
56. Mienye, I.D., Swart, T.G., and Obaido, G. (2024). Recurrent Neural Networks: A Comprehensive Review of Architectures, Variants, and Applications. Information, 15.10.20944/preprints202408.0748.v1 ↗
57. Sahar, A., and Han, D. (2018, January 27–29). An LSTM-Based Indoor Positioning Method Using Wi-Fi Signals. Proceedings of the 2nd International Conference on Vision, Image and Signal Processing, Las Vegas, NV, USA.10.1145/3271553.3271566 ↗
58. Bidirectional Recurrent Neural Networks10.1109/78.650093 ↗
59. Framewise Phoneme Classification with Bidirectional LSTM and Other Neural Network Architectures10.1016/j.neunet.2005.06.042 ↗
60. Graves, A., Mohamed, A.-R., and Hinton, G. (2013, January 26–31). Speech Recognition with Deep Recurrent Neural Networks. Proceedings of the 2013 IEEE International Conference on Acoustics, Speech and Signal Processing, Vancouver, BC, Canada.10.1109/ICASSP.2013.6638947 ↗
61. Stacked Bidirectional and Unidirectional LSTM Recurrent Neural Network for Forecasting Network-Wide Traffic State with Missing Values10.1016/j.trc.2020.102674 ↗
62. An Attention-Based Stacked BiLSTM Framework for Predicting Remaining Useful Life of Rolling Bearings10.1016/j.asoc.2022.109765 ↗