Next Article in Journal
A Note on Incompressible Vector Fields
Previous Article in Journal
Symmetric Phase Portraits of Homogeneous Polynomial Hamiltonian Systems of Degree 1, 2, 3, 4, and 5 with Finitely Many Equilibria
Previous Article in Special Issue
Complex Intuitionistic Fuzzy Aczel-Alsina Aggregation Operators and Their Application in Multi-Attribute Decision-Making
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Hybrid Fuzzy K-Medoids and Cat and Mouse-Based Optimizer for Markov Weighted Fuzzy Time Series

by
Deshinta Arrova Dewi
1,*,
Sugiyarto Surono
2,
Rajermani Thinakaran
2 and
Afif Nurraihan
1
1
Department of Mathematics, Ahmad Dahlan University, Yogyakarta 55166, Indonesia
2
Faculty of Data Science and Information Technology, INTI International University, Nilai 71800, Malaysia
*
Author to whom correspondence should be addressed.
Symmetry 2023, 15(8), 1477; https://doi.org/10.3390/sym15081477
Submission received: 19 August 2022 / Revised: 26 September 2022 / Accepted: 27 November 2022 / Published: 25 July 2023
(This article belongs to the Special Issue Fuzzy Relation Equations: Trends and Applications)

Abstract

:
This study seeks to test novel capabilities, specifically those of the hybrid fuzzy k-medoids (FKM) and cat and mouse-based optimizer (CMBO) partitioning approach, in overcoming the Markov weighted fuzzy time series (MWFTS) limitation in creating U talk intervals without fundamental standards. Researchers created a hybrid cat and mouse-based optimizer–fuzzy k-medoids (CMBOFKM) approach to be used with MWTS, since these limits may impair the accuracy of the MWFTS approach. Symmetrically, the hybrid method of CMBOFKM is an amalgamation of the FKM and CMBO methods, with the CMBO method playing a part in optimizing the cluster center of the FKM partition method to obtain the best U membership matrix value as the medoid value that will be used in the MWFTS’s fuzzification stage. Air quality data from Klang, Malaysia are used in the MWFTS–CMBOFKM technique. The evaluation of the model error values, known as mean absolute percentage error (MAPE) and root mean square error, yields the MWFTS–CMBOFKM evaluation findings that are displayed (RMSE). A 6.85% MAPE percentage and a 6071 RMSE score are shown by MWFTS–CMBOFKM using air quality data from Klang, Malaysia. The FKM partition approach can be hybridized with additional optimization techniques in the future to increase the MWFTS method’s precision.

1. Introduction

Air pollution prediction is an important topic that is often discussed lately because it is closely related to human health. It has been observed that this pollution usually reduces air quality in an area, and some of its causes include industrial activities, transportation, forest burning, new land clearing, and cigarette smoke [1]. This decrease in quality is caused by the release of harmful substances or gases into the air or the earth’s atmosphere, such as carbon dioxide (CO2), carbon monoxide (CO), nitrogen dioxide (NO2), and sulfur dioxide (SO2). These substances tend to be very dangerous when air pollutant-producing activities continue to increase, and there is no special treatment for the disposal of hazardous residues in the open air. For example, the dangerous effects of air pollution on human health include shortness of breath, lung cancer, heart disease, respiratory tract infections, and even death [1].
Studies showed that air quality data are in time-series as they are collected based on periods. Several time-series prediction methods for air quality measurements have been performed, including autoregressive integrated moving average (ARIMA) [2], support vector machine (SVM) [3], and fuzzy time series (FTS) [4]. The concept of FTS was introduced by Song and Chissom [5] through applying the principles of fuzzy logic in predicting a problem in which the actual data is converted into the form of linguistic values known as fuzzy sets [6,7]. The advantage of FTS is that it is able to predict linguistic data where it is impossible to calculate using ordinary time series methods. Furthermore, the use of FTS produces better prediction accuracy than other methods [8], and it is widely used in financial forecasting [9], tourism [10], agriculture [11], and air pollution [12]. However, it still has several obstacles, such as determining the interval length of the universe of discourse, which has no special rules, using repeated fuzzy relationships, and considering the weight of fuzzy logical relationships (FLR).
Alyousifi et al. [13] studied Markov weighted fuzzy time series (MWFTS) to overcome its weakness, such as using repetitive fuzzy and weighting considerations on FLR with the basic idea of applying the method and specifying weights within the framework of the FLR loop through the Markov chain. This process aims to obtain the greatest probability value using a transition probability matrix in determining the FLR weights between observations of stochastic time series patterns. The MWFTS method applied to air quality data in Klang, Malaysia produced good predictive results but also has problems in determining the interval length of the universe of discourse, thereby producing different accuracy values. This is the reason Alyousifi et al. [13] proposed the use of a partition clustering method to overcome the MWFTS problem when determining the interval length. Research related to the Markov weighted fuzzy time series was also developed by Satria and Sugiyarto [14], where the MWFTS method with the fuzzy k-medoids partition method, which was optimized using the particle swarm optimizer (PSO), was able to overcome the problem of determining the length of the U talk universe interval and improve accuracy.
This current study employed the MWFTS previously studied by Alyousifi et al. [13] as the main method for predicting and overcoming the constraint when determining the interval length using the fuzzy k-medoids clustering (FKM) partition method. Dincer and Akkus [15] also conducted a study to obtain the interval length of the fuzzy time series (FTS) using the FKM partition method. It was observed that the FKM produced optimal intervals compared to the fuzzy c-means (FCM) and Gustafson–Kessel (GK) methods, indicating that it is able to provide better predictive results. A further development was performed by optimizing the FKM partition method using the cat and mouse-based optimizer (CMBO), developed by Dehghani et al. [16]. The performance of this new optimization method is much more competitive compared to the other nine algorithms because it provides a quasi-optimal solution that is more suitable and close to the global optimal solution. The CMBO method was chosen as an optimizer for FKM to see how far CMBO’s performance can improve the quality of FKM grouping.
In addition, the CMBO optimization in the FKM method is performed by optimizing the FKM cluster center in order to obtain an optimal medoid value; hence, it is able to improve the quality of grouping and MWFTS prediction results. The CMBO process in the FKM occurs iteratively until it reaches the stopping criterion, called the maximum iteration. In this study, the MWFTS method based on the CMBOFKM partition method is tested using air quality data.

