Kifayat Mammadova, Yegana Aliyeva, Matanat Hasanquliyeva RT&A, Special Issue No 5 (75)
PROCESSING OF DATA BASED ON FUZZY RULES V°lume 18, JMowmter 2023
PROCESSING OF DATA BASED ON FUZZY RULES
Kifayat Mammadova, Yegana Aliyeva, Matanat Hasanquliyeva
Azerbaijan State Oil and Industry University [email protected] [email protected] [email protected]
Abstract
After establishing a fuzzy rule base using the interpolation result mechanism, arranging a fuzzy inference system is performed. The established system will infer about the level of risk using a fuzzy rule base and input statistics. In this work, the construction of the inference system has been determined using fuzzy rules interpolation. The construction determines the distances between input signals and relation functions based on if-then rules. The cross section a used here reduces the distance between input variables. In this work, interpolation is used to measure the distance between a-section fuzzy sets. Such economics issues as forecasting, planning, calculation of expected income are considered in uncertainty conditions, incomplete information conditions using interpolation.
Keywords: fuzzy sets, Z numbers, fuzzy rules, judgments, interpolation, difference of fuzzy sets, forecasting, expected income
I. Introduction
The presentation and processing of data is a class of mathematical problems having an obvious practical direction, primarily in the field of information science, radio engineering, control and communication theory, radar and navigation equipment. In most cases, in solving mathematical problems, the initial data is represented by a number of points of arbitrary dependence of form y (x). In the free state, this dependence may be unknown. The interpolation apparatus is used to calculate the intermediate values of a function.
Non-fuzzy interpolation methods allowing to solve specific problems of approximate calculations and obtain stable solutions are used to illustrate the uncertainties and unmanageable errors occuring in the development of various models used in technical applications, to reduce the impact of uncertainties. The application of fuzzy set theory methods in the above-mentioned problems provides simple and effective algorithms. One way to filter data with uncontrollable distortions is fuzzy interpolation, which is a natural generalization of the corresponding distinct analog. Distinct and fuzzy interpolation algorithms are based on the use of Newton and Lagrange polynomials. Spline interpolation is widely used in computational mathematics with the further development of variation methods to solve difference problems.
Significant advancement has also been achieved in solving various problems using fuzzy linear systems in computational mathematics, control theory, and other fields. In this paper, based on fuzzy calculations and the theory of fuzzy linear systems, Newton's interpolation problem for fuzzy data is solved and conditions are provided for the presence or absence of strong, weak interpolation [1].
In the paper, the model of fuzzy data interpolation in the production process is developed. A polynomial with a fuzzy coefficient is constructed as a model function. Moreover, the concept of gravity point used to determine the distances between data is presented. The optimization
problem is solved by the minimum of the squares sum of the distances between the initial and model data and the equality of fuzzy functions.
II. Inclusion of fuzzy interpolation
Being a part of classical sets, fuzzy sets are always perceived as an extension of classical sets. The elements of these sets have a degree of relation. Let us give definitions of fuzzy sets and fuzzy triangle relation functions used in this paper.
Defintion 1. Suppose, U = {x1,x2,... , xn} is a space of judgments, universe. The fuzzy set A taken from the set U is a relation function of (A c U) nA : U — [0, 1 ] A set and indicates the relation function of /iA (x) e [ 0 , 1 ] x- to A[0,1].
Defintion 2. R is a fuzzy subset A defined by the elements of a set of real numbers (%, a2 , a3 ) . The triangular fuzzy relation function of the set A means the following function:
fiA(x) = <
0 , - oo < x < a±
x-a-i
a2 — a1 a2—x
a3-a2
ai<x<a2
< < (1)
a2 < x < a3 — 00 < x < oo
The fuzzy triangular relation function is often used to represent linguistic terms numerically. Here, triangular relation functions were used to represent the constraints and reliability of Z-number. Systems based on fuzzy regulations cover the fuzzy sets in the previous and subsequent parts of the rules, as well as determine the relationship between the input and output of the system. In addition, using fuzzy rules base and inputs, fuzzy inference is performed to make decision. Various fuzzy information mechanisms are proposed for the development of fuzzy data. These mechanisms are mainly based on analogy, similarity, composition, interpolation and distance approach. In these approaches, the performance, speed and complexity of the inference mechanisms are considered to be important issues [2-4].
This paper discusses an inference mechanism based on fuzzy interpolation considerations proposed by Cauchy and Hirota. Fuzzy interpolation can be used effectively to develop a database of rules in conditions of uncertainty. In this case, some conditions are required to be carried out. The fuzzy sets used under such conditions must be continuous, convex, and limited normal. Interpolation is based on measuring the distance between two fuzzy sets. In this work, interpolation is used to measure the distance between a-section fuzzy sets. Consider two fuzzy sets Ai and A2. a-section of fuzzy sets Ai and A2 will be marked with A 1 and A ". Suppose, fuzzy set Ai is smaller than A2, i.e. Ai<A2, if
in/{A 1 } < in/{A 2} va sup{A 1 } < sup{A 2} . (2)
Where in/{A 1} and in/{A 1} are lower boundries for Ai va A2, sup{A 1} and sup {A 2} are upper boundaries for Ai va Ai (1). Consider the mechanism of interpolation justification. Let's consider a fuzzy controller based on a fuzzy rule base with one input and one output. Suppose that the current input variable X is taken equal to A* as a result of the observation. Let's determine the value of output Y of the system based on the corresponding rules database A* Suppose, A' is smaller than fuzzy set Ai and greater than fuzzy set A2, i.e., Ai<A*<A2 and at the same time Bi<B2. Let's define a system output for A* input. The problem can be expressed as follows [1]: It is provided:
X is taken equal to A*, and Y equal to B*.
if X is Ai, then Y is Bi, (3)
if X is A2, then Y is B2,
Where,
v.
d(A',A! ) _ d(B',B1 ) d(A',A2) ~ d(B'B2)
(4)
Where, d( ■) is the distance between two fuzzy sets. Using a-sections based metrics, Cauchy and Hirota finally determined fuzzy sets. The distance between the two fuzzy sets intersected by dL at the bottom and dU at the top can be calculated as follows by using a [2,3]:
dfj = dL(A fj.X?) = d(inf {A fj}, infix?}) = inf[A fj} - infix?} , (5)
dUj = du (Afj.Xj1) = d(sup{Afj},sup[Xja}) = sup[Afj} - sup[Xja}df =
= dL( Bj* , Yja) = d( inf{Bf}, inf{Yja}) = inf{B*} - inf{Yja} du = d u(B}a,Yja) = = d (sup {B?}, sup {Y*}) = sup{B*} - sup{Yjx}
Homming or Euclidean formula can be used to measure distances in (5). Using the distance, Cauchy and Hirota put forward a proposal based an interpolation for the rule of 2k.
inf[Bj
su
p[BJ'
} n=¿/dL(A?jAr) '
= Z 2=M l/d u (Afj,A'«))sup {b-}
< Z2^i/d" (AfjA'ta)
(6)
Where, B/ a = [ in f {Bj a},sup{B* "}]. In order to find the result of the fuzzy system Z, consider the justification using interpolation.
Hi*)
A*1 A*2
inf sup 1 A") inf (-4?) sup ( A\) X '
Fig. 1: a is the cross section of the relation function: infimum and supremum.
III. Fuzzy inference system based on Z-numbers
Defintion 1. Number Z is an ordered pair of fuzzy numbers denoted by Z (A, B), where the first component A is a constraint for the values of fuzzy variable X, and the second component B is a measure of reliability for A components.
Figure 1 uses the triangular relation functions to illustrate the components of number Z. Where, A will express the fuzzy value of variable X, and B will express the accuracy degree or reliability measure, or accuracy probability of A; for example, X is A with possible constraints, i.e.
B(X) : X c A —> Poss(X = u)= nA{x)
(7)
Where, i A(x) is the relation function of fuzzy set A constrained by B(X). u is the total value of X. is a relation degree that provides u. One of the most effective ways to present fuzzy data is to use number Z. For example, let's consider the forecast of grain harvest in our country. As you know, this parameter depends on a number of factors. "If we say that the grain harvest will be
higher this year, it is considered an event that can happen 100%. More precisely, this event can be expressed as follows: "This year the grain harvest will be higher" [5-7].
As it is shown, the event can be illustrated by a number Z, i.e., "X = Z (A, B)". Where, fuzzy variable X is the "grain harvest". The values of variable X are described using the pair (A, B). A is "higher" constraint and B is the reliability of A, which is illustrated as "most probable".
Definition 2. Suppose, Zi(Ai,Ri) and Z2(A2,R2) are two Z numbers. The a-cross-sectional distance between numbers Zi and Z2 is defined as follows:
D (Z?,Z?) = - a 2 a I + la*? - af al + r? - r£al + Irf? - rf al (8)
where, are respectively a-cross-sectional fuzzy triangular
numbers of fuzzy sets Ai, Ri, A2 vd R2 from right and left sides.
Consider the development of Z-number based interpolation mechanism. Suppose that if-then fuzzy rules with multiple inputs and one output, have the following form:
if x1 = (A-l-l.R-l-l) ...,V3 xm = (Alm,Rlm), then y = (B1,R1), if x1 = (A2i,R2 J ..,,v3 xm = (A2m,R2 m),then y = (B2,R2) , (9)
if xi = (.Anl, Rnl) ... ,vd xm = (Anm, Rnm), then y= (Bn,
where A^ and Rij are fuzzy limiting and reliability parameters, respectively, and xi and y are system inputs and outputs. Here j = 1,..., m, m are the number of input signals; i = 1, ..., n, n are the number of rules. Let's use the fuzzy interpolation given above for fuzzy rules based on Z numbers in Fig.2. Suppose that these input signals are included in a fuzzy system. In the first iteration, the distance between the input signal included and the fuzzy values of the variables according to the rules used in the previous section will be calculated. The distance is calculated using the a-section using Hamming or Euclidean distances.
In the next section, the metrics will be calculated separately for each constraint and reliability variable [1-4].
Formula (5) is used in the previous part of the rules to find the metrics of the relation function at the bottom and top. a sections of A are used to determine the lower and upper distances [8]:
d ij(A ?j,X?) = d fj = \A fj — X"j\, (10)
d? = Z?dij(A?j,X}a),
here, dj(A^X?) is the metrics between two fuzzy sets defined for rule i; j=1, ..., m and m are the number of input signals; i=1, ..., n and n are the number of the rules. Distances are described as lower and upper metrics:
d?}(A?},X?) = {d2j(A?},X?),d¡}(A?},X?У} and d?(df.df).
In the special case, equation a = {0,1}.(2.10) is applied to the constraint A and reliability R. The total distance will form the sum of the two distances:
d? = dc? + dr? , (11)
where, and are the distances calculated sequentially with (8) for the constraint and reliability parameters. is the calculated distance for this rule. Each of the calculated distances is characterized by two left and right values [9]:
dc? = {del, dci) dr" = {drf, dr") d? = d? + d? (12)
Output data for output fuzzy set is calculated as:
? = g= i ( 1 /d?) B?t
1 /Yl== i1 / d?
R? = \ l) ¡l (13)
Y 1 l 1 / d ? K '
Formula (13) is used to find the values of constraints and reliability of fuzzy sets. If we combine (10) and (13), the following equations can be obtained:
i/faMzTd^ *?)))) ( )
R? =
i( 1 /T?dL (A*xij,Xj?)) B?j i/(nt= l(1 /{Z?dL{Aax ifX?))))
The fuzzy signal Z of the system can be obtained using (10) - (13).
It should be noted that is used to find the output signal, and variables are used to find reliability on the right of formula (13) or (14). After obtaining the output signals, the number Z is converted into a non-fuzzy number. To do this, a formula is used to calculate the middle of two fuzzy numbers.
Y=( (Yi + 4*Ym + Yr) 16) * ((RVl +4*RVm + RVJ/6) (15)
Formula (15) is used to obtain the exact value of the output signal. Here Y is the fuzzy output value and RY is the reliability. It should be noted that in the previous and next parts of the rules base we use triangular fuzzy sets for input and output parameters. Given the levels a = 0 and a = 1, we can obtain the left value of the output signal Yi, the average Ym and the right Yr. Left (Yt,RYJ and right (Yr,RYr) values correspond to the level a = 0, the average value ( Ym,RYm) corresponds to the level a = 1 . First, the left and right values are determined according to the level a = 0, then the highest value of the triangle corresponding to the level a = 1 is determined. These values are applied to find the output triangle relation function.
IV. Conclusions
In this work, the construction of the result system was determined using interpolation of fuzzy rules. The distances between the input signals and relation functions based on if-then rules are determined in the construction. The cross section a used here reduces the distance between the input variables. In this work, interpolation is used to measure the distance between a-section fuzzy sets.
References
[1] Lutfi Z., Aliyev R.A."Fuzzy Logic Theory and Applications", World Scientific, 2018.
[2] Aliyev R.A., Aliyev R.R. Soft Computing. Baki, Chashioglu, 2004, 484 s.
[3] Oscar Castillo, Patricia Melin. Type-2 Fuzzy Logic: Theory and Applications. Springer Berlin, Heidelberg. Published: 21 October 2010, 244p. https://doi.org/10.1007/978-3-540-76284-3.
[4] George Klir and Bo Yuan. Fuzzy sets and fuzzy logic: Theory and Applications". Prentice Hall PTR, Upper Saddle River, New Jersey, 1995, XV + 574 pages. ISBN 0-13-101171-5.
[5] Ihsan Kaya, Murat ^olak, Fulya Terzi. A comprehensive review of fuzzy multi criteria decision making methodologies for energy policy making. Energy Strategy Reviews. Energy Strategy Reviews 24 (2019), pp.207-228.
[6] Xiuxia Du, and Pingkang Li. Fuzzy Logic Control Optimal Realization Using GA for Multi-Area AGC Systems. International Journal of Information Technology Vol.12 No.7 2006, pp. 63-72.
[7] Kamari M. L., Isvand H., Nazari M. A. Applications of Multi-Criteria Decision-Making (MCDM) Methods in Renewable Energy Development: A Review. Renewable Energy Research and Application, Vol 1, No 1, 2020, 47-54.
[8] Bayram G. Ibrahimov, Faxri I. Huseynov. Research and analysis mathematical model for evaluating noise immunity in telecommunication system// SYNCHROINFO JOURNAL, IEEE Austria Section, No.1, 2020. - pp. 2-6. DOI: 10.36724/2664-066X-2020-6-1-2-6.
[9] Mammadova K.A. Construction of fuzzy power generation model of thermal power plants. Scientific collection «interconf». No1, 2021, pp.1065-1075.