Next Article in Journal
A Hybrid Degradation Evaluation Model for Aero-Engines
Next Article in Special Issue
Pioneer Use of Pseudo Sub-Daily Timestep Model for Rainwater Harvesting Analysis: Acceptance over Hourly Model and Exploring Accuracy of Different Operating Algorithms
Previous Article in Journal
Physical Education and Development of Locomotion and Gross Motor Skills of Children with Autism Spectrum Disorder
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Modeling of Fuzzy Cognitive Maps with a Metaheuristics-Based Rainfall Prediction System

1
Department of Computer Science, College of Computer Engineering and Sciences, Prince Sattam bin Abdulaziz University, Al-Kharj 16273, Saudi Arabia
2
Department of Electrical Engineering, College of Engineering, Princess Nourah bint Abdulrahman University, Riyadh 11671, Saudi Arabia
3
Department of Industrial Engineering, College of Engineering at Alqunfudah, Umm Al-Qura University, Mecca 24382, Saudi Arabia
4
Department of Information Systems, College of Computer and Information Science, Majmaah University, Al-Majmaah 11952, Saudi Arabia
5
Department of Electrical Engineering, Faculty of Engineering and Technology, Future University in Egypt, New Cairo 11845, Egypt
6
Department of Computer and Self Development, Preparatory Year Deanship, Prince Sattam bin Abdulaziz University, Al-Kharj 16278, Saudi Arabia
*
Author to whom correspondence should be addressed.
Sustainability 2023, 15(1), 25; https://doi.org/10.3390/su15010025
Submission received: 16 October 2022 / Revised: 14 December 2022 / Accepted: 15 December 2022 / Published: 20 December 2022
(This article belongs to the Special Issue Sustainable Rainwater Management: Challenges and Perspectives)

Abstract

:
Rainfall prediction remains a hot research topic in smart city environments. Precise rainfall prediction in smart cities becomes essential for planning security measures before construction and transportation activities, flight operations, water reservoir systems, and agricultural tasks. Precise rainfall forecasting now becomes more complex than before because of extreme climatic changes. Machine learning (ML) approaches can forecast rainfall by deriving hidden patterns from historic meteorological datasets. Selecting a suitable classification method for forecasting has become a tough job. This article introduces the Fuzzy Cognitive Maps with a Metaheuristics-based Rainfall Prediction System (FCMM-RPS) technique. The intention of the FCMM-RPS technique is to predict rainfall automatically and efficiently. To accomplish this, the presented FCMM-RPS technique primarily pre-processes the rainfall data to make it compatible. In addition, the presented FCMM-RPS technique predicts rainfall using the FCM model. To enhance the rainfall prediction outcomes of the FCM model, the parameter optimization process is performed using a modified butterfly optimization algorithm (MBOA). The performance assessment of the FCMM-RPS technique is tested on a rainfall dataset. A widespread comparison study highlights the improvements of the FCMM-RPS technique in the rainfall forecasting process compared to existing techniques with a maximum accuracy of 94.22%.

1. Introduction

