American Journal of Intelligent Systems

p-ISSN: 2165-8978    e-ISSN: 2165-8994

2013;  3(1): 33-39

doi:10.5923/j.ajis.20130301.05

Fuzzy Time Series Method Based on Multiplicative Neuron Model and Membership Values

Erol Egrioglu1, CagdasHakan Aladag2, Ufuk Yolcu3, Burcin Seyda Corba1, Ozge Cagcag1

1Department of Statistics, University of OndokuzMayis, Samsun, 55139, Turkey

2Department of Statistics, Hacettepe University, Ankara, 06800, Turkey

3Department of Statistics, Giresun University, Giresun, 28000, Turkey

Correspondence to: Erol Egrioglu, Department of Statistics, University of OndokuzMayis, Samsun, 55139, Turkey.

Email:

Copyright © 2012 Scientific & Academic Publishing. All Rights Reserved.

Abstract

Many fuzzy time series forecasting methods have been suggested to forecast time series in the literature. Most of these methods use various artificial intelligence methods. The determining of the fuzzy relation is one of the most important stage in fuzzy time series methods. Some methods determine fuzzy relations by using index number of the fuzzy sets. Recently, several methods that use membership values to determine fuzzy relation have been proposed in the literature. In this paper, a new fuzzy time series forecasting algorithm is proposed. The algorithm use fuzzy c-means method in fuzzification stage. The determining of fuzzy relations stage is performed by multiplicative neuron model in proposed algorithm. In the proposed method, membership values are used instead of index number of the fuzzy sets. Three data sets are used to compare proposed method with some other methods in the literature. It is concluded that proposed method outperforms the some other methods in the literature.

Keywords: Fuzzy Time Series, Forecasting, Multiplicative Neuron Model, Fuzzy C-means

Cite this paper: Erol Egrioglu, CagdasHakan Aladag, Ufuk Yolcu, Burcin Seyda Corba, Ozge Cagcag, Fuzzy Time Series Method Based on Multiplicative Neuron Model and Membership Values, American Journal of Intelligent Systems, Vol. 3 No. 1, 2013, pp. 33-39. doi: 10.5923/j.ajis.20130301.05.

1. Introduction

Fuzzy time series methods are based on fuzzy set theory that was proposed by Zadeh[1]. For some time series, the observations of time series can be represented by fuzzy sets. If the observations of the time series are fuzzy sets, traditional time series methods cannot be used. Time series that have got fuzzy observations are called fuzzy time series. The fuzzy time series firstly were defined by Song and Chissom[2]. Moreover, the first fuzzy time series forecasting method was proposed by Song and Chissom[3]. There are two kind of fuzzy time series as time variant and time invariant. The inner relations of time invariant fuzzy time series do not change in time. In generally, fuzzy time series methods have got three stages. These stages are called fuzzification, determining fuzzy relation and deffuzzification, respectively. Various artificial intelligence methods can be used in these stages. Genetic algorithm, particle swarm optimization and fuzzy c-means methods for fuzzification of time series; genetic algorithm, particle swarm optimization and artificial neural networks for determining fuzzy relation and artificial neural networks for defuzzification have been used in the literature. it is known that each stages are very effective on forecasting performance of fuzzy time series.
Artificial neural networks were firstly used for determining fuzzy relation by Huarng and Yu[4]. They determined fuzzy relation by using artificial neural networks in first order fuzzy time series forecasting model. Then, Yu and Huarng[5] applied neural networks to fuzzy time series forecasting in bivariate first order fuzzy time series forecasting model. Artificial neural networks were applied to determine fuzzy relation by Egrioglu et al.[6] in bivariate high order fuzzy time series forecasting model. Egrioglu et al. ([7-8]), Aladag et al. ([9-10]) ,Egrioglu et al.[11], Aladağ[12], Yu and Huarng[13] and Yolcu et al.[14]. Egrioglu et al. ([6-7-8]), Aladag et al. ([9-10]), Egrioglu et al.[15], Aladağ[16] used index number of fuzzy sets for training artificial neural networks in determining fuzzy relations stage. In these studies, membership values of fuzzy sets are not taken into consideration. Yu and Huarng[13] and Yolcu et al.[14] used membership values of fuzzy sets for training artificial neural networks in determining fuzzy relations stage. Aladağ[16] different from others since it used multiplicative neuron model neural network instead of multilayer perceptron neural network. The multiplicative neuron model neural network was use to determine fuzzy relation of seasonal fuzzy time seires in Aladağ S. et al.[12].
In this study, novel fuzzy time series method is proposed. Proposed method use fuzzy c-means clustering in fuzzification stage and multiplicative neuron model neural network in determining fuzzy relations stage. Particle swarm optimization method is applied for training multiplicative neuron model neural network. Fuzzy c-means, multiplicative neuron model neural network and particle swarm optimization are summarized respectively in section 2,3 and 4. In section 5, the proposed method is given. Applications of proposed method and conclusions are given in section 6 and in section 7.