2. Materials and Methods

The MWFTS and FKM clustering partition method optimized with the Cat and mouse-based optimizer was utilized. The stages in building the MWFTS–CMBOFKM predictive model are as follows:

2.1. Euclidean Distance

Euclidean distance is a calculation method used for measuring the distance between two points in Euclidean space. Its value was obtained with the following formula [17]:
d e u c   ( x , y ) = i = 1 n ( x k y i ) 2 ,   k = 1 , 2 , 3 , , c
where,
d e u c : Euclidean distance between x k and y i ;
x k : k -th cluster center value;
y i : i -th actual data value;
n : number of actual data;
c : cluster number.

2.2. Fuzzy Time Series

The FTS is a prediction technique that uses fuzzy logic principles and is generally used for historical data in the form of linguistic data. The stages in the FTS model include defining the universe of discourse U , partitioning U into several intervals, fuzzification, forming fuzzy relationships, defuzzification, and determining predictive values.
Definition 1
[5,12,13]. Suppose U = { u 1 , u 2 , u 3 , , u n } is the universe of discourse, then u n ( i = 1 , , n ) is a possible linguistic value in the U . Furthermore, the fuzzy set of linguistic variables A i from U is defined as follows:
A i = f A i ( u 1 ) u 1 + f A i ( u 2 ) u 2 + + f A i ( u n ) u n
where f A i is a membership function of the fuzzy set A i then f A i : U [ 0 , 1 ] , f A i ( u r ) [ 0 , 1 ] and 1 r n .
Definition 2
[5,13,18]. Suppose X ( t ) ,   ( t = 0 , 1 , 2 , ) is a subset of real numbers defined by the fuzzy set f i ( t ) ,   ( i = 1 , 2 , ) . When F ( t ) is a set of f 1 ( t ) , f 2 ( t ) , , then F ( t ) is known as a fuzzy time series defined at  X ( t ) .
Definition 3
[5,19]. The relationship between F ( t ) and F ( t 1 ) is expressed as F ( t 1 ) F ( t ) . Suppose F ( t ) = A j and F ( t 1 ) = A i , then the relationship between F ( t ) and F ( t 1 ) is represented by A i A j FLR, where a and b refer to the left and right sides of the FTS.
Fuzzification is one of the stages in the FTS in which data are converted into linguistic values to form FLR. This formation requires upper and lower limit values obtained from the following equation [19,20]:
u b i = c l u s t e r   c e n t e r i + c l u s t e r   c e n t e r i + 1 2
l b i + 1 = u b i
where i = 1 , 2 , , k . u b m is the upper bound of the m -th interval, and l b m + 1 is the lower bound of the i + 1 -th interval. Since there is no cluster center before the first and after the last cluster center, the values of the lower limit on l b 1 and the upper limit on u b k were obtained using the following rules [19]:
u b k = c l u s t e r   c e n t e r k + | m a x d a t a c l u s t e r   c e n t e r k |
l b 1 = c l u s t e r   c e n t e r 1 | c l u s t e r   c e n t e r 1 m i n d a t a |

2.3. Fuzzy K-Medoids Clustering (FKM)