Rainfall is the most significant phenomenon within a climate system and its chaotic nature has a direct effect on biological systems, water resource planning, and agriculture [1]. In finance, the rainfall level for a specific period is essential to predict the value of financial security. Currently, the abilities of scientists in predicting and understanding rainfall have been augmented because of several methods formulated to raise the precision level in rainfall prediction [2]. Rainfall forecasting is useful to prevent floods, which saves the properties and lives of humans. Additionally, it aids in managing water resources. Data for information relating to rainfall in advance assists agriculturalists in managing their crops better [3]. Variation in rainfall quantity and timing makes rainfall prediction a difficult task for weather-related scientists [4]. Rainfall derivatives share the same principles with other regular and climate variations. It is the agreement between two or more, in which the contract value relies on the basic financial asset. Therefore, in the case of rainfall prediction, the basic asset will be a climate type, like rainfall [5]. One important variance among weather and common derivatives is that the primary asset that decides the price of the contract is not tradable. Consequently, several existing techniques in the literature for other derivatives are inappropriate for predicting rainfall prediction [6].
The conventional techniques use statistical approaches to measure the correlations among rainfall, geographic coordinates (like longitude and latitude), and other elements (like wind speed, pressure, humidity, and temperature) [7]. However, the complexity of these elements and rainfall’s non-linearity make it tough to forecast. Accordingly, efforts have been made to diminish this nonlinearity by utilizing Wavelet analysis, Singular Spectrum Analysis, and Empirical Mode Decompositions, among others [8]. However, the statistical and mathematical approaches used required more time and complicated computation with minimal effects. The estimation of rainfall derivatives imposes various hindrances, both in finance and research [9]. A light amount of the literature has investigated rainfall derivatives, since the concept is new, along with the fact that rainfall is hard to measure precisely. In financial practice, investors even share similar forms of problems, deterring the trading of weather derivatives in monetary markets [10]. Thus, the aim was to formulate a technique for precise weather forecasting, which must reduce the practical risk from investors. Accurate rainfall forecasting is a challenging process because of extreme climate variations. Artificial intelligence (AI) approaches can forecast rainfall via the extraction of hidden patterns from past weather data.
Accurate rainfall prediction becomes challenging because of extreme climate variations. Particularly, precise and timely rainfall prediction can be useful for planning and security measures for flight operation, agriculture, water reservoir management, construction, and transportation activities. A red alert in advance in the case of extreme rainfall can save the citizens of smart cities from potentially life-threatening situations. AI techniques can predict rainfall by extracting hidden patterns from historical weather data. Moreover, the selection of proper classification techniques for prediction is a difficult job.
To resolve these issues, this article introduces the Fuzzy Cognitive Maps with a Metaheuristics-based Rainfall Prediction System (FCMM-RPS) technique. The intention of the FCMM-RPS technique is to predict rainfall automatically and efficiently. To accomplish this, the presented FCMM-RPS technique primarily preprocesses the rainfall data to make it compatible. In addition, the presented FCMM-RPS technique predicts rainfall using the FCM model. To enhance the rainfall prediction outcomes of the FCM model, the parameter optimization process is performed using a modified butterfly optimization algorithm (MBOA). The MBOA is chosen due to its simplicity, easy implementation, and high stability. The performance assessment of the FCMM-RPS technique is tested on a rainfall dataset.
The rest of the paper is organized as follows. Existing rainfall prediction models are discussed in Section 2, and Section 3 introduces the proposed FCMM-RPS technique. Next, Section 4 offers performance validation and Section 5 draws conclusions.

2. Related Works

Rahman et al. [11] devise a new real-time rainfall prediction system for smart cities utilizing a machine learning (ML) fusion method. This modeled structure employs four commonly employed supervised ML approaches. For effective rainfall forecasting, the fuzzy logic (FL) method was used in the structure for integrating the prediction accuracy of the ML approach called fusion. Pathan et al. [12] proposed an effective approach for predicting rainfall events for dimensionality reductions. Initially, the authors detected appropriate features from weather data that had a main contribution to rainfall forecasting utilizing a wrapper-oriented feature selection (FS) approach. Then, principal component analysis (PCA) was compiled with the complete data along with the selected feature data to minimize the data dimensionality. Poornima and Pushpalatha [13] offered an intensified long short-term memory (LSTM)-oriented recurrent neural network (RNN) for rainfall forecasting. The neural network (NN) was tested and trained with a standard rainfall dataset. The well-trained network produced estimated features of rainfall.
He et al. [14] modeled a hybrid method STL-ML (seasonal trend decomposition and ML) to forecast the rainfall time series in advance related to historic rainfall and other atmospheric data. This STL-ML method has three steps: firstly, the forecasted rainfall is acquired through the inclusion of the predicted values of the three elements, and many metrics are employed for assessing the performance of the method. Secondly, the seasonal trend decomposition is leveraged for decomposing the rainfall time series into the remainder, trend, and seasonal elements. Lastly, three different ML methods such as the LightGBM model, GRU network, and multi-time scale are formulated to forecast the three elements. In [15], artificial neural networks (ANNs) such as the Feed Forward NN (FFNN) method were framed to forecast rainfall. ANNs are considered an attractive and valuable soft-computing technique for forecasting. ANN depends on a self-adaptive system where the method learns from historic data capturing functional relationships among data and making forecasts on present data.
Wei and Chou [16] devised a Hadoop Spark distribution structure related to big-data technology for hastening the computation of typhoon rainfall forecasting approaches. This work leveraged multiple linear regression (MLR) and deep neural networks (DNNs) in ML, for enforcing rainfall forecasting approaches and assessing the accuracy level of rainfall forecasting. The Hadoop Spark distributed cluster-computing structure is the big-data technology employed. Samad et al. [17] utilized an LSTM-related RNN for forecasting rainfall. Standard datasets were employed for the testing and training of the developed method. The time series rainfall datasets were pre-processed through Additive Seasonal Decomposition to enhance the prediction analysis. The preprocessed datasets were then put through the method. ANN was applied for benchmarking the LSTM method. In spite of the several models existing in earlier studies, there is still a need to enhance the weather forecasting performance. At the same time, most of the existing works do not focus on the parameter-tuning process. The parameters in the classification model mainly influence its overall performance in the rainfall prediction process. Since the trial and error method for parameter tuning is a tedious and erroneous process, metaheuristic algorithms can be applied. At the same time, the FCM parameters can affect the performance of the fuzzy system irrespective of the significance. Therefore, in this work, MBOA is applied for the parameter optimization of the FCM model.