2. The Fuzzy C-means Clustering Method

Song and Chissom[2] suggested partition of universe of discourse method for using the fuzzification stage. However there are several problems such as determination of the number of intervals, arbitrarily choice of interval length and membership degrees in this method. To solve these problems, Cheng et al.[17] and Li et al.[18] used fuzzy c-means clustering method for fuzzification. This method that is commonly used for clustering was firstly introduced by Bezdek[19]. It is based on objective function and advantage of this method is objects can have membership degrees in clusters. In this method, fuzzy clustering is conducted by minimizing the least squared errors within groups. Fuzzy c-means clustering algorithm has two main steps. In the first step, the algorithm finds centroids of each cluster and in the next step every object is assigned to a cluster depending on its distance to centroids. Let uij be the membership values, vi be the center of cluster, n be the number of variables, and c be the number of clusters. Then the objective function, which is tried to be minimized in fuzzy clustering, is
(1)
whereβ is a constant (β > 1) and called the fuzzy index. d(xj,vi) is a similarity measure between an observation and the center of corresponding fuzzy cluster. The objective function Jβis minimized subject to constraints given below.
In fuzzy c-means clustering method, to solve the minimization problem given above, an iterative algorithm is used. In each iteration, the values of viand uij are updated by using the formulas given in (3) and (4), respectively.
(2)
(3)

3. Particle Swarm Optimization

Particle swarm optimization is one of the heuristic technique that first devoloped by Kennedy and Eberhart[20]. Although a general problem with optimization algorithms is that of becoming trapped in a local optimum, particle swarm optimization avoid from it.
In the literature, particle swarm optimization method has been applied for fuzzification stage in fuzzy time series. Davari et al.[21] was applied PSO algorithm for fuzzification stage in the first order fuzzy time series forecasting model. Then Kuo et al. ([22-23]) used particle swarm optimization method in high order models and in both first and high order models, respectively. Particle swarm optimization method was used for two factor high order model in Park et al.[24]
It was shown that using some time varying parameters can increase the convergence speed of the algorithm. Shi and Eberhart[25] used time varying inertia weight. Time varying acceleration coefficient in standard particle swarm optimization method was applied by Ma et al.[26]. In modified particle swarm optimization, these time varying constituents are used together unlike standard particle swarm optimization.
Algorithm 1: The modified particle swarm optimization.
Step 1.Positions of each kth (k = 1,2, …, pn) particles’ positions are randomly generated in the initial satge and kept in a vector Xk given as follows:
(4)
Where xk,i (i=1,2,…,d) represents ith position of kth particle. pn and d represents the number of particles in a swarm and positions of any particle, respectively.
Step 2.Velocities are randomly determined and stored in a vector Vk given below .
(5)
Step 3.According to the evaluation function, Pbest and Gbest particles given in (6) and (7), respectively, are determined .
(6)
(7)
Where Pbestk is a vector stores the positions corresponding to the kth particle’s best individual performance, and Gbest represents the best particle, which has the best evaluation function value, found so far.
Step 4.Let c1 and c2 represents cognitive and social coefficients, respectively, and w is the inertia parameter. Let (c1i, c1f), (c2i, c2f), and (w1, w2) be the intervals which includes possible values for c1, c2 and w, respectively. At each iteration, these parameters are calculated by using the formulas given in (8), (9) and (10).
(8)
(9)
(10)
Where maxt and t represent maximum iteration number and current iteration number, respectively .
Step 5.Values of velocities and positions at tth iteration are updated by using the formulas given in (11) and (12), respectively.
(11)
(12)
Where rand1 and rand2 are random values from the interval[0 1].
Step 6.Steps 3 to 5 are repeated until a predetermined maximum iteration number (maxt) is reached.

4. Multiplicative Neuron Model

The single multiplicative artificial neuron model which is a special case of neuron model was first presented by Yadav et al.[27]. This model has only one neuron and the general structure of the model, which includes only five inputs is illustrated in Figure 1.
Figure 1. Single multiplicative artificial neuron model
In this model, is input pattern and when output values are computed by using multiplication function instead of sum function .
The operator is a multiplicative operation which is composed of multiplication of weighted inputs. Activation function and target of the model are represented by f and y, respectively. In the literature, for training the multiplicative neuron model, there are several learning algorithms. Back propagation and cooperative particle swarm optimization learning algorithms were used in the process of multiplicative neuron model, Yadav et al[27] and Zhao and Yang [28], respectively.

