Monthly rainfall forecasting modelling based on advanced machine learning methods: tropical region as case study

Existing forecasting methods employed for rainfall forecasting encounter many limitations, because the difficulty of the underlying mathematical proceeding in dealing with the patterning and imitation of rainfall data. This study attempts to provide a robust methodology for detecting the nonlinearity of the rainfall pattern by integrating several optimizer algorithms with an Artificial Neural Network (ANN). The Artificial Bee Colony, Particle Swarm Optimization, and Imperialism Competitive Algorithm have been integrated to improve and optimize the internal parameters of the ANN method. In Malaysia, a real-world case study was set up, and the ANN model was created using 54 years (1967–2020) worth of local monthly data. The created artificial neural network method is being utilized for rainfall forecasting in real-time. A variety of network types were evaluated with various input information types with the goal of producing accurate rainfall forecasts. Statistical analysis was conducted using various statistical indicators to evaluate the model’s accuracy in forecasting rainfall. The study revealed that the model based on the integration of the Imperial Competitive Algorithm with Artificial Neural Network (ICA-ANN) outperformed other predictive models. The results confirmed that the proposed model (ICA-ANN) is a promising predictive model for forecasting monthly rainfall with high accuracy.


Introduction
For the planning and management of water resources, accurate rainfall data is critical.Rainfall also has a significant impact on transportation, sewage systems, as well as other human activities in metropolitan settings.Nonetheless, due to the complicated of climatic processes that generate rainfall and the huge variety of variability across multiple spatiotemporal scales, rainfall is one of the most challenging parts of the hydrological cycle to comprehend and analyze (Asadi et al., 2013;Kashiwao et al., 2017).There have been many improvements in weather prediction in the last few decades, but reliable rainfall forecasting remains one of the most difficult tasks in operational hydrology (Ramal et al., 2022;Whigham & Crapper, 2001).
It should be noted that the state of Malaysia is located in the tropical region.Therefore, the rainfall parameter is a determining factor in many fields such as agriculture and water resources management.As a result, efforts should be made to improve rainfall forecasts using robust predictive models.However, rainfall forecasting is CONTACT Mohammed Falah Allawi mohmmd.falah@gmail.comcurrently unsatisfactory, owing to inaccuracies in baseline circumstances, parameterization techniques for subscale phenomena, and spatial resolution limitations (Zin et al., 2013).
Researchers put forth a number of inadequate predicting strategies.As a result, it is essential to understand the weather from a wider angle.Forecasting rainfall is difficult because of the seasonal rainfall and its quantity (Adham et al., 2019).Empirical and dynamical methods are the two main ways used to forecast rainfall.The initial method made predictions using the connections between historical data from the past.For the purpose of predicting the climate, regression and artificial neural networks were used (kadhim et al., 2022).The second method forecasted seasonal rainfall using statistical and physical models.Researchers in many fields have recently developed successful prediction and classification models using machine learning (ML) methods like regression, support vector machines (SVM), and knearest neighbours (KNN) (Coulibaly et al., 2005;Kibler & Langley, 1988).Despite significant technological improvements, reliable and precise forecasting has continued to be a major cause for concern, owing to the magnitude of the problem.To develop decent rainfall forecasting with improved accuracy, a range of strategies have been used, among them a variety of dynamical and empirical or combination techniques (Davolio et al., 2008).Rainfall can be forecast using dynamical approaches, which rely on physical methods based on a system of equations, like the Multi-variable Polynomial Regression (MPR) developed by Zaw and Naing (2008) (Zaw & Naing, 2008).Scientists have also devised mathematical methods to estimate pressure and temperature variations.The empirical techniques are depended on the test of historical data and its association with numerous atmospheric factors across a certain zone (Poornima & Pushpalatha, 2019).
Artificial Neural Networks (ANN), Regression, Fuzzy Logic and deep-learning methods are widely employed by past studies for data fitting and time series data analytics.Predictions of climatic variables and hydrological parameters using ANN have become increasingly popular over the past few decades.For the first time, (French et al., 1992) utilized the feed-forward ANN method to forecast rainfall.(Kajornrit et al., 2012) created a fuzzy interference system for an ANN model to forecast omitted monthly rainfall that was tested on multiple stations in Thailand's northeast region and provided satisfactory results.(Patel & Joshi, 2017) created a rainrunoff simulation model using an efficient ANN model.Other research such as (Sharda & Patil, 1992;Toth et al., 2000;Wu et al., 2018) suggests that employing an appropriate ANN model could improve prediction.(Hamzaçebi, 2008) created the Seasonal Artificial Neural Network model (SANN), which was designed exclusively for predicting seasonal time series.By comparing to other techniques employed in the study, the improved network structure increased accuracy and reduced prediction error.Researchers have utilized a variety of ways to create several hybrid models for assessment (Solgi et al., 2014;Venkata Ramana et al., 2013).
It is possible that the non-stationary behaviour of time series would inundate a single ANN model in case the input variables were not pre-processed (Noori et al., 2011).Among the many preprocessing techniques available, the Wavelet Transformation (WT) is widely used to reveal previously hidden patterns in a time series.The effectiveness of neural network methods to forecast rainfall is improved by this pre-processed input.For the purpose of modelling rainfall and runoff, (Shoaib et al., 2014) developed wavelet-based hybrid network techniques, which they successfully applied to daily data spanning 10 years from the Brosna watershed in Ireland.To estimate water table depth, (Kisi & Shiri, 2011) created the wavelet-based neuro-fuzzy technique called DWT. (Venkata Ramana et al., 2013) used a hybrid model that combines ANN and wavelet approaches to anticipate rain and applied it to the data of monthly rainfall.(Wang et al., 2022b) improved the performance of machinelearning methods to forecast river streamflow.Five different models have been proposed to obtain accurate forecasting results.The study concluded that integrating Wavelet algorithm with Long Short-Term Memory method could provide high level accuracy in forecasting river streamflow.Extreme Learning Machine (ELM) method was employed to forecast hydrological drought by (Wang et al., 2022a).The results indicated that the suggested model outperformed other predictive models.
Duong and Bui (2018) proposed the Long Short-Term Memory (LSTM) model for use in forecasting rainfall measurements taken at Vietnam's Ca Mau meteorological station.When LSTM was evaluated by comparing it with seasonal artificial neural network (SANN) and ANN models, it was discovered that LSTM was the most accurate.Intensified LSTM was developed by (Poornima & Pushpalatha, 2019) to accurately forecast rainfall records.Rainfall-runoff was simulated using ANN and LSTM models by (Hu et al., 2018) in the Fen River basin from 1973 to 2003.For the purpose of predicting univariate meteorological parameters using intermediary parameters, (Salman et al., 2018) developed singlelayer and multi-layer Long Short-Term Memory (LSTM) methods for the Hang Nadim Indonesia Airport weather station.Machine Learning based on the LSTM method was applied to forecast rainfall distribution by (Chen et al., 2022).The statistical indicators revealed that the proposed model has significant ability and reliability in forecasting monthly rainfall parameter.Adaptive Neuro Fuzzy Inference System (ANFIS) has also been employed to forecast rainfall parameter by (Choubin et al., 2017).(Choubin et al., 2018) used classification and regression trees (CART) model for rainfall forecasting.The results showed that the CART model attained satisfactory forecasting results compared to other models.On the other, (Singh et al., 2022) study integrating several machine learning models with genetic algorithm.The study found that the forecasting accuracy was improved when using the hybrid model compared to the single models.
Data-driven models and artificial intelligent methods, including neural network approach are being put to use in a variety of fields for the estimation and solution of various geotechnical issues has been considerable (Bozorg-Haddad et al., 2016;Rajaee et al., 2009).Despite its capacity to solve a variety of difficult engineering problems, ANN has certain drawbacks, including lacklustre progress in training and the possibility of becoming stuck in a nearby minimum.It has been suggested that several optimization algorithms, be used to alter the bias and weight of ANN in order to optimize their effectiveness capability.The current research attempts to enhance the ANN model's performance by integrating it with reliable optimizers such as the artificial bee colony (ABC), genetic algorithm (GA), and particle swarm optimization (PSO).
The main novelty of the current study is the introduction of new hybrid model using the integration between ANN and a new optimization model namely Imperialism Competitive Algorithm (ICA) as a modelling approach to provide reliable rainfall forecasting accuracy as it has been proven its effectiveness in other engineering applications.In fact, the ICA as an optimization algorithm showed a new procedure mathematical process achieving the global optima rather than trapping in a local optima in the searching domain.The ICA method has demonstrated exceptional performance as an optimizer in a variety of applications and technical specialties.By combining the ICA technique with machine learning, various factors can be investigated to enhance the model.This is because using the ICA method as a springboard to develop an early solution or as a tool to encourage exploration or exploitation could enhance the search process for the data's ideal condition.Utilizing the ICA simultaneously is one consideration that should be made in order to speed up the search and produce solutions that are of a higher quality.
The mixture of these methods has been proposed to optimize ANN as much as feasible, and they have proven effectiveness in performing their defined duties in several sectors of engineering and science.The current article employs three hybrid intelligent systems to forecast rainfall parameters.They've been changed in such a way that they can forecast rainfall data across several zones.Additionally, this study compares the findings produced by these three built-in hybrid models in order to determine which models are best suited for rainfall data in the tropical region.The fundamentals of the used intelligent techniques will be described next, followed by some information about field rainfall tests and databases.