3. The Proposed Model

In this article, we have introduced a new FCMM-RPS technique for predicting rainfall accurately. The major aim of the FCMM-RPS technique is to forecast rainfall routinely and efficiently. It follows a three-step process: data pre-processing, FCM-based prediction, and MBOA-based parameter tuning. Figure 1 depicts the workflow of the FCMM-RPS system.

3.1. Data Pre-Processing

The presented FCMM-RPS technique primarily pre-processes the rainfall data to make it compatible. Initially, the data cleaning process takes place where the missing values in the dataset are replaced by the mean method. Then, normalization is applied to convert the data into a scalar format. In this work, min–max normalization [18] is used to normalize the input data into the range of 0 to 1. By assuming feature X , such that it contains a mapping from the dataset among X min and X max , min–max normalization X n o r m is attained by the following:
X n o r m = X X min X max X min ,

3.2. Rainfall Prediction using FCM Model

In this study, the presented FCMM-RPS technique predicts rainfall using the FCM model. In the classification method, the weather data is passed into the FCM model for the prediction process. FCM is regarded as an RNN, utilizing interpretability features that are widely applied in modeling tasks [19]. They encompass a group of neural processing entities called concept (neuron) and causal relationships. The activation value of these neurons usually takes values in the range of zero and one; thus, the stronger the activation value, the greater its effects on the model. Connected weight is pertinent in these systems. The power of the causal relationships between concepts C i and C j are measured by w i j 1 , 1 arithmetical weight and signified by a causal edge from C i to C j . There exist three possible types of causal relationships amongst neural processing units in FCM-based networks that state the impacts from a single neuron to others, as shown below:
  • If w i j > 0 , a rise (decrement) in the cause C i produces an increment (decrement) in impact C j with intensity w i j .
  • If w i j < 0 , a rise (decrement) in the cause C i produces a decrement (increment) in neuron C j with intensity w i j .
  • If w i j = 0 , there exists no causal relationships between C i and C j . These rules are reiterated until a stopping condition is fulfilled. A new activation vector can be evaluated at each step t and then a predetermined number of iterations [20]. The FCM is stated to have converged if it obtains a fixed-point attractor, otherwise, the update process ends after a maximum number of iterations T is accomplished.
A i t + 1 = f j = 1 M w j i A j t ,   i j ,
where f signifies monotonically non-reducing nonlinear functions exploited for clamping the activation value of each neuron to the interval. For example, the trivalent function, sigmoid variants, and bivalent function. Next, emphasize the sigmoid function since it has demonstrated better prediction capabilities. In the study, a non-linear transfer function is used where λ signifies the sigmoid slope and h denotes the offset. Several research workers have discovered that these parameters are closely connected with network convergence.
f A i = 1 1 + e λ A i h ,
These rules are chosen while upgrading the activation values of neuron that is not influenced by the neural processing entities.
A i t + 1 = f j = 1 M w j i A j t + A i t ,   i j ,
An alternate adapted upgrading rule was introduced to avoid the conflicts that emerged in the event of non-active neurons. The rescaled inference enables us to deal with the scenario where there exist no data regarding the initial state of the neuron and helps to avoid saturation problems.
A i t + 1 = f j = 1 M w j i 2 A j t 1 + 2 A i t 1 ,   i j ,
The model generates a similar output once the cognitive network has the capacity to converge, and the activation number of neurons remains the same. Simultaneously, a cyclic FCM generates various responses, with the exception of some states that are usually produced. The last possible scenario is related to the chaotic configuration where the network generates dissimilar state vectors.

3.3. Parameter Tuning Using MBOA