5. Proposed Method

In the literature, various techniques have been applied to determine fuzzy relations in fuzzy time series forecasting methods. These techniques are fuzzy logic group relation tables, genetic algorithm, particle swarm optimization and neural networks. Some of these methods passed over membership values of fuzzy sets. The memberships of fuzzy sets should be taken into consideration in determining fuzzy relation stage. In this study, a novel fuzzy time series forecasting method is proposed. Fuzzy c-means clustering in fuzzification stage and multiplicative neuron model neural network in determining fuzzification stage are used in this method. To train multiplicative neuron model neural network, particle swarm optimization is applied. The some advantages of proposed method are given as below:
•Because of using fuzzy c-means in fuzzification stage, there is no necessity subjective decisions like determining interval length.
•The proposed method take into consideration membership values.
•The proposed method has modeling ability of multiplicative neuron neural network.
•The proposed method can forecast nonlinear time series because multiplicative neuron neural network are employed.
The proposed method is given in algorithm 2.
Algorithm 2: Proposed Method
Step 1. Apply FCM.
Firstly, FCM presented in Section 2 with the number of clusters c () is applied to time series includes crisp values. Values of cluster centers are calculated then, values of memberships are obtained by using these values of cluster centers. Sorted fuzzy clusters Lr, r=1,2, …, c are obtained by sorting the cluster centers in ascending order. The membership values are sorted by same order.
Step 2. Rearrange membership values .
Firstly, threshold value (tv1) are chosen. Then, the membership values that are lower than threshold value are taken as zero. For the each observations, membership values are standardized. For example, for any t, membership values are given in Table 1 when five fuzzy sets are used.
Table 1. Membership values of tth observation
     
Let the threshold value th1=0.25. The membership values are rearranged in Table 2.
Table 2. Rearranged membership values of tth observation
     
Step 3. Determining of fuzzy relations .
The different multiplicative neuron model for each fuzzy sets is used. When fuzzy sets (Lr, r=1,2, …, c) are used, the number of multiplicative neuron models that are used to determine fuzzy relations is c. For example, the membership values of three consecutive observations are given in Table 3, input and target of the multiplicative neuron model for first fuzzy set are given in Table 4 when 5 fuzzy sets are used in the method. Moreover, the architecture of multiplicative neuron model are shown in Fig. 2.
Table 3. Membership values of three consecutive observations
     
Table 4. Input and target of the multiplicative neuron model for first fuzzy set
     
Figure 2. The architecture of multiplicative neuron model for first fuzzy set
Step 4.Obtaining fuzzy forecasts.
The forecasts of membership values are obtained from multiplicative neuron models for each corresponding fuzzy sets.
Step 5. Rearrange membership values.
Firstly, threshold value (tv2) is chosen. Then, the membership values that are lower than threshold value are taken as zero. For the each observation, membership values are standardized. This step is applied like Step 2.
Step 6.Defuzzification of fuzzy forecasts.
The defuzzification is applied like Song and Chissom[3] method. There are three different situation while the deffuzification is applied. The forecasts are obtained in these situations as follow:
•If the membership values of the fuzzy forecast have only one maximum, then take the center value of this set as the defuzzified forecasted value.
•If membership values of fuzzy forecast have two or more consecutivemaximums, then select arithmetic mean of centers of corresponding clusters as the defuzzified forecasted value.
•Otherwise, standardize the fuzzy output and use the center of the fuzzy sets as the forecasted value.

6. Application