Case study
Peninsular Malaysia, often known as West Malaysia (100°E-104°E, 1°N-7°N), has area around of (131598) square kilometres (AlDahoul et al. 2022).Figure 1 shows the case study area and the location of the rainfall stations.In fact, there are two main monsoons in Malaysia that are the Northeast and the Southwest.The first monsoon starts from November to February while the second monsoon lasts from May to August.Rainfall often falls in the central region during the monsoon seasons (March to April and September to October).This analysis used monthly rainfall data from the Malaysian Department of Irrigation and Drainage (DID) (Figure 1).The observed data records for the Ldg Getah Kukup Pontian station span 54 years, from January 1967 to December 2020.The station is situated at longitude 1°21 00 N and latitude 103°27 36 E in the Pontian Kecil River Basin in Johor, southern Malaysia.Rainfall in the 135 square kilometre catchment area is difficult to forecast because of large amounts of rainfall during the southwest and northeast monsoons, the two main monsoon seasons (Irwanto et al., 2014;Zainal et al., 2002).

Artificial neural network
In essence, a mathematical model called an artificial neural network (ANN) imitates the cognitive processes of the human brain.In practice, ANN simulates one or more output(s) in order to reveal the complex interrelationships between variables (Allawi & El-Shafie, 2016;Tabari et al., 2010).An ANN model is composed of three main components: activation function, connected links and mathematical rules.These components can be selected based on the type of problem being studied, and their weights are changed to train the network.The output layer, multiple hidden layers, and many input layers represent the three successive layers of nodes that form a multi-layer perceptron (MLP), which is a kind of feeder neural network.Each one consists of a unique collection of neurons with unique mathematical relationships (Allawi et al., 2018).
Numerous methods have been developed to train neural networks iteratively (Ali et al., 2022).Back propagation (BP) is the method that is most frequently employed when using MLP-learning algorithms (Kamel et al., 2021).By switching the input weights between the mathematical nodes succeeding layers, this method produces a single output at the end of each epoch.Each node's net weighted input net j is calculated as the following: Two factors represented by x i while the symbol (w i ) indicate an incoming signals and weights for the ith node.The total number of the input variables is represented by symbol (n).The threshold used in the layers is determined by such option.An activation function, like a sigmoid, linear function, or step, is applied to this net input.This is considered to as a training method in technical terms.The output error is then calculated by comparing the projected outputs to the actual outputs (Sulaiman et al., 2019; Wu et al., 2014;Yaseen et al., 2015).Eventually, the generated mistake is transmitted backwards through the network in order to fine-tune the individual weights.Backward pass is the name given to this stage.The performance of network is calculate using a suitable statistical function, such as root-mean-square error (RMSE), throughout each training epoch.The weight update process continues until the RMSE falls below a predetermined threshold.It's vital to note that insufficient number of datasets can cause over fitting during the ANN model's training procedure (Hatem, 2022;Wu et al., 2005).