To enhance the rainfall prediction outcomes of the FCM model, the parameter optimization process is performed using the MBOA. BOA is based on the food-foraging behaviors of butterflies and is applied as a searching agent to perform optimization in BOA [21]. Butterflies have a sense receptor that is applied for smelling or sensing the odor of food or flowers. These sense receptors are named chemoreceptors and are dispersed over the butterfly’s body parts. The presented method assumes that the butterfly produces scent or fragrance with certain power or intensity. The fragrance that rises from the butterfly is sensed by the different butterflies present in the neighborhood and an aggregate social learning scheme is framed. This fragrance is related to the fitness of the butterfly, which is evaluated by the objective function. This represents that when the butterfly moves around in the searching region, the fitness could have similarly changed. When the butterfly is unable to detect the scent of others in the searching space, then it makes random strides and 1this is named a local searching technique. Then, when the butterfly senses fragrance from the optimum butterfly in the search space, it moves toward the optimum butterflies, which is named a global searching technique and can be formulated as follows:
p f i = c I a ,
In Equation (6), c represents the sensory modality, a characterizes the power exponent based on modality that is accountable for distinct levels of absorption, p f i , characterize the perceived magnitude of scent viz., how strongly the fragrance of i t h butterflies are perceived by other butterflies present in the region, and I shows the stimulus intensity. Figure 2 demonstrates the steps involved in BOA.
x i t + 1 = x i t + F i t + 1 ,
Now, F i represents the fragrance that is used by x i t h butterflies to upgrade the position during iteration and x i t signifies the solution vector x i for i t h butterflies at t iteration count. Furthermore, there exist two major stages, global and local search stages. During the global search technique, the butterfly takes a step toward the appropriate solution or butterfly g * in the following:
F i t + 1 = r 2 × g * x i t × p f i ,
In Equation (8), g * represents the existing optimum solution amongst the existing iterations, p f i denotes the perceived fragrance of i t h butterflies, and r shows the random number ranges from zero to one:
F i t + 1 = r 2 × x j t x k t × p f i ,
In Equation (9), x j t and x k t characterize j t h and k t h butterflies from the solution space. If x j t and x k t belong to a similar population and r represents the random number ranges from zero to one. A switching possibility p is employed in BOA for switching from global searching to intensive local searching. The pseudocode of BOA is demonstrated in Algorithm 1.
Algorithm 1: Pseudocode for BOA
The main function f x ,   x = x 1 ,   x 2   x d
Generate the population of n butterflies x i = i = 1 , 2   n
Define the switch probabilities p , sensor modality c , and power exponents a
while ending criteria are not satisfied do
  for every butterfly bf from the population do
    Calculate the fragrance to bf based on Equation (6)
  end for
  Determine the optimal bf
  for every butterfly bf from the population do
    Generate the arbitrary value rand within 0 and 1
    if r a n d < p then
      Move near the optimal butterfly
    else
      Move arbitrarily based on Equations (7) and (9)
    end if
    Evaluate a novel butterfly
    If the novel butterfly is optimal, upgrade it from the population
  end for
  Upgrade the value of c
  Determine the existing global optimal butterfly
end while
Output the optimal solution.
In the MBOA, the BOA is integrated into the Levy Flight (LF) concept. The LF monitors the rule of the Levy distribution of several arbitrary phenomena like random walk, Brownian motion, and so on [22]. Presently, LF is frequently employed in intelligent optimization. For instance, the BOA implements LF for updating the place. LF develops the searching space, therefore it can be simpler to avoid premature convergence by introducing LF into the MBO approach.
LF place upgrades to:
x i t + 1 = x j t + α L e v y λ f x j t f v i t + 1 v i t + 1 f χ i t > f v i t + 1 ,
where x i t defines the t t h generation place of x i , implies the dot multiplication, α denotes the step size control parameter, and Levy ( λ ) implies the arbitrary searching path that fulfills:
L e v y u = t λ ,   1 < λ 3 ,
The step size observes the Levy distribution, and step size s is computed as:
s = μ | v | 1 / β ,
In which μ ,   v are normally distributed, determined as:
μ N 0 , σ μ 2 ,
v N 0 , σ v 2 ,
whereas
σ μ = 1 + β   sin   π β 2 1 + β 2 β 2 β 1 2 ,
σ v = 1 ,
In which β is generally a constant of 1.5.
The MBOA approach develops a fitness function (FF) for realizing superior classifier results. It defines a positive integer for exemplifying the good efficiency of candidate solutions. During this work, the minimized classifier error rate assumes that FF is expressed in Equation (17).
f i t n e s s x i = n u m b e r   o f   m i s c l a s s i f i e d   s a m p l e s T o t a l   n u m b e r   o f   s a m p l e s * 100 ,

4. Experimental Validation

