Predicting Short-Range Weather in Tropical Regions Using Random Forest Classifier

Main Article Content

Sellappan Palaniappan
Rajasvaran Logeswaran
Anitha Velayutham
Bui Ngoc Dung

Abstract

In this paper, we present a Random Forest classifier machine learning model for predicting short-range weather in in tropical regions like Malaysia. Our model uses environmental factors such as temperature, humidity, wind speed, and cloud cover to predict weather conditions like clear skies, rain, and thunderstorms. Tropical weather, influenced by high humidity, fluctuating temperatures, and frequent rainfall, present unique challenges for forecasting accurately. To address these challenges, we trained a Random Forest classifier on a synthetic (simulated) dataset comprising 1,500 samples, each representing a specific weather scenario. Our model achieved an accuracy of 98.66% in predicting short-term weather conditions, identifying cloud cover, precipitation intensity, and humidity as the most influential factors. Our model’s high accuracy demonstrates its potential for predicting short-range weather conditions in tropical regions. Potential applications of the model spans sectors like agriculture, energy, tourism, disaster management, and public health. In agriculture, the model can be used to optimize irrigation schedules and crop management. In the energy sector, it can be used to optimize energy production and distribution. In disaster management, it can alert residents of impending bad weather, so they are more prepared. In the health sector, it can provide timely weather alerts and assist those who are more prone to arthritis and migraine attacks. We can enhance the model by using real-world data and regional customization.

Article Details

How to Cite
Palaniappan, S., Logeswaran, R., Velayutham, A., & Dung, B. N. (2025). Predicting Short-Range Weather in Tropical Regions Using Random Forest Classifier. Journal of Informatics and Web Engineering, 4(1), 18–28. https://doi.org/10.33093/jiwe.2025.4.1.2
Section
Regular issue

References

T. Vovk, M. Kryza, and M. Werner, “Using random forest to improve EMEP4PL model estimates of daily PM2.5 in Poland,” Atmos Environ, vol. 332, p. 120615, Sep. 2024, doi: 10.1016/j.atmosenv.2024.120615.

R. Pandey, M. Upadhya, and M. Singh, “Rainfall Prediction Using Logistic Regression and Random Forest Algorithm,” in 2024 IEEE International Conference on Computing, Power and Communication Technologies (IC2PCT), IEEE, Feb. 2024, pp. 663–668. doi: 10.1109/IC2PCT60090.2024.10486681.

M. Schnieder, “Using Explainable Artificial Intelligence (XAI) to Predict the Influence of Weather on the Thermal Soaring Capabilities of Sailplanes for Smart City Applications,” Smart Cities, vol. 7, no. 1, pp. 163–178, Jan. 2024, doi: 10.3390/smartcities7010007.

S.-C. Hsu, A. K. Sharma, R. Tanone, and Y.-T. Ye, “Predicting Rainfall Using Random Forest and CatBoost Models,” Apr. 2024. doi: 10.11159/icgre24.146.

S. Mathur, S. Kumar, and T. Choudhury, “Prognostication of Weather Patterns using Meteorological Data and ML Techniques,” EAI Endorsed Transactions on Energy Web, vol. 11, Apr. 2024, doi: 10.4108/ew.5648.

C. L. Wong, R. Venneker, S. Uhlenbrook, A. B. M. Jamil, and Y. Zhou, “Variability of rainfall in Peninsular Malaysia”, Hydrology and Earth System Sciences Discussions, vol. 6, pp. 5471-5503, 2009, doi: 10.5194/hessd-6-5471-2009.

M. T, S. S, Y. A, V. R. T, N. C, and G. P, “Hybrid Weather Forecasting: Integrating LSTM Neural Networks and Random Forest Models for Enhanced Accuracy,” in 2024 International Conference on Recent Advances in Electrical, Electronics, Ubiquitous Communication, and Computational Intelligence (RAEEUCCI), IEEE, Apr. 2024, pp. 1–5. doi: 10.1109/RAEEUCCI61380.2024.10547997.

V. Sharmila, A. R. Kannan, S. Kannadhasan, P. Sivakumar, and V. Vennila, Challenges in Information, Communication and Computing Technology. CRC Press, 2024.

K.B. Jayanthi, K. Vanitha, K. Jeevanantham, S. Jayashree, A. Kaviya Mani, Assessing the efficacy of machine learning algorithms in weather forecasting: A comparative study of Erode weather data from local weather station. CRC Press, 2025.

H. Chan and M. I. M. Wahab, “A machine learning framework for predicting weather impact on retail sales,” Supply Chain Analytics, vol. 5, p. 100058, Mar. 2024, doi: 10.1016/j.sca.2024.100058.

Y. Shen, N. Liu, S. Zhang, X. Zhu, and N. An, “Research on the refinement of atmospheric weighted average temperature model in Xi’an based on machine learning,” Advances in Space Research, vol. 75, no. 1, pp. 353–366, Jan. 2025, doi: 10.1016/j.asr.2024.09.045.

H. Chan and M. I. M. Wahab, “A machine learning framework for predicting weather impact on retail sales,” Supply Chain Analytics, vol. 5, p. 100058, Mar. 2024, doi: 10.1016/j.sca.2024.100058.

A. A. Asanjan, T. Yang, K. Hsu, S. Sorooshian, J. Lin, and Q. Peng, “Short-term precipitation forecast based on the PERSIANN system and LSTM recurrent neural networks”. Journal of Geophysical Research: Atmospheres, vol. 123, no. 22, pp. 12-543, 2018, doi: 10.1029/2018JD028375.

S. S. Soman, H. Zareipour, O. Malik, and P. Mandal, “A review of wind power and wind speed forecasting methods with different time horizons”, In Proceedings of the 2010 North American Power Symposium, Arlington, 26-28 September 2010, pp. 1-8, doi: 10.1109/NAPS.2010.5619586.

F. Sseguya , and K.-S. Jun, “Deep Learning Ensemble for Flood Probability Analysis”, Water, vol. 16, no. 21, p. 3092, 2024, doi: 10.3390/w16213092.

J. L. Goh, S. B. Ho, and C. H. Tan, “Weather-based arthritis tracking: A mobile mechanism for preventive strategies”, Journal of Informatics and Web Engineering (JIWE), vol. 3, no. 1, pp. 210-225, 2024, doi: https://doi.org/10.33093/jiwe.2024.3.1.14.

W. X. Ong, S. B. Ho, and C. H. Tan, “Enhancing migraine management system through weather forecasting for a better daily life”, Journal of Informatics and Web Engineering (JIWE), vol. 2, no. 2, pp. 201-217, 2023, doi: https://doi.org/10.33093/jiwe.2023.2.2.15."

T. Hong, P. Pinson, Y. Wang, R. Weron, D. Yang, and H. Zareipour, “Energy forecasting: A review and outlook”, IEEE Open Access Journal of Power and Energy, vol. 7, pp. 376-388, 2020, doi: 10.1109/OAJPE.2020.3029979.

K. G. Liakos, P. Busato, D. Moshou, S. Pearson, and D. Bochtis, “Machine learning in agriculture: A review”, Sensors, vol. 18, no. 8, p. 2674, 2018, doi: 10.3390/s18082674.

L. Breiman, “Random forests”, Machine learning, vol. 45, no. 1, pp. 5-32, 2001, doi: 10.1023/A:1010933404324.

Most read articles by the same author(s)