FKM is one of the clustering methods used to classify data into clusters by using the distance criterion as its determination, which is calculated based on the cluster center of the data values. The fundamental difference between the FKM method and the FCM method is the determination of the cluster center. For example, in the FCM method, the cluster center sometimes lies in any value in the universe of discourse, denoted as U, while, in the FKM, it is in the data value known as medoid [21]. Medoid is an object or value located in a cluster data [22]
It is important to note that the utilized calculation of FKM has the same concept as the FCM method, while the difference only lies in the final step of determining the cluster center. The medoid value is obtained in the FKM by first performing the FCM calculation process to determine an updated membership matrix U , then the index data with the largest membership value from each cluster are used to select the medoid. Meanwhile, the FKM method minimizes the objective function value to obtain good clustering results. The equation for the FKM objective function is as follows [20]:
P t = i = 1 n k = 1 c ( d 2 ( v k , y i ) ( μ i k ) w )
where,
P t : objective function in t -th iteration;
d ( v k , y i ) : distance of the k -th cluster center to the i -th data value;
μ i k : membership degree in the U membership matrix;
w : fuzzy rank ( w 2 ) .
The FKM method also uses membership degrees for cluster center calculations, in which the initial membership degree value ( μ i k ) is formed in the U membership matrix based on the following equation [19]:
U = [ μ i k ] n × c ,       k = 1 c μ i k = 1 ,         1 i n
μ i k = [ 0 , 1 ] ,       i = 1 , 2 , , n   ;   k = 1 , 2 , 3 , 4 , , c
The membership matrix denoted as U was updated in each iteration, and is computed using the following equation [21]:
μ i k = [ d 2 ( v k , y i ) ] 1 w 1 j = 1 c [ d 2 ( v j , y i ) ] 1 w 1   ,   i = 1 , 2 , , n   ;   k = 2 , 3 , , c
After obtaining the U membership matrix, the cluster center is calculated with the following equation [23]:
V k = i = 1 n ( μ i k ) w x i i = 1 n ( μ i k ) w

2.4. Markov Weighted Rule

The Markov weighted matrix was first introduced by Alyousifi et al. [13]. based on the development of studies by Tsaur [24] and Effendi et al. [25]. It is a matrix that contains weighted elements of FLR through transition numbers. Its elements are determined as the ratio of the repetition numbers of a particular FLR to the total number of FLR. Furthermore, the Markov weighted matrix is defined as W = [ w i , j ] c × c , and its elements are calculated with the equation below [12]:
w i , j = N i , j N i ,     i , j = 1 , 2 , , n
where w i , j is the transition probability value in A i and A j , N i , j is the transition number in A i and A j , while N i represents the number of transitions in A i . Therefore, the transition probability matrix is written as follows [13]:
W = [ w 1 , 1 w 1 , 2 w 1 , c w 2 , 1 w 2 , 2 w 2 , c w c , 1 w c , 2 w c , c ]
w i , j 0 and j = 1 c w i , j = 1 , i = 1 , 2 , , c .
According to Alyousifi et al. [13], the two stages for calculating the defuzzification of predictive values using the Markov weighted rule in the MWFTS method include initial prediction and prediction adjustment. The first is generated by multiplying the Markov ( W ( t ) ) weight matrix with the middle-value matrix ( M ( t ) ). Meanwhile, the initial predictive value is calculated according to the following rules [12,13]:
Case 1: When the FLRG of A i is a one-to-one relation ( A i A j ) with w i , j = 0 and w i , k = 1 ,   j k , then the initial predicted value of F ( t ) is the middle value of u k with the equation denoted as m k .
F ( t ) = m k w i , k = m k
Case 2: When the FLRG of A i is a one-to-many relation ( A i A 1 , A 2 , , A c , j = 1 , 2 , , c ) , and the data set Y ( t ) at time t is in state A i , then the prediction results are as follows:
F ( t + 1 ) = m 1 p i 1 + m 1 p i 2 +   + m i 1 p i ( i 1 ) + Y ( t ) p i i + m i + 1 p i ( i + 1 ) +         + m n p i c
where m 1 , , m c is the middle value of u 1 , , u c , and m i is replaced with Y ( t ) in state  A i to obtain a better accuracy value.
It is important to note that prediction adjustment is conducted after obtaining the initial prediction value, which is then adjusted by adding or subtracting the absolute value of the difference between the midpoint m i and the actual value of Y ( t ) at the same interval when the data occurred in state A i before moving forward to the state A ( i + k ) ( k 2 ) or back to state A ( i k ) ( k 2 ) . When there are no moves, the prediction value remains; otherwise, it is calculated as follows [12,13]:
Y ^ ( t + 1 ) = F ( t + 1 ) ± | Y ( t ) m i |

2.5. Cat and Mouse-Based Optimizer (CMBO)