The proposed model is simulated using Python tool. The rainfall prediction results of the FCMM-RPS model are tested using a dataset [11] comprising 25,919 samples under two classes, as defined in Table 1. The dataset consists of 25,919 instances and 11 features, out of which 10 features are independent and 1 is dependent (output class). The features are temperature (°C), atmospheric pressure (weather station), atmospheric pressure (sea level), pressure tendency, relative humidity (%), mean wind speed, minimum temperature, maximum temperature, visibility (km), and dew point temperature (°C). Further, the dataset is preprocessed to improve the quality of the rainfall data over two days. Initially, the missing values in the data are replaced by the mean method. Next, min–max normalization is used to scale the data into a uniform scale of [0, 1].
The performance measures used to examine the rainfall prediction are defined as follows.
Accuracy A c c u y represents the number of correctly classified instances to the total number of instances.
A c c u y = T P + T N T P + T N + F P + F N
Precision ( P r e c n ) is defined as the ratio of properly classified positive samples to the total number of classified positive samples.
P r e c n = T P T P + F P
The recall ( R e c a l ) is calculated as the ratio between the number of positive samples correctly classified as positive to the total number of positive samples.
R e c a l = T P T P + F N
The F-score ( F s c o r e ) is the harmonic mean of a system’s precision and recall values. It can be calculated by the following formula:
F s c o r e = 2 * P r e c n * R e c a l P r e c n + R e c a l
The negative predictive value (NPV) is the proportion of negatively classified cases that were truly negative.
N P V = T N T N + F N
The confusion matrices of the FCMM-RPS model on the weather prediction process under training (TR) and testing (TS) data are illustrated in Figure 3. The results reported that the FCMM-RPS model has properly identified the positive and negative classes of rainfall prediction in all cases.
Table 2 reports the overall rainfall prediction results of the FCMM-RPS model on 70% of TR and 30% of TS databases. Figure 4 offers a brief rainfall prediction performance of the FCMM-RPS model on 70% of the TR database. The figure highlights that the FCMM-RPS model has categorized all the samples under positive and negative classes. It is observed that the FCMM-RPS model has obtained an average a c c u b a l of 94.75%, p r e c n of 93.13%, r e c a l of 94.75%, F s c o r e of 93.92%, and NPV of 93.13%.
Figure 5 provides the brief rainfall prediction performance of the FCMM-RPS method on 30% of the TS database. The figure emphasized that the FCMM-RPS approach has categorized all the samples under positive and negative classes. It is clear that the FCMM-RPS system has acquired an average a c c u b a l of 94.22%, p r e c n of 94.72%, r e c a l of 94.22%, F s c o r e of 94.47%, and NPV of 94.72%.
Table 3 demonstrates the overall rainfall prediction outcomes of the FCMM-RPS algorithm on 60% of the TR database and 40% of the TS database. Figure 6 provides a brief rainfall prediction performance of the FCMM-RPS approach on 60% of the TR database. The figure shows that the FCMM-RPS method categorized all the samples into positive and negative classes. It is shown that the FCMM-RPS approach has attained an average a c c u b a l of 92.58%, p r e c n of 96.19%, r e c a l of 92.58%, F s c o r e of 94.30%, and NPV of 96.19%.
Figure 7 depicts a brief rainfall prediction performance of the FCMM-RPS methodology on 40% of the TS database. The figure reveals that the FCMM-RPS method has categorized all the samples under positive and negative classes. It is detected that the FCMM-RPS system has gained an average a c c u b a l of 92.01%, p r e c n of 96.24%, r e c a l of 92.01%, F s c o r e of 94%, and NPV of 96.24%.
The training accuracy (TACC) and validation accuracy (VACC) of the FCMM-RPS approach are examined on rainfall prediction performance in Figure 8. The figure shows that the FCMM-RPS methodology has exhibited enhanced performance with maximal values of TACC and VACC. It is observable that the FCMM-RPS approach has reached maximal TACC outcomes.
The training loss (TLS) and validation loss (VLS) of the FCMM-RPS methodology are tested on rainfall prediction performance in Figure 9. The figure shows that the FCMM-RPS algorithm has better performance with minimal values of TLS and VLS. It is noticeable that the FCMM-RPS system has resulted in lesser VLS outcomes.
An obvious precision–recall investigation of the FCMM-RPS approach on a test database is described in Figure 10. The figure reveals that the FCMM-RPS system has resulted in higher values of precision–recall values in various classes.
Table 4 represent detailed results of the FCMM-RPS model with recent models [11]. The results show the enhanced outcomes of the FCMM-RPS model under all measures. Based on a c c u y , the FCMM-RPS model has obtained a higher a c c u y of 94.22% while the FCM, decision tree (DT), Naïve Bayes (NB), K-nearest neighbor (KNN), support vector machine (SVM), and fused ML models have attained lower a c c u y values of 93.99%, 92.53%, 90.37%,92.93%, 93.30%, and 93.94%, respectively. Meanwhile, with respect to p r e c n , the FCMM-RPS algorithm has gained a superior p r e c n of 94.72% while the FCM, DT, NB, KNN, SVM, and fused ML approaches have reached minimal p r e c n values of 85.45%, 69.49%, 40.98%, 77.25%, 72.10%, and 84.03%, respectively. Furthermore, in terms of negative predictive value (NPV), the FCMM-RPS algorithm has obtained an enhanced NPV of 94.72% while the FCM, DT, NB, KNN, SVM, and fused ML systems have attained decreased NPVs of 94.54%, 93.62%, 93.62%, 93.47%, 93.07%, and 94.20%, respectively. These results assure the enhanced performance of the FCMM-RPS model. The enhanced performance of the proposed model is due to the parameter-tuning process by MBOA. In addition, the data preprocessing including missing value removal and data normalization process helps to improve the quality of the input rainfall data. Further, the advantages of the FCM model and MBOA include an improved rainfall prediction process over other existing models.