Firstly, the data of Index 100 in stocks and bonds exchange market of İstanbul (IMKB) between 01/10/2010 and 23/12/2010 are used in the application. The time series graph of the data set is given in Fig.3. The last 7 observations are used for testing, the other observations are used as training set.
Figure 3. The time series graph of IMKB, the period between 01.10.2010 and 23.12.2010
The proposed method is compared with the first order fuzzy time series forecasting models and the classical forecasting techniques. Firstly, for comparison, some methods available in the literature such as Song and Chissom[2], Chen[29], Hunarng and Yu[4] are applied to these data sets. Secondly, simple exponential smoothing and autoregressive integrated moving average (ARIMA) models are also applied. The all results are obtained from fuzzy time series and classical methods are shown in Table 5. The root of mean square error (RMSE) and mean absolute percentage error (MAPE) values for all methods are given in the Table 5. RMSE and MAPE values can be calculated from (13) and (14). In the application of the proposed method, th1= 0.1 and th2=0.1, the best number of fuzzy sets is obtained as 12.
(13)
(14)
where yi is the actual value; is the predicted value; T is the number of data.
The proposed method and benchmark methods are applied to TAIFEX data whose observations are between 03.08.1998 and 30.09.1998. The time series, which is also used in Lee at al.[30] has 47 observations. The first 31 and the last 16 observations are used for the training and the test sets, respectively. TAIFEX data is also forecasted by using proposed method. The results of other methods are taken from Lee et al. ([30-31]) and Aladag et al.[9]. The all results for TAIFEX data are shown in Table 6.In the application of the proposed method, th1= 0.05 and th2=0.05, the best number of fuzzy sets is obtained as 8.
Table 5. The forecasting results of all methods for test data of IMKB 2010
     
Table 6. The forecasting results of all methods for test data of TAIFEX
     
Table 7. The forecasting results of all methods for test data of IMKB 2008
     
Finally, proposed method is applied to the data of Index 100 in stocks and bonds exchange market of İstanbul (IMKB) between 3 October 2008 and 31 December 2008.The last 7 observations are used for testing; the other observations are used as training set.The application results are given in Table 7. In the application of the proposed method, th1= 0.2 and th2=0.2, the best number of fuzzy sets is obtained as 12. It can be seen that proposed method is better than others for third data set, too.

7. Discussion and Conclusions

Some fuzzy time series methods passed over membership values. Recent years, fuzzy time series methods based on membership values have been proposed in the literature. In this study, a novel fuzzy time series forecasting method that take into consideration membership values are proposed. The performance of the proposed method is experimentally compared with the other methods by using three real time series data. It is obtained from experimental study that the forecasting of the proposed method is better than benchmark methods for two time series. Besides good forecasting performance of the proposed method, it has got ability to forecast nonlinear time series because of employing multiplicative neuron model neural network. In the future studies, threshold parameter can be optimized in the PSO algorithm. This optimization may provide better forecasting results.

References

