Comparative robustness and interpretability analysis of MLP and random forest for multi-class weather classification in tropical regions
Main Article Content
Abstract
The stability of machine learning models remains a critical challenge in weather type classification, particularly when applied to low-variance meteorological datasets characterized by correlated atmospheric parameters. Neural network models, such as the Multi-Layer Perceptron (MLP), are known to capture nonlinear relationships effectively but may be sensitive to training–testing data partitioning. In contrast, ensemble methods like Random Forests (RFs) are designed to reduce variance through aggregation. This study systematically evaluates the stability and generalization capability of MLP and RF classifiers for multi-class weather classification (sunny, cloudy, rainy) using historical meteorological data. Experiments were conducted under three data split scenarios (80:20, 70:30, 60:40) and validated using 5-fold and 10-fold cross-validation. While MLP achieved accuracy above 96% across all scenarios, RF consistently outperformed MLP with accuracy between 98% and 99%. Importantly, cross-validation results reveal that RF demonstrates superior stability, with standard deviation values ranging from 0.00 to 0.01, compared to 0.01 for MLP. These findings confirm that ensemble-based methods provide more robust and consistent performance for meteorological classification tasks characterized by multivariate dependence and limited variance variability.
Downloads
Article Details

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors retain copyright of their work and grant Jurnal Ilmiah Teknologi Informasi Asia the right of first publication. The work is simultaneously licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0) that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
While the editorial board endeavors to ensure accuracy, they accept no responsibility for the content of articles. Liability rests solely with the respective authors.
This is an open-access journal. All articles are immediately available to read and reuse upon publication under the CC BY 4.0 license. Users may share and adapt the material for any purpose, including commercial use, provided they comply with the license terms.
References
Abdulla, N., Demirci, M., & Ozdemir, S. (2022). Design and evaluation of adaptive deep learning models for weather forecasting. Engineering Applications of Artificial Intelligence, 116, 105440. https://doi.org/10.1016/j.engappai.2022.105440 DOI: https://doi.org/10.1016/j.engappai.2022.105440
Aftab, B., Wang, Z., Wang, S., & Feng, Z. (2024). Application of a Multi-Layer Perceptron and Markov Chain Analysis-Based Hybrid Approach for Predicting and Monitoring LULCC Patterns Using Random Forest Classification in Jhelum District, Punjab, Pakistan. Sensors, 24(17), 5648. https://doi.org/10.3390/s24175648 DOI: https://doi.org/10.3390/s24175648
Aksan, F., Suresh, V., & Janik, P. (2025). PV Generation Prediction Using Multilayer Perceptron and Data Clustering for Energy Management Support. Energies, 18(6), 1378. https://doi.org/10.3390/en18061378 DOI: https://doi.org/10.3390/en18061378
Bhowmick, R., Trepanier, J. C., & Haberlie, A. M. (2023). Classification Analysis of Southwest Pacific Tropical Cyclone Intensity Changes Prior to Landfall. Atmosphere, 14(2), 253. https://doi.org/10.3390/atmos14020253 DOI: https://doi.org/10.3390/atmos14020253
Cahyani, N., Putri, W. A., & Irsyada, R. (2025). Improving Multiclass Rainfall Prediction with Multilayer Perceptron and SMOTE: Addressing Class Imbalance Challenges. Brilliance: Research of Artificial Intelligence, 4(2), 901–908. https://doi.org/10.47709/brilliance.v4i2.5203 DOI: https://doi.org/10.47709/brilliance.v4i2.5203
Ejike, O., Ndzi, D., & Shakir, M. Z. (2025). Comparative Study of Machine Learning-Based Rainfall Prediction in Tropical and Temperate Climates. Climate, 13(8), 167. https://doi.org/10.3390/cli13080167 DOI: https://doi.org/10.3390/cli13080167
Feng, J., Toth, Z., Zhang, J., & Peña, M. (2024). Ensemble forecasting: A foray of dynamics into the realm of statistics. Quarterly Journal of the Royal Meteorological Society, 150(762), 2537–2560. https://doi.org/10.1002/qj.4745 DOI: https://doi.org/10.1002/qj.4745
Mawalagedara, R., Ray, A., Das, P., Watson, J., Pal, A. K., Duffy, K., Bhatia, U., Aldrich, D. P., & Ganguly, A. R. (2025). Non-linear dynamical approaches for characterizing multi-sector climate impacts under irreducible uncertainty. Npj Climate and Atmospheric Science, 8(1), 329. https://doi.org/10.1038/s41612-025-01208-4 DOI: https://doi.org/10.1038/s41612-025-01208-4
Novogroder Idan. (2024). Data Preprocessing in Machine Learning: Steps & Best Practices. LakeFS. https://lakefs.io/blog/data-preprocessing-in-machine-learning/
Safia, M., Abbas, R., & Aslani, M. (2023). Classification of Weather Conditions Based on Supervised Learning for Swedish Cities. Atmosphere, 14(7), 1174. https://doi.org/10.3390/atmos14071174 DOI: https://doi.org/10.3390/atmos14071174
Senior-Williams, J., Hogervorst, F., Platen, E., Kuijt, A., Onderwaater, J., Tervo, R., John, V. O., & Okuyama, A. (2024). The Classification of Tropical Storm Systems in Infrared Geostationary Weather Satellite Images Using Transfer Learning. IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, 17, 5234–5244. https://doi.org/10.1109/JSTARS.2024.3365852 DOI: https://doi.org/10.1109/JSTARS.2024.3365852
Shimada, U. (2024). Tropical Cyclone Intensity Forecasting with Three Multiple Linear Regression Models and Random Forest Classification. Journal of the Meteorological Society of Japan, 102(5), 555–573. https://doi.org/10.2151/jmsj.2024-030 DOI: https://doi.org/10.2151/jmsj.2024-030
Simbo, R. T., Gogra, A. B., Kawa, Y. K., & Moiwo, P. J. (2023). Seasonal Effect of Weather Elements on Water Table Fluctuation in Potable Wells in Kono District, Eastern Sierra Leone. Open Journal of Applied Sciences, 13(11), 2198–2209. https://doi.org/10.4236/ojapps.2023.1311171 DOI: https://doi.org/10.4236/ojapps.2023.1311171
Sun, Z., Wang, G., Li, P., Wang, H., Zhang, M., & Liang, X. (2024). An improved random forest based on the classification accuracy and correlation measurement of decision trees. Expert Systems with Applications, 237, 121549. https://doi.org/10.1016/j.eswa.2023.121549 DOI: https://doi.org/10.1016/j.eswa.2023.121549
Tsagalidis, E., & Evangelidis, G. (2022). Exploiting Domain Knowledge to Address Class Imbalance in Meteorological Data Mining. Applied Sciences (Switzerland), 12(23), 12402. https://doi.org/10.3390/app122312402 DOI: https://doi.org/10.3390/app122312402
Wiguna, S., Adriano, B., Mas, E., & Koshimura, S. (2024). Evaluation of Deep Learning Models for Building Damage Mapping in Emergency Response Settings. IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, 17, 5651–5667. https://doi.org/10.1109/JSTARS.2024.3367853 DOI: https://doi.org/10.1109/JSTARS.2024.3367853
Yang, R., Hu, J., Li, Z., Mu, J., Yu, T., Xia, J., Li, X., Dasgupta, A., & Xiong, H. (2024). Interpretable machine learning for weather and climate prediction: A review. Atmospheric Environment, 338, 120797. https://doi.org/10.1016/j.atmosenv.2024.120797 DOI: https://doi.org/10.1016/j.atmosenv.2024.120797
Zhang, C. J., Chen, M. S., Ma, L. M., & Lu, X. Q. (2025). Deep Learning and Wavelet Transform Combined with Multichannel Satellite Images for Tropical Cyclone Intensity Estimation. IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, 18, 4711–4735. https://doi.org/10.1109/JSTARS.2025.3531448 DOI: https://doi.org/10.1109/JSTARS.2025.3531448
Zhang, H., Liu, Y., Zhang, C., & Li, N. (2025). Machine Learning Methods for Weather Forecasting: A Survey. Atmosphere, 16(1), 82. https://doi.org/10.3390/atmos16010082 DOI: https://doi.org/10.3390/atmos16010082