Imperialism competitive algorithm
Atashpaz-Gargari and Lucas (Atashpaz-Gargari & Lucas, 2007) developed the imperialism competitive algorithm (ICA), a population-based global search algorithm that can be used to solve science and engineering challenges.As other methods, ICA begins with a random nation (initial population) to solve an optimization problem.When N countries (also known as N country ) are established, the ones with the objective functions or lowest costs, such as RMSE, become imperialists (N imp ), while the rest become colonies (N col ).Because all colonies are distributed and match to the empires' initial power, it is clear that addition colonies attracts more intense imperialists (lowests RMSE).Several method operators that act in ICA include assimilation, revolution and competition, to name a few.A colony can acquire a superior state than its imperialist state through assimilation and revolt, and thereby take over the place of the prior imperialist's entire imperial controller.
Competitive operators, on the other hand, desire to take in additional colonies, so each empire tries to snare colonies from other.At such a level, any hegemony colony might have at least one of the weaker empires, so the strength of the empire is the most important factor at such moment.The process will be complete when all other empires, except for the strongest, have collapsed, or the user-specified termination criterion has been reached (desirable RMSE or maximum number of decades or else).It's worth noting that the number of decades in ICA, denoted N decade , is theoretically equivalent to the number of repeats in the PSO method.This work, however, will not present a mathematical description of ICA.

