Journal of Intelligent Systems and Internet of Things JISIoT 2690-6791 2769-786X 10.54216/JISIoT https://www.americaspg.com/journals/show/3443 2019 2019 Weekly and Monthly Forecasting Rainfall Model based on LSTM University of Babylon, College of science for Women, Department of Computer Science, Babylon, Iraq Kifah Kifah University of Babylon, College of Education for Human Sciences, Department of Geography, Babylon, Iraq Hadab Khalid Obayes The climate of Iraq has become increasingly variable in recent years, characterized by high temperatures and low rainfall. Rainfall plays a crucial role in agriculture in Iraq and thus affects the economy. Rainfall prediction has become essential for the favorable management of rainfall in various aspects of life. In this research, weather data were collected from Hilla station of the Climate Department of the General Authority of Meteorology and Seismology in Iraq for the period from 2012 to 2022. The data consist of several columns: date, wind speed, maximum temperature, minimum temperature, relative humidity, sea pressure, normal temperature, and rainfall. The time series data used with the long short-term memory method represents one of the most effective applications of deep learning techniques. Two LSTMs were trained the first time using all available features, which are 6 features, in addition to training the LSTM and the inputs were the influential features that gave high values in the correlation matrix (wind speed, sea pressure, and relative humidity) to achieve accuracy and reduce the prediction error of rainfall. The weekly and monthly forecasts made with the influential features outperformed the forecasts made with all features. The evaluation metric (root mean square error) showed lower error when using all data columns (RMSE = 0.05 and RMSE = 0.025) for weekly and monthly forecasts, respectively, and less errors when using only a limited number of columns (RMSE = 0.04 and RMSE = 0.01) for weekly and monthly forecasts, respectively. 2025 2025 157 166 10.54216/JISIoT.150113 https://www.americaspg.com/articleinfo/18/show/3443