CMBO is a new population-based optimization method that adopts cats’ behavior of chasing mice and mice looking for nests to find shelter. In the CMBO optimization process, the population is divided into cats and mice; afterwards, the population members are updated in two phases, namely calculating the movement of cats toward mice and the movement of mice looking for nests to find shelter. This method generates a population matrix in which each member is a solution to the problem variable.
The initial stage of CMBO optimization is to generate a population matrix containing solutions to the problem variables. This generated population matrix is generally written as follows [16]:
Z = [ z 1 , 1 z 1 , 2 w 1 , c z 2 , 1 z 2 , 2 w 2 , c z p , 1 z p , 2 w p , c ]
where Z is a population matrix containing solutions to the problem variable and z i , j   ( i = 1 , 2 , , p   ; j = 1 , 2 , , c ) is the population matrix element, denoted as Z.
The second stage is where the objective function is calculated for each member of the population and sorted from the smallest value to the largest objective function. Specifically, the population members are addressed based on the objective function that has been sorted.
In the third stage, the initial population matrix that has been sorted was divided into two equal parts in which the two matrices are regarded as the mouse and the cat, respectively. The division of these two populations was determined by standard rules, in which the first 50% of the rat population was obtained from the initial population of the lowest objective function, while the other 50% is the cat population taken from the highest objective function value. Furthermore, this rule of dividing the population into two equal parts aims to have each cat target exactly one mouse in the direction of lowest objective function value. This means that when mice and cats are updated, a new balanced population emerges. The mice and cat population matrix is written as follows:
B = [ z 1 , 1 z 1 , 2 z 1 , c z 2 , 1 z 2 , 2 z 2 , c z N b , 1 z N b , 2 z N b , c ] N b × c
E = [ z N b + 1 , 1 z 1 , 2 z 1 , c z N b + 1 , 1 z 2 , 2 z 2 , c z N b + N e , 1 z N b + N e , 2 z N b + N e , c ] N e × c
where B is the mouse population matrix, N b represents the number of rows of the mouse population, E denotes the cat population matrix, N e is the number of rows of the cat population, B i is the i -th mouse agent, and E j represents the j -th cat agent.
In the fourth stage, the cat and mouse populations were updated through two phases, which include changing the position of the cat that was chasing the mouse and that of mouse running towards the nest to hide.
Phase 1: The change in the position of the cat chasing the mouse is formulated below:
E j n e w :   e j , d n e w = e j , d + r × ( b k , d I × e j , d )
With j = 1 , , N e ,   d = 1 , 2 , , c ,   k = 1 , 2 , , N b ,   I = r o u n d ( 1 + r a n d )
E j = { E j n e w ,               P j e n e w < P j e E j ,                                   o t h e r s
where E j n e w is the new position of the j -th at agent, e j , d n e w represents the element of the new cat agent’s position in the E j b a r u matrix, r denotes a random number at interval [ 0 , 1 ] , and P j e n e w is the objective function value of the j -th position of the new cat agent.
Phase 2: The change in mice position when moving towards the nest is formulated below:
H i :   h i , d = z l , d ,     i = 1 , 2 , , N b ,   d = 1 , 2 , , c ,       l = 1 , 2 , , p
B i n e w :   b i , d n e w = b i , d + r × ( h i , d I × b i , d ) × s i g n ( F o b j i b F o b j i h )
where i = 1 , , N b ,   d = 1 , 2 , 3 , , c ,
B i = { B i n e w ,               P i b n e w < P i b B i ,                                     o t h e r s  
H i denotes the i -th mouse nest, P o b j i h represents the objective function value of the i -th mouse nest, B i n e w is the new position of the i-th rat agent, b i , d n e w is the element of the new mouse agent position in matrix B i n e w , and P i b n e w indicates the objective function value of the new mouse agent position to j -th.
The last stage involves the repetition of the second stage to the fourth stage until the criteria for stopping the CMBO method is met. Conceptually, the stopping criterion in the CMBO method is the maximum iteration obtained, while the optimal CMBO solution is determined based on the population member with the lowest objective value. The CMBO flowchart can be seen in Figure 1.

2.6. Prediction Evaluation

Prediction evaluation was employed to determine the quality of the model developed. In this present study, the evaluation methods utilized include root mean square error (RMSE) and mean absolute percentage error (MAPE). The RMSE was used to evaluate the prediction model by squaring the difference between the actual data and the previous prediction results, divided by the amount of data. The prediction result is considered more accurate when the RMSE value is close to zero [26]:
R M S E = 1 n i = 1 n ( Y ( t ) Y ^ ( t ) ) 2
where Y ( t ) is the actual value of the data at time t -th, Y ^ ( t ) represents the predicted value at time - t , and n denotes the data number.
MAPE is a prediction model evaluation method that presents the prediction model error accuracy value in the form of a percentage [6]:
M A P E = 1 n t = 1 n | Y ( t )   Y ^ ( t ) Y ( t )   | × 100 %
where n is the number of data, Y ( t ) is the actual data at time t-th, and Y ^ ( t ) represents the predicted value at time t -th. Table 1 shows the standard value prediction criteria for MAPE [27].

2.7. Flowchart MWFTS-CMBOFKM

The flowchart of the Markov Wighted Fuzzy Time Series model hybridized with CMBOFKM can be seen in Figure 2. First, we enter air quality data and then check the attribute data through EDA and data pre-processing. Data that has gone through EDA and data preprocessing will enter the MWFTS-CMBOFKM model process. In the MWFTS-CMBOFKM Model Algorithm it is divided into 2 important processes, the first is to find the medoid value of the data through the CMBOFKM method, then process the medoid value into U-speech universe intervals to form FLR and FLRG to obtain the predicted value and the results of the prediction model accuracy.

3. Results and Discussion

This study employed the air quality datasets in Klang, Malaysia recorded from 1 January 2020 to 1 May 2022, and the data platform accessed on 9 November 2021 was sourced from the Air Quality Historical Data Platform website on the https://aqicn.org/data-platform/register/. The first dataset used is shown in Table 2.
AQI is used to assess air pollution in Malaysia, which was regarded as a simple measure of air quality status. The total number of datasets considered was 852.
The first step was applying the FKM method with CMBO in order to obtain the medoid value used to form the universe of discourse interval U . The selection of parameter values used in this research method has previously been simulated by determining the number of clusters using the elbow method, the number of agents is evaluated based on the lowest MAPE percentage value. The simulation results of the number of clusters used can be seen in Figure 3 while the results of the evaluation of the number of agents based on 100 iterations can be seen in Table 3.
Figure 3 shows that the angled curve is formed when the number of clusters is at five, while Table 3 shows that the smallest MAPE percentage is at 20 search agents, so that the number of clusters used in this study is five, and the number of search agents is 20.
The obtained number of clusters = 5, the initial search agents = 20, and the maximum iteration = 100. The CMBOFKM partition process first generates the membership matrix U , while the initial population represents the cluster center.
The membership matrix U was generated based on Equation (8) with a size of n × c population. This means that each member of the population has their own membership value denoted as U . The objective function is also calculated using Equation (7) regarding the populations and the membership matrix U . Furthermore, the objective function ( P t ) was sorted from the smallest to the largest values as well as the initial population members and the U membership matrix as shown in Table 4.
The initial population that has been sorted is divided into two equal parts, which include mice and cats populations. Agents 1 to 10 are members of the mouse population, while that of 11 to 20 are the cats. Furthermore, the two populations are updated based on two phases, such as the cat chasing the mouse and the mouse hiding in the nest. The phase of the cat chasing the mouse was determined with Equation (19), while mouse hiding was obtained using Equations (21) and (22). The values of the new objective function in each new population were compared with the old objective function using Equations (20) and (23), and the updated mouse and cat populations are shown in Table 5 and Table 6.
The updated results of the rat and cat populations are combined into an entirely new population with the newest mouse and cat serving as new members, respectively. Furthermore, the membership matrix U was calculated for each new population member based on Equation (9), and the iteration was performed by sorting the objective values in order to update the membership matrix and a new population regarding the specified maximum iterations.
It is important to note that the maximum iteration in this study was 100, and the membership matrix U was selected based on the search agent with the lowest objective function. Furthermore, the medoid was selected based on the highest membership value in each cluster and was adjusted by sorting the smallest to largest medoid values. Table 7 shows the CMBOFKM’s results of the medoid values.
The results of the medoid in Table 8 are used to form the universe of discourse interval U using Equations (3)–(6) before determining the middle value of each of them. The results of U and middle value are shown in Table 8.
Furthermore, the interval obtained was later entered into the data fuzzification process by changing its value into a fuzzy A i . After fuzzification, the data were in the form of FLR and fuzzy logical relationships group (FLRG) based on Definition 3. The FLRG in the MWFTS method contains the number of transition events from A i to A j   ( i , j = 1 , 2 , 3 , , c ) , while the data fuzzification as well as the formation of FLR and FLRG results are shown in Table 9 and Table 10.
Table 10 was used to form a Markov weighted matrix based on Equation (11). The result was expressed as follows:
W = [ 0.454 0.390 0.106 0.042 0.007 0.193 0.517 0.168 0.110 0.012 0.044 0.367 0.316 0.240 0.032 0.027 0.215 0.199 0.462 0.097 0.077 0.103 0.026 0.513 0.282 ]
The defuzzification of the predictor value was also calculated based on two stages, namely initial prediction and prediction adjustment. The defuzzification results of the predicted value of MWFTS–CMBOFKM are shown in Table 11.
The MWFTS–CMBOFKM prediction results were evaluated based on MAPE and RMSE. It was observed that the method has a MAPE percentage of 6.85% with an RMSE score of 6071. Figure 4 shows the graph comparing the actual data with the predicted results.
According to Figure 4, the MWFTS–CMBOFKM prediction value approaches the actual data value. Meanwhile, the MAPE percentage regarding Table 1 shows that the MWFTS–CMBOFKM prediction model is included in the very accurate prediction criteria.

4. Conclusions

The CMBO method optimizes the FKM cluster center to obtain the best membership matrix U as a producer of the optimal medoid value, which helps to increase the MWFTS predictive accuracy. The implementation of the MWFTS–CMBOFKM method on air quality data in Klang, Malaysia was evaluated using MAPE and RMSE. The results showed that MAPE had a percentage of 6.85%, indicating that the prediction accuracy of MWFTS–CMBOFKM was 93.15% with an RMSE score of 6071. Graphically, it was observed that the predicted value was close to the actual data. Based on Table 1, the MWFTS–CMBOFKM prediction model was very accurate with a MAPE percentage < 10%.
Further studies need to investigate other partitioning methods useful for determining the universe of discourse interval U . Furthermore, other population-based optimization methods such as ant colony optimization, bee colony optimization, and the latest population-based optimization methods have to be considered when comparing the resulting level of accuracy.

Author Contributions

Conceptualization, S.S.; methodology, S.S.; software, A.N.; data curation, A.N.; writing—original draft preparation, S.S.; writing—review and editing, D.A.D.; visualization, A.N.; supervision, S.S. and R.T.; funding acquisition, D.A.D. and R.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Amalia, A.; Zaidiah, A.; Isnainiyah, I.N. Prediksi Kualitas Udara Menggunakan Algoritma K-Nearest Neighbor. JIPI (Jurnal Ilm. Penelit. Pembelajaran Inform. 2022, 7, 496–507. [Google Scholar] [CrossRef]
  2. Abdulrahman, B.M.A.; Ahmed, A.A.Y.A.; Yahia, A.E. Forecasting of Sudan Inflation Rates using ARIMA Model. Int. J. Econ. Financ. Issues 2018, 8, 17–22. [Google Scholar]
  3. Putri, R.M.; Widodo, E. Application of Support Vector Machine Method for Rupiah Exchange Rate to Us Dollar Forecasting. Pros. Semin. Nas. Int. 2018, 27–36. Available online: https://jurnal.unimus.ac.id/index.php/psn12012010/article/view/4085 (accessed on 25 November 2022).
  4. Ramadhan, M.R.; Tursina, T.; Novriando, H. Implementasi Fuzzy Time Series pada Prediksi Jumlah Penjualan Rumah. J. Sist. Teknol. Inf. (JUSTIN) 2020, 8, 418–423. [Google Scholar] [CrossRef]
  5. Song, Q.; Chissom, B.S. Forecasting enrollments with fuzzy time series—Part I. Fuzzy Sets Syst. 1993, 54, 1–9. [Google Scholar] [CrossRef]
  6. Muhammad, M.; Wahyuningsih, S.; Siringoringo, M. Peramalan Nilai Tukar Petani Subsektor Peternakan Menggunakan Fuzzy Time Series Lee. Jambura J. Math. 2021, 3, 1–15. [Google Scholar] [CrossRef]
  7. Saputra, B.D. A Fuzzy Time Series-Markov Chain Model To Forecast Fish Farming Product. J. Ilm. Kursor 2018, 9, 129–138. [Google Scholar] [CrossRef]
  8. Suryani, D.; Yunianto, D.R.; Renata, D.; Ade, P. Sistem Peramalan Hasil Panen Dan Permintaan Pasar Buah Apel Menggunakan Metode Fuzzy Time Series (Studi Kasus Dinas Pertanian Kota Batu). Semin. Inform. Apl. Polinema 2020, 3, 458–462. [Google Scholar]
  9. Widiyani, W.; Setyawan, Y.; Jatipaningrum, M.T. Perbandingan Metode Fuzzy Time Series-Chen Dan Weighted Fuzzy Integrated Time Series Untuk Memprediksi Data Indeks Harga Saham Gabungan. J. Stat. Ind. Komputasi 2022, 7, 81–87. [Google Scholar]
  10. Marzuqi, M.; Tafrikan, M.; Maslihah, S. Prediksi Jumlah Pengunjung Semarang Zoo dengan Metode Fuzzy Time Series. Zeta-Math J. 2022, 7, 19–27. [Google Scholar] [CrossRef]
  11. Adli, D.N. Prediksi Harga Jagung Menggunakan Metode Fuzzy Time Series Dengan Atau Tanpa Menggunakan Markov Chain. J. Nutr. Ternak Trop. 2021, 4, 49–54. [Google Scholar] [CrossRef]
  12. Alyousifi, Y.; Othman, M.; Husin, A.; Rathnayake, U. A new hybrid fuzzy time series model with an application to predict PM10 concentration. Ecotoxicol. Environ. Saf. 2021, 227, 112875. [Google Scholar] [CrossRef] [PubMed]
  13. Alyousifi, Y.; Othman, M.; Faye, I.; Sokkalingam, R.; Silva, P. Markov Weighted Fuzzy Time-Series Model Based on an Optimum Partition Method for Forecasting Air Pollution. Int. J. Fuzzy Syst. 2020, 22, 1468–1486. [Google Scholar] [CrossRef]
  14. Surono, S.; Siregar, N.S. The New Approach Optimization Markov Weighted Fuzzy Time Series using Particle Swarm Algorithm. J. Educ. Sci. 2022, 31, 42–54. [Google Scholar] [CrossRef]
  15. Dincer, N.G.; Akkuş, Ö. A new fuzzy time series model based on robust clustering for forecasting of air pollution. Ecol. Inform. 2018, 43, 157–164. [Google Scholar] [CrossRef]
  16. Dehghani, M.; Hubálovský, Š.; Trojovský, P. Cat and Mouse Based Optimizer: A New Nature-Inspired Optimization Algorithm. Sensors 2021, 21, 5214. [Google Scholar] [CrossRef]
  17. Nishom, M. Perbandingan Akurasi Euclidean Distance, Minkowski Distance, dan Manhattan Distance pada Algoritma K-Means Clustering berbasis Chi-Square. J. Inform. J. Pengemb. IT 2019, 4, 20–24. [Google Scholar] [CrossRef]
  18. Kocak, C. ARMA(p,q) type high order fuzzy time series forecast method based on fuzzy logic relations. Appl. Soft Comput. 2017, 58, 92–103. [Google Scholar] [CrossRef]
  19. Van Tinh, N. Enhanced Forecasting Accuracy of Fuzzy Time Series Model Based on Combined Fuzzy C-Mean Clustering with Particle Swam Optimization. Int. J. Comput. Intell. Appl. 2020, 19, 2050017. [Google Scholar] [CrossRef]
  20. Zhang, W.; Zhang, S.; Zhang, S.; Yu, D.; Huang, N. A novel method based on FTS with both GA-FCM and multifactor BPNN for stock forecasting. Soft Comput. 2019, 23, 6979–6994. [Google Scholar] [CrossRef]
  21. Al-Zoubi, M.; Al-Dahoud, M.; AL-Akhras, M. An Efficient Fuzzy K-Medoids Method. World Appl. Sci. J. 2010, 10, 574–583. [Google Scholar]
  22. Nahdliyah, M.A.; Widiharih, T.; Prahutama, A. Metode K-Medoids Clustering dengan Validasi Silhouette Index dan C-Index (Studi Kasus Jumlah Kriminalitas Kabupaten/Kota di Jawa Tengah Tahun 2018). J. Gaussian 2019, 8, 161–170. [Google Scholar] [CrossRef]
  23. Surono, S.; Putri, R.D.A. Optimization of Fuzzy C-Means Clustering Algorithm with Combination of Minkowski and Chebyshev Distance Using Principal Component Analysis. Int. J. Fuzzy Syst. 2021, 23, 139–144. [Google Scholar] [CrossRef]
  24. Tsaur, R.-C. Application To Forecast the Exchange Rate. J. Int. Comput. Innov. 2012, 8, 4931–4942. [Google Scholar]
  25. Efendi, R.; Ismail, Z.; Deris, M.M. Improved weight Fuzzy Time Series as used in the exchange rates forecasting of US Dollar to Ringgit Malaysia. Int. J. Comput. Intell. Appl. 2013, 12, 1350005. [Google Scholar] [CrossRef]
  26. Koo, J.W.; Wong, S.W.; Selvachandran, G.; Long, H.V.; Son, L.H. Prediction of Air Pollution Index in Kuala Lumpur using fuzzy time series and statistical models. Air Qual. Atmos. Health 2020, 13, 77–88. [Google Scholar] [CrossRef]
  27. Putro, B.; Furqon, M.T.; Wijoyo, S.H. Prediksi Jumlah Kebutuhan Pemakaian Air Menggunakan Metode Exponential Smoothing. J. Pengemb. Teknol. Inf. Ilmu Komput. 2018, 2, 4679–4686. [Google Scholar]
Figure 1. Flowchart CMBO.
Figure 1. Flowchart CMBO.
Symmetry 15 01477 g001
Figure 2. Flowchart MWFTS–CMBOFKM.
Figure 2. Flowchart MWFTS–CMBOFKM.
Symmetry 15 01477 g002
Figure 3. Graph of actual and predicted MWFTS–CMBOFKM data.
Figure 3. Graph of actual and predicted MWFTS–CMBOFKM data.
Symmetry 15 01477 g003
Figure 4. Graph of actual and predicted MWFTS–CMBOFKM data.
Figure 4. Graph of actual and predicted MWFTS–CMBOFKM data.
Symmetry 15 01477 g004
Table 1. MAPE Criteria.
Table 1. MAPE Criteria.
MAPEPrediction Criteria
< 10 % Very Accurate
10 % 20 % Accurate
20 % 50 % Reasonable
> 50 % Not accurate
Table 2. Air Quality Dataset Klang Malaysia.
Table 2. Air Quality Dataset Klang Malaysia.
DateAQI
1 January 202064
2 January 2020
3 January 2020
64
64
29 April 202247
30 April 202250
1 May 202250
Table 3. Number of search agents based on MAPE percentage with 100 iteration.
Table 3. Number of search agents based on MAPE percentage with 100 iteration.
MethodNumber of Search Agent
10203040
MWFTS-CMBOFKM7.45%6.85%7.68%9.45%
Table 4. The initial population is ordered by the value of the objective function.
Table 4. The initial population is ordered by the value of the objective function.
Search Agent V 1 V 2 V 3 V 4 V 5 P 1
Agent 1 91.14 50.44 73.20 65.28 63.89 3673.93
Agent 2 51.86 81.76 44.74 59.03 67.99 3843.17
Agent 3 66.56 52.13 109.32 58.11 75.47 4815.71
Agent 18 44.60 95.15 108.76 117.46 63.19 9066.89
Agent 19 71.13 166.84 117.33 114.16 63.88 9593.49
Agent 20 117.07 94.87 110.90 86.53 86.58 9796.03
Table 5. Cat population update results.
Table 5. Cat population update results.
Cat Agent V 1 V 2 V 3 V 4 V 5
Cat 1 87.90 96.21 83.00 81.04 102.95
Cat 2 60.00 114.97 117.51 81.42 60.05
Cat 3 93.83 102.05 93.33 96.91 78.44
Cat 8 44.60 95.15 108.76 117.46 63.19
Cat 9 71.13 166.84 117.33 114.16 63.88
Cat 10 117.07 94.87 110.90 86.53 86.58
Table 6. Mice population update results.
Table 6. Mice population update results.
Mice Agent V 1 V 2 V 3 V 4 V 5
Mice 1 91.14 50.44 73.20 65.28 63.89
Mice 2 51.86 81.76 44.74 59.03 67.99
Mice 3 66.56 52.13 109.32 58.11 75.47
Mice 8 47.49 53.10 64.42 94.67 97.96
Mice 9 48.97 116.85 53.78 67.80 52.58
Mice 10 51.24 50.48 116.29 95.43 59.39
Table 7. Medoid Results of the CMBOFKM partition method.
Table 7. Medoid Results of the CMBOFKM partition method.
ClusterMedoidLabel
Cluster 150Very low
Cluster 2 64 Low
Cluster 365Moderate
Cluster 4 73 High
Cluster 591Very High
Table 8. The results of the universe of discourse interval U and the middle value.
Table 8. The results of the universe of discourse interval U and the middle value.
IntervalMiddle Value
u 1 = [ 42 , 57 ) 49.50
u 2 = [ 57 , 64.50 ) 60.75
u 3 = [ 64.50 , 69 ) 66.75
u 4 = [ 69 , 82 ) 75.50
u 5 = [ 82 , 119 ) 100.50
Table 9. Results of fuzzification of air quality data in Klang, Malaysia.
Table 9. Results of fuzzification of air quality data in Klang, Malaysia.
DateAQIFuzzificationFLR
1 January 2020 64 A 2 -
2 January 2020 64 A 2 A 2 A 2
3 January 2020 64 A 2 A 2 A 2
29 April 2022 47 A 1 A 1 A 1
30 April 2022 50 A 1 A 1 A 1
1 May 2022 50 A 1 A 1 A 1
Table 10. FLRG results.
Table 10. FLRG results.
GroupFuzzy Logical Group
1 A 1 ( 64 ) A 1 ,   ( 55 ) A 2 ,   ( 15 ) A 3 , ( 6 ) A 4 , ( 1 ) A 5
2 A 2 ( 63 ) A 1 , ( 169 ) A 2 , ( 55 ) A 3 , ( 36 ) A 4 , ( 4 ) A 5
3 A 3 ( 7 ) A 1 , ( 58 ) A 2 , ( 50 ) A 3 , ( 38 ) A 4 , ( 5 ) A 5
4 A 4 ( 5 ) A 1 , ( 40 ) A 2 , ( 37 ) A 3 , ( 86 ) A 4 , ( 18 ) A 5
5 A 5 ( 3 ) A 1 , ( 4 ) A 2 , ( 1 ) A 3 , ( 20 ) A 4 , ( 11 ) A 5
Table 11. Defuzzification results of predicted value MWFTS-CMBOFKM.
Table 11. Defuzzification results of predicted value MWFTS-CMBOFKM.
DateAQIFuzzificationFLR F Y ^
1 January 2020 64 A 2 ---
2 January 2020 64 A 2 A 2 A 2 63.3863.38
3 January 202064 A 2 A 2 A 2 63.3863.38
29 April 2022 47 A 1 A 1 A 1 58.33 58.33
30 April 2022 50 A 1 A 1 A 1 56.06 56.06
1 May 2022 50 A 1 A 1 A 1 57.42 57.42
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

Dewi, D.A.; Surono, S.; Thinakaran, R.; Nurraihan, A. Hybrid Fuzzy K-Medoids and Cat and Mouse-Based Optimizer for Markov Weighted Fuzzy Time Series. Symmetry 2023, 15, 1477. https://doi.org/10.3390/sym15081477

AMA Style

Dewi DA, Surono S, Thinakaran R, Nurraihan A. Hybrid Fuzzy K-Medoids and Cat and Mouse-Based Optimizer for Markov Weighted Fuzzy Time Series. Symmetry. 2023; 15(8):1477. https://doi.org/10.3390/sym15081477

Chicago/Turabian Style

Dewi, Deshinta Arrova, Sugiyarto Surono, Rajermani Thinakaran, and Afif Nurraihan. 2023. "Hybrid Fuzzy K-Medoids and Cat and Mouse-Based Optimizer for Markov Weighted Fuzzy Time Series" Symmetry 15, no. 8: 1477. https://doi.org/10.3390/sym15081477

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