Particle swarm optimization
The optimization of particle swarm computation approach is developing by Kennedy and Eberhart (Kennedy & Eberhart, 1997) for optimum continuous problems (PSO).PSO is means an approach for nonlinear inspired by social systems like fish shoals.PSO is a method consisting of a number of randomly arranged particles.Another iteration stage of the PSO algorithm is the search for the optimum value/goal.The particles modify their placements in this stage based on their own experiences as well as those of other particles (Kennedy & Eberhart, 1997).
To reach the ideal position, all particles follow their own personal best position (PBEST) and the global best position (GBEST) via other particles.Each particle wants to move closer to its own PBEST and GBEST throughout training, which are determined by a new velocity term and the separation between its best locations during the learning stage.As a result, the new velocity value determines the new position of the particle in the subsequent iteration (Armaghani et al., 2014).Equation (2) and Equation (3) are utilized in the PSO to determine the real movement of the particles through its velocity vector, whereas Eq. 3 adjusts the vector to the PBEST and GBEST: (2) Where, the new particle velocity and current velocity represented by V new and V respectively.P new and P are a new and current position of the particle, C 1 and C 2 indicate to the PBEST and GBEST coefficients for each particle.

Artificial bee colony
The artificial bee colony, or ABC (invented by Karaboga, 2005), is a common optimization technique that focuses on the bees's social lives, with each bee being a simple element.These components or individuals can be merged to create a complex bee colony, and this colony is then able to create the combined system for finding syrup from flowers.Every colony consists of three different bee colonies, each of them have set of responsibilities.The first group, dubbed scout, is on the lookout for fresh sources.Their responsibilities include exploring for the periphery surroundings, then looking for a source of food, once they discover it they will keep it in their memory.
After each bee has been brought back to the hive, the hive will engage in a waggle dance with the other bees to share knowledge about the sources and to reward some of them for using the sources.The second category of bees discovered in hives are the paid bees.Utilizing the available food sources is the responsibility of bees that are hired.Spectator bees are the last category of hive bees.At the conclusion of the waggle dance, where the bees exchange information, these bees in the hive choose the source depending on the fitness of the response to exploit (Nozohour-leilabady & Fazelabdolabadi, 2016).ABC algorithms have been utilized in the areas of science and engineering to solve a variety of problems, including optimization and the optimizing of ANN weights and biases to reduce system errors (de Oliveira et al., 2009;Nozohour-leilabady & Fazelabdolabadi, 2016).

Hybrid model
Back propagation is a local search learning technique; hence ANNs' optimal search process rarely produces good outcomes.Therefore, using OAs to modify the bias and weight of the ANN may enhance forecasting of ANN performance.ANNs often have local minimums that are more likely to converge, while OAs can also find global minimums.Therefore, hybrid systems such as imperial, swarm and bee take advantage of all the research characteristic of the ANN method.In these hybrid models, ANN seeks outcomes that are perfect for the system, whereas ICA, PSO and ABC hunt for a minimization problem in the search space.

