•   Emmanuel Gbenga Dada

  •   Hurcha Joseph Yakubu

  •   David Opeoluwa Oyewola


Rainfall prediction is an important meteorological problem that can greatly affect humanity in areas such as agriculture production, flooding, drought, and sustainable management of water resources. The dynamic and nonlinear nature of the climatic conditions have made it impossible for traditional techniques to yield satisfactory accuracy for rainfall prediction. As a result of the sophistication of climatic processes that produced rainfall, using quantitative techniques to predict rainfall is a very cumbersome task. The paper proposed four non-linear techniques such as Artificial Neural Networks (ANN) for rainfall prediction. ANN has the capacity to map different input and output patterns. The Feed Forward Neural Network (FFNN), Cascade Forward Neural Network (CFNN), Recurrent Neural Network (RNN), and Elman Neural Network (ENN) were used to predict rainfall. The dataset used for this work contains some meteorological variables such as temperature, wind speed, humidity, rainfall, visibility, and others for the year 2015-2019. Simulation results indicated that of all the proposed Neural Network (NN) models, the Elman NN model produced the best performance. We also found out that Elman NN has the best performance for the year 2018 (having the lowest RMSE, MSE, and MAE of 6.360, 40.45, and 0.54 respectively). The results indicated that NN algorithms are robust, dependable, and reliable algorithms that can be used for daily, monthly, or yearly rainfall prediction.

Keywords: Rainfall Prediction, Feed Forward Neural Network (FFNN), Cascade Forward Neural Network (CFNN), Recurrent Neural Network (RNN), Elman Neural Network (ENN)


J. Yang, H. Lin, Z. Guo, and J. Jiang, “A data mining approach for heavy rainfall forecasting based on satellite image sequence analysis”, Computers Geosciences, vol. 33, no 1, pp. 20–30, 2007.

W. Hong, “Rainfall forecasting by technological machine learning models”, Applied Mathematics and Computation, vol. 200, no. 1, pp. 41–57, 2008.

P.W. Li, and E.S.T. Lai, “Short-range quantitative precipitation forecasting in Hong Kong”, Development, vol. 288, no. 1–2, pp. 189–209, 2004.

J. Pucheta, D. Patino, and B. Kuchen, “A statistically dependent approach for the monthly rainfall forecast from one point observations”, in D. Li and Z. Chunjiang (Eds.), Computer and Computing Technologies in Agriculture II, Volume 2, IFIP Advances in Information and Communication Technology, vol. 294, Springer, Boston, MA, pp. 787–798, 2009.

D.P. Solomatine, and A. Ostfeld, “Data-driven modelling: Some past experiences and new approaches”, Journal of Hydro informatics, vol. 10, no. 1, pp. 1-3, 2008.

P. A. Adigun, and E. P. Ebiendele, “Seasonal Rainfall Prediction in Lagos, Nigeria Using Artificial Neural Network”, Asian Journal of Research in Computer Science, vol. 3, no. 4, pp. 1-10, 2019.

D. L. Shrestha, and D.P. Solomatine, “Machine learning approaches for estimation of prediction interval for the model output”, Neural Networks, vol. 19, no. 2, pp. 225–235, 2006.

A. Smola, and S. Vishwanathan, Introduction to Machine Learning. Cambridge: The Press Syndicate of the University of Cambridge, 2008.

E.G. Dada, J.S. Bassi, H., Chiroma, M.A. Shafi’i, A.O. Adetunmbi, and O.E. Ajibuwa, “Machine learning for email spam filtering: review, approaches and open research problems”, Heliyon, vol. 5, no. 6, 2019, p.e01802.

G. J. Sawale, and S. R., “Gupta, Use of artificial neural network in data mining for weather forecasting”, International Journal of Computer Science And Applications, vol. 6, no. 2, pp. 383-387, 2013.

K. C. Luk, J. E. Ball, and A. Sharma, “A study of optimal model lag and spatial inputs to artificial neural network for rainfall forecasting”, Journal of Hydrology, vol. 227, no. 1-4, pp. 56-65, 2000.

J. Beltrn-Castro, J. Valencia-Aguirre, M. Orozco-Alzate, G. Castellanos-Domnguez, and C. M. Travieso-Gonzlez, “Rainfall Forecasting Based on Ensemble Empirical Mode Decomposition and Neural Networks”, In Ignacio Rojas, Gonzalo Joya, and Joan Gabestany, editors Advances in Computational Intelligence, number 7902 in Lecture Notes in Computer Science, page 471–480, 2019. Springer Berlin Heidelberg.

K. Abbishek, A. Kumar, R. Ranjan, and S. Kumar, “IEEE Control and System Graduate Research Colloquium”, A Rainfall Prediction Model Using Artifical Neural Network, pp. 82-87, 2012.

J. N. Liu, B. N. Li, and T. S. Dillon, “An improved naive Bayesian classifier technique coupled with a novel input solution method [rainfall prediction]”, IEEE Transactions on Systems, Man, and Cybernetics, Part C (Applications and Reviews), vol. 31, no. 2, pp. 249-256, 2001.

J. N., Liu, Y. Hu, J. J. You, and P. W. Chan, “Deep neural network based feature representation for weather forecasting”, In Proceedings on the International Conference on Artificial Intelligence (ICAI) (pp. 1). The Steering Committee of The World Congress in Computer Science, Computer Engineering and Applied Computing (WorldComp), 2014.

A. Grover, A. Kapoor, and E. Horvitz, “A deep hybrid model for weather forecasting”, In Proceedings of the 21th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 379-386, 2015.

K. Hornik, M. Stinchcombe, and H. White, “Multilayer feedforward networks are universal approximators”. Neural networks, vol. 2, no. 5, pp. 359-366, 1989.

M. Lashkarbolooki, B. Vaferi, A. Shariati, A. Z. Hezave, “Investigating vapor–liquid equilibria of binary mixtures containing supercritical or near-critical carbon dioxide and a cyclic compound using cascade neural network”, Fluid Phase Equilibria, vol. 343, pp. 24-29, 2013.

U. B. Filik, and M. Kurban, “A new approach for the short-term load forecasting with autoregressive and artificial neural network models”, International Journal of Computational Intelligence Research, vol. 3, no. 1, pp. 66-71, 2007.

M. H. Beale, M. T. Hagan, and H. B. Demuth, “Neural network toolbox user’s guide”, The MathWorks Inc, vol. 103, 1992.

M. Lashkarbolooki, Z. S. Shafipour, and A. Z. Hezave, “Trainable cascade-forward back-propagation network modeling of spearmint oil extraction in a packed bed using SC-CO2”, The Journal of Supercritical Fluids, vol. 73, pp. 108-115, 2013.

B. K. Chauhan, A. Sharma, and M. Hanmandlu, “Neuro-Fuzzy Approach Based Short Term Electric Load Forecasting”, In 2005 IEEE/PES Transmission & Distribution Conference & Exposition: Asia and Pacific (pp. 1-5), (2005, August).

W. Jia, D. Zhao, T. Shen, Y. Tang, and Y. Zhao, “Study on optimized Elman neural network classification algorithm based on PLS and CA”, Computational intelligence and neuroscience, 2014.

J. L. Elman, “Finding structure in time”, Cognitive science, vol. 14, no. 2, pp. 179-211, 1990.


Download data is not yet available.


How to Cite
Dada, E.G., Yakubu, H.J. and Oyewola, D.O. 2021. Artificial Neural Network Models for Rainfall Prediction. European Journal of Electrical Engineering and Computer Science. 5, 2 (Apr. 2021), 30-35. DOI:https://doi.org/10.24018/ejece.2021.5.2.313.