5. Conclusions

In this article, we have introduced a new FCMM-RPS technique for predicting rainfall accurately. The major aim of the FCMM-RPS technique is to forecast rainfall routinely and efficiently. The presented FCMM-RPS technique primarily preprocessed the rainfall data to make it compatible. In addition, the presented FCMM-RPS technique predicts rainfall using the FCM model. To enhance the rainfall prediction outcomes of the FCM model, the parameter optimization process was performed using the MBOA. The performance assessment of the FCMM-RPS technique was tested on a rainfall dataset. A widespread comparison study highlighted the improvements of the FCMM-RPS technique in the rainfall forecasting process compared to existing techniques with a maximum accuracy of 94.22%. Thus, the presented FCMM-RPS technique can be employed for automated rainfall forecasting in real time. In the future, the prediction accuracy can be boosted by the use of sensor and meteorological datasets with additional different environmental features. Hence, in future work, big data analysis can be used for rainfall prediction if the sensor and meteorological datasets are used for the daily rainfall amount prediction study.

Author Contributions

Conceptualization, M.A.D. and I.Y.; Methodology, J.S.A. and M.I.A.; Software, A.S.Z. and I.Y.; Validation, H.G.M., J.S.A., M.M., I.Y. and M.I.A.; Formal analysis, R.A.; Investigation, A.S.Z.; Resources, M.M. and M.I.A.; Data curation, R.A. and M.M.; Writing—original draft, M.A.D., H.G.M., J.S.A. and R.A.; Writing—review & editing, A.S.Z., I.Y. and M.I.A.; Visualization, M.M.; Project administration, M.A.D.; Funding acquisition, H.G.M. All authors have read and agreed to the published version of the manuscript.

Funding

Princess Nourah bint Abdulrahman University Researchers Supporting Project number (PNURSP2022R140), Princess Nourah bint Abdulrahman University, Riyadh, Saudi Arabia. The authors would like to thank the Deanship of Scientific Research at Umm Al-Qura University for supporting this work by Grant Code: 22UQU4340237DSR60.

Institutional Review Board Statement

This article does not contain any studies with human participants performed by any of the authors. Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data sharing is not applicable to this article as no datasets were generated during the current study.

Conflicts of Interest

The authors declare that they have no conflict of interest. The manuscript was written through the contributions of all authors. All authors have given approval for the final version of the manuscript.