Evaluation indicators
The efficacy of the proposed methods built for rainfall forecasting in this research that could be determine using a variety of statistical methodologies.The decision of which performance evaluation indicators to utilize is significantly influenced by the frameworks employed in a work and their results.This study employed a number of statistical tests, including the Root Mean Squared Error (RMSE), Mean Absolut Error (MAE), Coefficient of Determination (R 2 ), percentage of relative error (%RE) and Nash Sutcliffe Efficiency (NSE), to evaluate the effectiveness of our novel approach (Nash & Sutcliffe, 1970).
Where (R a ) is average actual rainfall, n represents the number of data, and R a and R f are the actual and forecast rainfall records obtained by proposed models, respectively.
The R 2 value refers to the degree of correlation between the forecasted values and observed.The degree      of similarity between the two variables is represented by this coefficient of determination.A higher score (near to 1) suggests greater resemblance, whereas a lower value (closer to −1) indicates the opposite.RMSE or, the squared errors mean value square root, is a measurement of the average distance between the regression line and data points.The NSE is a metric that assesses a model's ability to forecast measured data.NSE ranges from −È to 1 (Cinar et al., 2018;Shoaib et al., 2014Shoaib et al., , 2016)).

Results and discussion
Four different data-driven models were applied to forecast monthly rainfall data.Eleven summer and winter seasons in Malaysia, from 2010 to 2020, were included in the testing period.To help the data-driven models learn the different monsoon production mechanisms individually, the time series were divided into two seasons.The winter season includes the months of December, January and February.While, the months of June, July and August can be considered the summer season in Malaysia.
As there is 'no rule of thumb' for that, it is required to find the optimal internal parameters and pertinent input variables used to build and evaluate the final model in order to create an efficient machine-learning model.In actuality, the problem under examination will probably affect this optimization.
Figures 2-5 compare actual rainfall with forecasts made using the ANN, PSO-ANN, ABC-ANN, and ICA-ANN models.Only one meteorological station was chosen for each summer and winter month under study to qualitatively analyze the forecast.
Figure 2-3 presented the pattern of the actual rainfall data compare to forecasted data during June and July months.It was found that the predictive methods ICA-ANN, PSO-ANN, and ABC-ANN forecast the actual rainfall periods but not necessarily their intensity.The proposed models accurately forecast the actual period of continued rainfall in June and July, while the ANN and ABC-ANN models underestimated or overestimated the values.However, in June, the PSO-ANN estimate was much higher than the actual number.
The pattern of the rainfall parameter against the forecasted data by the proposed models for the month of August is presented in Figure 4.It can be seen that all predictive models suffered to forecast the data of August 2016 and 2018, as they had the worst forecasts for such months.This may be due to the lack of such values during the training period.The results reveal that ANN and PSO-ANN made overestimated forecasts.Overall, the ICA-ANN model was better than other models in forecasting rainfall parameter for the month of August.
Figure 5 displays the forecasted values versus actual data for the month of December.The pattern of the forecasted data obtained by ANN model is slightly far from actual data.It should be noted that ABC-ANN attained good forecasts at times during testing period.Figure 5 shows that ICA-ANN has a high ability to simulate and follow the actual pattern.
During the study period, January has exceptionally the high amount of rainfall (Figure 6).In this scenario, the ICA-ANN forecast model significantly underestimated the rainfall over most time, including the extreme peak.On the other hand, it correctly forecasted a lone occurrence that the other models did not.It can be seen that the PSO-ANN method only estimated few periods of rain and indicated high overestimation in the first three months of the testing period (Jan 2010, Jan 2011 and Jan 2012), while the ICA-ANN forecasted more accurate forecasting than other predictive methods.
Figure 7 depicts the forecasted February rainfall during the study period comparing the actual data.It was found that the ANN overestimated the rainfall more than the other models.Both the ANN and ABC-ANN methods, particularly in February 2015 and February 2017, yielded poor results.The observed rainfall times, however, were forecasted by ICA-ANN, though their levels were slightly overstated.Overall, the ICA-ANN model forecasted rainfall data during the winter with higher accuracy than other predictive models.
It is important to note that cold fronts were responsible for the prolonged spells of rainfall that Malaysia experienced during the summer.In this type of scenario, both the ANN and ABC-ANN models captured the observed rainfall data, but the isolated peaks were not.It is anticipated that the ICA-ANN and PSO-ANN do capture the rainy times, despite the fact that the data used to train and validation the proposed were complicated.However, because of its nonlinearity, the ICA-ANN was able to forecast several isolated peaks and more rainy days than the other suggested models.
The analysis of statistical indicators is presented to give an overall picture of the ability to forecast rainfall using ANN, ABC-ANN, PSO-ANN and ICA-ANN for several months.For each summer months of the study period, Tables 1 and 2 provide NSE and BIAS values that are computed between the actual and projected rainfall data.
In most cases, the values of the Nash coefficient were small when using ICA-ANN compared to those obtained from other predictive algorithms for the summertime (Table 1).Only in July, PSO-ANN had a smaller Nash coefficient compared to the ANN model.The ABC-ANN and ANN models had relatively similar performance and behaviour during July and August.It can be seen that  forecasting results based on the Nash index showed that ICA-ANN is a reliable tool for rainfall forecasting.
The mean forecast error (MFE) across all forecasts is represented by the BIAS.It reflects the overall average tendency (not the value) of a collection of the forecasting established using either confirmed analysis or observable data.Average errors that are positive or negative suggest overestimation (underestimation).Individual estimate inaccuracies may delete each other out because each estimate may be negatively or positively biased.Because of this, the BIAS does not by itself represent forecast accuracy.The mean estimate deviation from observed data is measured by the MAE, a non-negative quantity, whereas on the other hand.Additionally nonnegative, the RMSE is more susceptible to significant forecasting error than the MAE.For the good forecasting, the MAE, RMSE and BIAS magnitudes should be near Zero.
The RMSE and MAE for the ANN, ABC-ANN, PSO-ANN and ICA-ANN models throughout the dry summer are compared in Figure 8.The PSO-ANN model In certain instances, the MAE and RMSE values were generally lower, and Nash Sutcliffe Efficiency was greater than that of some models.Strong expectations are indicated by a poor BIAS, low RMSE, and low MAE.However, a strong predictor can have a low BIAS value but large MAE and RMSE values (if the forecasted values are not highly related with the actual data) or a relatively large BIAS value but lower MAE and RMSE values (in case the forecasting are good associated with the actual data).
Table 3 presents the Nash Sutcliffe Efficiency (NSE) values of the proposed methods during winter season.The NSE values of the winter measurements period were, on average, higher in both December and February when using the ICA-ANN and PSO-ANN models, which performed better in these months.Comparing the ICA-ANN and PSO-ANN models, the ICA-ANN model achieved high NSE value for the wintertime.
The BIAS readings for each month during winter season were unique as shown in Table 4.By highlighting to the ANN and ABC-ANN models, the December    The best method for identifying changes in climatic and hydrologic data series is trend analysis.Nonparametric tests are frequently employed to find trends in time series (Uddin et al., 2022).The suggested model achieved a good trend and correlation between the forecasted and actual data.In this context, the percentage of relative error and trend line are shown in Figure 11.The results showed that ICA-ANN achieved satisfactory prediction results, with the maximum error being +28.01% in February.The best results were achieved when forecasting rainfall data for the month of June, where the error was less than 15%.The relative error indicator confirmed the reliability and ability of ICA-ANN in forecasting rainfall data.
To ensure the reliability of the proposed models in this study, comparison analyses have been conducted against the previous study.The study of (Beheshti et al., 2016) combined Chaos Adaptive Particle Swarm Optimization Algorithm (CAPSO) with the MLP to forecast rainfall within the Johor river basin.Basically, the comparison analyses between the current study and the study by (Beheshti et al., 2016) was carried out based on the common statistical indicators as shown in Table 5.The RMSE, MAE and NSE were adopted to compare the performance of the current best model with that best model proposed by previous study.Forecast results for January and June which are examples of winter and summer months, respectively, were used for comparison.It can be depicted that the current model (i.e.ICA-ANN) achieved lower RMSE and MAE compared to the previous model (i.e.CAPSO-MLP).Furthermore, the NSE indicator revealed that the ICA-ANN had higher agreement between forecasted and actual rainfall data than the CAPSO-MLP model.This comparison supported the reliability and capability of the ICA-ANN as a robust predictive model for rainfall forecasting in Johor river basin.