[1]  Zadeh L.A.: Fuzzy Sets, Inform and Control 8, 338-353 (1965).
[2]  Song Q., and Chissom, B. S., 1993, Fuzzy time series and its models, Fuzzy Sets and Systems, 54, 269-277.
[3]  Song Q., and Chissom, B. S., 1993, Forecasting enrollments with fuzzy time series- Part I, Fuzzy Sets and Systems, 54, 1-10.
[4]  Huarng, K,.and Yu, T.H.-K., 2006, Ratio-based lengths of intervals to improve fuzyy time series forecasting, IEEE Transactions on Systems, Man., and Cybernetics-Part B:Cybernetics 36, 328-340.
[5]  Yu, T.K. and Huarng, K., 2008, A bivariate fuzzy time series model to forecast the TAIEX, Expert Systems with Applications 34(4), 2945-2952.
[6]  Egrioglu E., Aladag, C.H., Yolcu U., Uslu V.R., Basaran M.A., 2009, A New Approach Based on Artificial Neural Networks for High Order Multivariate Fuzzy Time Series, Expert Systems with Applications 36, 10589-10594.
[7]  Egrioglu E., Aladag Ç.H., U.Yolcu, A. Başaran, V.R. Uslu., 2009, A New Hybrid Approach Based on SARIMA and Partial High Order Bivariate Fuzzy Time Series Forecasting Model, Expert Systems with Applications 36, 7424-7434.
[8]  Egrioglu E., Aladag C.H., Yolcu U., Uslu V.R., Basaran M.A., 2009, A New Approach Based on Artificial Neural Networks for High Order Multivariate Fuzzy Time Series, Expert Systems with Applications 36, 10589-10594.
[9]  Aladag, C.H., Basaran M.A, Egrioglu E., Yolcu U., Uslu V.R., 2009, Forecasting in high order fuzzy time series by using neural networks to define fuzzy relations, Expert Systems with Applications 36, 4228-4231.
[10]  Aladag C.H., Yolcu U., Egrioglu E., 2010, A high order fuzzy time seriesforecasting model based on adaptive expectation and artificial neural Networks, Mathematics and Computers in Simulation 81, 875-882.
[11]  Egrioglu E., Uslu V.R., Yolcu U., Basaran M.A., Aladag C.H., 2009, A New Approach Based On Artifıcial Neural Networks For High Order Bivariate Fuzzy Time Series, J.Mehnen et al. (Eds.): Applications of Soft Computing, AISC 58, pp.265-273, Springer-Verlag Berlin Heidelberg.
[12]  Aladag S., Aladag C.H., Mentes T., Egrioglu E., 2012, A New Seasonal Fuzzy Time Series Method Based on Multiplicative Neuron Model and SARIMA, Hacettepe Journal of Mathematics and Statistics, 43,337-345.
[13]  Yu, T.K. and Huarng, K., 2010, A neural network- based fuzzy time series model to improve forecasting, Expert Systems with application 37, 3366-3372.
[14]  Yolcu, U., Aladag, C. H., Egrioglu, E., Uslu, V. R., 2012,Time series forecasting with a novel fuzzy time series approach: an example for Istanbul stock market, Journal of Statistical Computation and Simulation, (Accepted Manuscript, Doi:10.1080/00949655. 2011.630000)
[15]  EgriogluE ,Aladağ C.H., Yolcu U., 2013, A Hybrid Fuzzy Time Series Forecasting Model Based on Fuzzy C-Means and Artificial Neural Networks, Expert Systems with Applications 40, 854-857.
[16]  Aladag, C. H., 2013, Using multiplicative neuron model to establish fuzzy logic relationships. Expert Systems with Applications, 40(3), 850-853.
[17]  Cheng C.H., Cheng G.W., Wang J.W., 2008, Multi-attribute fuzzy time series method based on fuzzy clustering, Expert Systems with Applications 34, 1235-1242.
[18]  Li S.-T., Cheng Y.-C., Lin S.-Y., 2008, A FCM-based deterministic forecasting model for fuzzy time series, Computers and Mathematics with Applications, 56, 3052-3063.
[19]  Bezdek, J.C.: Pattern recognition with fuzzy objective function algorithms, NY: Plenum Press, 1981.
[20]  Kennedy, J., Eberhart, R., 1995, Particle swarm optimization, In Proceedings of IEEE International Conference on Neural Networks, pages 1942–1948, Piscataway, NJ, USA, IEEE Press.
[21]  Davari S., Zarandi M.H.F., Turksen I.B., 2009, An improved fuzzy time series forecasting model based on particle swarm intervalization, The 28th North American Fuzzy Information Processing Society Annual Conferences (NAFIPS 2009), Cincinnati, Ohio, USA, June 14-17.
[22]  Kuo I.H., Horng S.J., Kao T.W., Lin T.L., Lee C.L., Pan Y., 2009, An improved method for forecasting enrollments based on fuzzy time series and particle swarm optimization, Expert Systems with Applications 36 ,6108-6117.
[23]  Kuo I.H., Horng S.J., Chen Y.H., Run R.S., Kao T.W., Chen R.J., Lai J.L., Lin T.L., 2010, Forecasting TAIFEX based on fuzzy time series and particle swarm optimization, Expert Systems with application 37, 1494-1502.
[24]  Park, J.I., Lee D.J., Song C.K., Chun M.G., 2010, TAIFEX and KOSPI 200 forecasting based on two factors high order fuzzy time series and particle swarm optimization, Expert Systems with Application 37 (2010) 959-967.
[25]  Shi, Y, Eberhart, R.C., 1999, Empirical study of particle swarm optimization. Proc IEEE IntCongrEvolComput, 3:101–6.
[26]  Ma, Y., Jiang, C., Hou, Z., Wang, C., 2006, The formulation of the optimal strategies for the electricity producers based on the particle swarm optimization algorithm. IEEE Trans Power Syst, 21(4):1663–71.
[27]  Yadav R.N., Kalra P.K. and John J., 2007, Time series prediction with single multiplicative neuron model, Applied Soft Computing, 7, 1157-1163.
[28]  Zhao L., Yang Y., 2009, PSO-based single multiplicative neuron model for time series prediction, Expert Systems with Applications, 36, 2805-2812.2007, Time series prediction with single multiplicative neuron model, Applied Soft Computing, 7, 1157-1163.
[29]  Chen, S. M., 1996, Forecasting enrollments based on fuzzy time-series. Fuzzy Sets and Systems 81, 311-319.
[30]  Lee L.W., Wang L.H., Chen S.M., 2007, Temperature prediction and TAIFEX forecasting based on fuzzy logical relationships and genetic algorithms, Expert Systems with Applications 33, 539-550.
[31]  Lee L.W., Wang L.H., Chen S.M., 2008, Temperature prediction and TAIFEX forecasting based on high order fuzzy logical relationships and genetic simulated annealing techniques, Expert Systems with Applications 34, 328-336.