References

  1. Reddy, P.C.S.; Yadala, S.; Goddumarri, S.N. Development of rainfall forecasting model using machine learning with singular spectrum analysis. IIUM Eng. J. 2022, 23, 172–186. [Google Scholar] [CrossRef]
  2. Basha, C.Z.; Bhavana, N.; Bhavya, P.; Sowmya, V. Rainfall prediction using machine learning & deep learning techniques. In Proceedings of the 2020 International Conference on Electronics and Sustainable Communication Systems (ICESC), Coimbatore, India, 4–6 July 2020; pp. 92–97. [Google Scholar]
  3. Fayaz, S.A.; Zaman, M.; Butt, M.A. Knowledge discovery in geographical sciences—A systematic survey of various machine learning algorithms for rainfall prediction. In International Conference on Innovative Computing and Communications; Khanna, A., Gupta, D., Bhattacharyya, S., Hassanien, A.E., Anand, S., Jaiswal, A., Eds.; Springer: Singapore, 2022; pp. 593–608. [Google Scholar]
  4. Ridwan, W.M.; Sapitang, M.; Aziz, A.; Kushiar, K.F.; Ahmed, A.N.; El-Shafie, A. Rainfall forecasting model using machine learning methods: Case study Terengganu, Malaysia. Ain Shams Eng. J. 2021, 12, 1651–1663. [Google Scholar] [CrossRef]
  5. Moon, S.H.; Kim, Y.H.; Lee, Y.H.; Moon, B.R. Application of machine learning to an early warning system for very short-term heavy rainfall. J. Hydrol. 2019, 568, 1042–1054. [Google Scholar] [CrossRef]
  6. Diez-Sierra, J.; Del Jesus, M. Long-term rainfall prediction using atmospheric synoptic patterns in semi-arid climates with statistical and machine learning methods. J. Hydrol. 2020, 586, 124789. [Google Scholar] [CrossRef]
  7. Hussein, E.A.; Ghaziasgar, M.; Thron, C.; Vaccari, M.; Jafta, Y. Rainfall Prediction Using Machine Learning Models: Literature Survey. In Artificial Intelligence for Data Science in Theory and Practice; Alloghani, M., Thron, C., Subair, S., Eds.; Springer: Berlin/Heidelberg, Germany, 2022; pp. 75–108. [Google Scholar]
  8. Khan, M.I.; Maity, R. Hybrid deep learning approach for multi-step-ahead daily rainfall prediction using GCM simulations. IEEE Access 2020, 8, 52774–52784. [Google Scholar] [CrossRef]
  9. Chao, Z.; Pu, F.; Yin, Y.; Han, B.; Chen, X. Research on real-time local rainfall prediction based on MEMS sensors. J. Sens. 2018, 2018, 6184713. [Google Scholar] [CrossRef]
  10. Chhetri, M.; Kumar, S.; Pratim Roy, P.; Kim, B.G. Deep BLSTM-GRU model for monthly rainfall prediction: A case study of Simtokha, Bhutan. Remote Sens. 2020, 12, 3174. [Google Scholar] [CrossRef]
  11. Rahman, A.U.; Abbas, S.; Gollapalli, M.; Ahmed, R.; Aftab, S.; Ahmad, M.; Khan, M.A.; Mosavi, A. Rainfall Prediction System Using Machine Learning Fusion for Smart Cities. Sensors 2022, 22, 3504. [Google Scholar] [CrossRef] [PubMed]
  12. Pathan, M.S.; Nag, A.; Dev, S. Efficient rainfall prediction using a dimensionality reduction method. In Proceedings of the IGARSS 2022—2022 IEEE International Geoscience and Remote Sensing Symposium, Kuala Lumpur, Malaysia, 17–22 July 2022; pp. 6737–6740. [Google Scholar]
  13. Poornima, S.; Pushpalatha, M. Prediction of rainfall using intensified LSTM based recurrent neural network with weighted linear units. Atmosphere 2019, 10, 668. [Google Scholar] [CrossRef] [Green Version]
  14. He, R.; Zhang, L.; Chew, A.W.Z. Modeling and predicting rainfall time series using seasonal-trend decomposition and machine learning. Knowl. Based Syst. 2022, 251, 109125. [Google Scholar] [CrossRef]
  15. Kala, A.; Vaidyanathan, S.G. Prediction of rainfall using artificial neural network. In Proceedings of the 2018 International Conference on Inventive Research in Computing Applications (ICIRCA), Coimbatore, India, 11–12 July 2018; pp. 339–342. [Google Scholar]
  16. Wei, C.C.; Chou, T.H. Typhoon quantitative rainfall prediction from big data analytics by using the apache hadoop spark parallel computing framework. Atmosphere 2020, 11, 870. [Google Scholar] [CrossRef]
  17. Samad, A.; Gautam, V.; Jain, P.; Sarkar, K. An approach for rainfall prediction using long short term memory neural network. In Proceedings of the 2020 IEEE 5th International Conference on Computing Communication and Automation (ICCCA), Greater Noida, India, 30–31 October 2020; pp. 190–195. [Google Scholar]
  18. Kosko, B. Fuzzy cognitive maps. Int. J. Man Mach. Stud. 1986, 24, 65–75. [Google Scholar] [CrossRef]
  19. Kociołek, M.; Strzelecki, M.; Obuchowicz, R. Does image normalization and intensity resolution impact texture classification? Comput. Med. Imaging Graph. 2020, 81, 101716. [Google Scholar] [CrossRef] [PubMed]
  20. Behrooz, F.; Mariun, N.; Marhaban, M.H.; Mohd Radzi, M.A.; Ramli, A.R. Review of control techniques for HVAC systems—Nonlinearity approaches based on Fuzzy cognitive maps. Energies 2018, 11, 495. [Google Scholar] [CrossRef] [Green Version]
  21. Long, W.; Wu, T.; Xu, M.; Tang, M.; Cai, S. Parameters identification of photovoltaic models by using an enhanced adaptive butterfly optimization algorithm. Energy 2021, 229, 120750. [Google Scholar] [CrossRef]
  22. Dong, X.; Chu, T.; Huang, T.; Ji, Z.; Wu, S. Noisy Adaptation Generates Lévy Flights in Attractor Neural Networks. Adv. Neural Inf. Process. Syst. 2021, 34, 16791–16804. [Google Scholar]
  23. Gupta, D.; Ghose, U. A comparative study of classification algorithms for forecasting rainfall. In Proceedings of the 2015 4th International Conference on Reliability, Infocom Technologies and Optimization (ICRITO) Trends and Future Directions, Noida, India, 2–4 September 2015; pp. 1–6. [Google Scholar]