Conclusion
The study proposed for integrating between ANN model with three different optimization algorithms to forecast the rainfall parameter.The comparison was done between the ability of ANN, ABC-ANN, PSO-ANN and ICA-ANN models.Analysis for the models' performance has been made using several statistical indicators.The suggested predictive models were applied for rainfall forecasting in Malaysia during summer (June, July and August) and winter (December, January and February) seasons.
An analysis of the models' performance shows that the ANN and ABC-ANN achieved acceptable forecasting results in several times.The results revealed that the PSO-ANN did not succeed in providing good and accurate forecasts.On the other hand, the evaluation indicators imply that ICA-ANN yields more accurate forecasts.
It can be seen that the optimization algorithms have improved the forecasting results.In fact, the behavioural nature of ANN as a forecaster model turns it insufficient to produce adequate forecasts for a parameter with extremely non -linear physics.By integrating with optimization algorithm, the predictive model became more reliable and suitable tool for rainfall forecasting.
Despite of the proposed model (ICA-ANN) provided satisfactory forecasting results in the current research, the study has some limitations and shortcomings which can be addressed in the future studies.The suggested model suffered in mimicking the extreme values in some times.Accordingly, the present methodology needs further enhancement to capture the global optima.The following recommendation may improve model performance and its capability for rainfall forecasting.According to previous studies, it is necessary to conduct a study using different time scales to forecast rainfall coefficient.This method combines physical and climatic data into the proposed modelling, where variability has a significant impact on the rainfall pattern.For some regions, there is a significant influence with respect to special hydrological parameters such as runoff, evapotranspiration, and temperature.Thus, such parameters should be considered in the rainfall modelling for a better understanding of the rainfall coefficient pattern.Considering other machinelearning method such as (SVR, LSTM and CNN) for rainfall forecasting may yield satisfactory results.

Figure 1 .
Figure 1.The case study region and rainfall gauging stations.

Figure 2 .
Figure 2. Actual rainfall versus forecasted data obtained by predictive models for the month of June.

Figure 3 .
Figure 3. Actual rainfall versus forecasted data obtained by predictive models for the month of July.

Figure 4 .
Figure 4. Actual rainfall versus forecasted data obtained by predictive models for the month of August.

Figure 5 .
Figure 5. Actual rainfall versus forecasted data obtained by predictive models for the month of December.

Figure 6 .
Figure 6.Actual rainfall versus forecasted data obtained by predictive models for the month of January.

Figure 7 .
Figure 7. Actual rainfall versus forecasted data obtained by predictive models for the month of February.

Figure 8 .
Figure 8.The statistical characteristics including RMSE and MAE obtained by predictive models.

Figure 9 .
Figure 9.The statistical characteristics including RMSE and MAE obtained by predictive models.

Figure 10 .
Figure 10.The correlation coefficient between actual and forecasted values during winter and summer season for ICA-ANN model.
Figure 9.It could be observed that the worst forecasting results have been obtained by PSO-ANN whiling all months.The performance of the ICA-ANN and ABC-ANN according to MAE is relatively close for December month.Overall, the ICA-ANN model forecasted rainfall data with high level accuracy compared to other predictive models, based on the RMSE and MAE indicators.The ability score for these seasons shows that the RMSE and MAE of the ICA-ANN were lower during the summer.The June month saw the biggest improvement during the summer, RMSE and (MAE) errors have been reduced.The average forecasting errors (RMSE and MAE) for ICA-ANN forecast were (17.5 mm/month) during the winter season.The performance score graphs for the ICA-ANN model over the summer and winter are shown in Figures 10.An increase in ICA-ANN performance over all predictive models, both in the summer and the winter,

Figure 11 .
Figure 11.The percentage relative error between the actual and forecasted data using ICA-ANN model. is indicated by a positive skill score.The forecast of the ICA-ANN model was near to the actual rainfall data in most values.It is noted that the model's predictive ability during the winter is better than the model's predictive ability during the summer season.The best method for identifying changes in climatic and hydrologic data series is trend analysis.Nonparametric tests are frequently employed to find trends in time series(Uddin et al., 2022).The suggested model achieved a good trend and correlation between the forecasted and actual data.In this context, the percentage of relative error and trend line are shown in Figure11.The results showed that ICA-ANN achieved satisfactory prediction results, with the maximum error being +28.01% in February.The best results were achieved when forecasting rainfall data for the month of June, where the error was less than 15%.The relative error indicator confirmed the

Table 1 .
Nash Sutcliffe Efficiency indicator for the predictive models during summer season in Malaysia.

Table 2 .
BIAS indicator for the predictive models during summer season in Malaysia.

Table 3 .
Nash Sutcliffe Efficiency indicator for the predictive models during winter season in Malaysia.

Table 4 .
BIAS indicator for the predictive models during summer season in Malaysia.

Table 5 .
Comparison the obtained best results with the previous study.