Figure 1. Workflow of FCMM-RPS system.
Figure 1. Workflow of FCMM-RPS system.
Sustainability 15 00025 g001
Figure 2. Steps involved in BOA.
Figure 2. Steps involved in BOA.
Sustainability 15 00025 g002
Figure 3. Confusion matrices of the FCMM-RPS system. (a,b) TR and TS databases of 70:30 and (c,d) TR and TS databases of 60:40.
Figure 3. Confusion matrices of the FCMM-RPS system. (a,b) TR and TS databases of 70:30 and (c,d) TR and TS databases of 60:40.
Sustainability 15 00025 g003
Figure 4. Average analysis of FCMM-RPS system on 80% of TR database.
Figure 4. Average analysis of FCMM-RPS system on 80% of TR database.
Sustainability 15 00025 g004
Figure 5. Average analysis of FCMM-RPS system on 70% of TR database.
Figure 5. Average analysis of FCMM-RPS system on 70% of TR database.
Sustainability 15 00025 g005
Figure 6. Average analysis of FCMM-RPS system on 60% of TR database.
Figure 6. Average analysis of FCMM-RPS system on 60% of TR database.
Sustainability 15 00025 g006
Figure 7. Average analysis of FCMM-RPS system on 40% of TS database.
Figure 7. Average analysis of FCMM-RPS system on 40% of TS database.
Sustainability 15 00025 g007
Figure 8. TACC and VACC analysis of FCMM-RPS system.
Figure 8. TACC and VACC analysis of FCMM-RPS system.
Sustainability 15 00025 g008
Figure 9. TLS and VLS analysis of FCMM-RPS system.
Figure 9. TLS and VLS analysis of FCMM-RPS system.
Sustainability 15 00025 g009
Figure 10. Precision–recall analysis of FCMM-RPS system.
Figure 10. Precision–recall analysis of FCMM-RPS system.
Sustainability 15 00025 g010
Table 1. Dataset details.
Table 1. Dataset details.
ClassNo. of Samples
Positive (rainfall)23,682
Negative (no rainfall)2237
Total Number of Samples25,919
Table 2. Rainfall prediction outcomes of FCMM-RPS system on 70:30 of TR/TS databases.
Table 2. Rainfall prediction outcomes of FCMM-RPS system on 70:30 of TR/TS databases.
ClassAccuracybalPrecisionRecallF-ScoreNPV
Training Phase (70%)
Positive98.7799.1598.7798.9687.12
Negative90.7387.1290.7388.8999.15
Average94.7593.1394.7593.9293.13
Testing Phase (30%)
Positive99.0598.9299.0598.9990.52
Negative89.3990.5289.3989.9598.92
Average94.2294.7294.2294.4794.72
Table 3. Rainfall prediction outcome of FCMM-RPS system on 60:40 of TR/TS databases.
Table 3. Rainfall prediction outcome of FCMM-RPS system on 60:40 of TR/TS databases.
ClassAccuracybalPrecisionRecallF-ScoreNPV
Training Phase (60%)
Positive99.4598.6499.4599.0493.75
Negative85.7193.7585.7189.5598.64
Average92.5896.1992.5894.3096.19
Testing Phase (40%)
Positive99.4998.5999.4999.0493.89
Negative84.5293.8984.5288.9698.59
Average92.0196.2492.0194.0096.24
Table 4. Comparative analysis of FCMM-RPS system with existing approaches [11].
Table 4. Comparative analysis of FCMM-RPS system with existing approaches [11].
MethodsAccuracyPrecisionNPV
FCMM-RPS94.2294.7294.72
FCM93.9985.4594.54
Decision tree [23]92.5369.4993.62
Naïve Bayes [23]90.3740.9893.47
KNN [23]92.9377.2591.37
SVM [11]93.3072.1093.07
Fused ML [11]93.9484.0394.20
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Al Duhayyim, M.; Mohamed, H.G.; Alzahrani, J.S.; Alabdan, R.; Mousa, M.; Zamani, A.S.; Yaseen, I.; Alsaid, M.I. Modeling of Fuzzy Cognitive Maps with a Metaheuristics-Based Rainfall Prediction System. Sustainability 2023, 15, 25. https://doi.org/10.3390/su15010025

AMA Style

Al Duhayyim M, Mohamed HG, Alzahrani JS, Alabdan R, Mousa M, Zamani AS, Yaseen I, Alsaid MI. Modeling of Fuzzy Cognitive Maps with a Metaheuristics-Based Rainfall Prediction System. Sustainability. 2023; 15(1):25. https://doi.org/10.3390/su15010025

Chicago/Turabian Style

Al Duhayyim, Mesfer, Heba G. Mohamed, Jaber S. Alzahrani, Rana Alabdan, Mohamed Mousa, Abu Sarwar Zamani, Ishfaq Yaseen, and Mohamed Ibrahim Alsaid. 2023. "Modeling of Fuzzy Cognitive Maps with a Metaheuristics-Based Rainfall Prediction System" Sustainability 15, no. 1: 25. https://doi.org/10.3390/su15010025

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop