Научная статья на тему 'Иерархическая настройка классификационных правил с лингвистической модификацией на основе решения нечетких реляционных уравнений'

Иерархическая настройка классификационных правил с лингвистической модификацией на основе решения нечетких реляционных уравнений Текст научной статьи по специальности «Медицинские технологии»

CC BY
46
19
i Надоели баннеры? Вы всегда можете отключить рекламу.
Ключевые слова
ИЕРАРХИЧЕСКАЯ НАСТРОЙКА / КЛАССИФИКАЦИОННЫЕ НЕЧЕТКИЕ БАЗЫ ЗНАНИЙ / РЕШЕНИЕ НЕЧЕТКИХ РЕЛЯЦИОННЫХ УРАВНЕНИЙ / HIERARCHICAL TUNING / FUZZY CLASSIFICATION KNOWLEDGEBASES / SOLVING FUZZY RELATIONAL EQUATIONS

Аннотация научной статьи по медицинским технологиям, автор научной работы — Rakytyanska H.

Разработан подход, который объединяет семантическое обучение, гранулярное разбиение и решение нечетких реляционных уравнений для построения точных и интерпретабельных правил. Предложена составная нечеткая модель прямого логического вывода на основе первичных правил с гранулярными параметрами. Разработан метод иерархической настройки с лингвистической модификацией на основе решения нечетких реляционных уравнений, что сокращает время обучения

i Надоели баннеры? Вы всегда можете отключить рекламу.
iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.

Classification rule hierarchical tuning with linguistic modification based on solving fuzzy relational equations

The common problem with the hierarchical tuning methods is the lack of conditions for modification of the primary rules. The incremental approach accelerates the generation of candidate rules, but complicates the selection of the primary and modified rules. In the paper, the approach that combines semantic training, granular partition and solution of fuzzy relational equations for constructing accurate and interpretable rules is developed. The composite fuzzy model of direct logic inference based on the primary rules with granular parameters is proposed. The method of hierarchical tuning with the linguistic modification based on solving fuzzy relational equations is developed, which allows reducing the training time. It is shown that the weights of the primary rules, which are subject to modification, as well as the hedging threshold of the primary terms, are solutions of the primary system of fuzzy logic equations with the hierarchical max-min/min-max composition, which solves the problem of the hierarchical selection of the primary and modified rules for the given output classes. The genetic-neural approach was used for tuning the primary rules and solving the system of equations, as well as tuning the composite rules. The effectiveness of the approach is illustrated by the example of tuning and interpreting the solutions to the technological process quality control problem for the specified productivity classes. The primary model with granular parameters allows reducing the tuning error by 25 % compared to the primary relational model. The solution of the hierarchical selection problem allows reducing the tuning time by half.

Текст научной работы на тему «Иерархическая настройка классификационных правил с лингвистической модификацией на основе решения нечетких реляционных уравнений»

-□ □-

Розроблено пiдхiд, який поеднуе семантичне нав-чання, гранулярне розбиття та розв'язання нечтких реляцшних рiвнянь для побудови точних та ттерпре-табельних правил. Запропоновано сполучену нечтку модель прямого логiчного виведення на основi первин-них правил з гранулярними параметрами. Розроблено метод iерархiчного налаштування з лтгв^тичною модифжащею на основiрозв'язання нечткихреляцшних рiвнянь, що скорочуе час навчання

Ключовi слова: iерархiчне налаштування, класиф^ кацшт нечтт бази знань, розв'язання нечткихреляцшних рiвнянь

□-□

Разработан подход, который объединяет семантическое обучение, гранулярное разбиение и решение нечетких реляционных уравнений для построения точных и интерпретабельных правил. Предложена составная нечеткая модель прямого логического вывода на основе первичных правил с гранулярными параметрами. Разработан метод иерархической настройки с лингвистической модификацией на основе решения нечетких реляционных уравнений, что сокращает время обучения

Ключевые слова: иерархическая настройка, классификационные нечеткие базы знаний, решение нечетких

реляционных уравнений -□ □-

UDC 681.5.015:007

|dOI: 10.15587/1729-4061.2018.123567|

CLASSIFICATION RULE HIERARCHICAL TUNING WITH LINGUISTIC MODIFICATION BASED ON SOLVING FUZZY RELATIONAL EQUATIONS

H. Rakytyanska

PhD, Associate Professor Department of software design Vinnytsia National Technical University Khmelnytske shose str., 95, Vinnytsia, Ukraine, 21021 E-mail: h rakit@ukr.net

1. Introduction

Hierarchical tuning is used to ensure the accuracy and interpretability of fuzzy models. The model of the highest level of the hierarchy is based on the primary terms that determine the semantic trend (increase, decrease). The model of the lowest level is constructed using linguistic modifiers (strong, weak) that reflect the semantic intensity of the primary terms. The modified candidate rules are generated for each primary rule, and the knowledge base is subject to further selection and reduction [1]. The linguistic modification is carried out by the concentration of the primary term with the subsequent shift. As a result, the problem of interpretability ensuring requires significant computing resources [1].

The reduction of complexity is provided by the method of hierarchical granular clustering, which carries out primary partition with the subsequent refinement of granules within primary classes [2]. The solution to the problem of rule selection may be the use of fuzzy relational equations [3], the solutions of which represent the linguistic modification of the primary terms. Therefore, it is important to develop a composite approach combining the benefits of semantic training, granular partition and fuzzy relational equations in simplification of the process of hierarchical tuning of fuzzy classification knowledge bases.

2. Literature review and problem statement

Hierarchical tuning requires the definition of conditions for modification of the primary rules, as well as the selection

of the modified candidate rules [4, 5]. For this purpose, models of linguistic modifiers are developed. In semantic models, the linguistic modifier describes the significance measure of the primary term or hedging threshold [6-8]. Then the conditions of partition are associated with determining the hedging threshold, and selection is based on the relationships of semantic ordering [6].

The combination of advantages of the accuracy of granular models and interpretability of linguistic models has led to the emergence of the composite approach to tuning [9-12]. The linguistic modification is accomplished by the partition of the primary granules. The primary rules are consistently selected according to the contribution to the classification error [9]. The refined rules are formed using the methods of hierarchical or conditional fuzzy clustering [10, 11]. Such systems are regarded as partially granular, since the condition of the partition of the primary granule is determined by its description [11]. The interaction of the rules is provided by the granular parameters of the primary linguistic model, and the composite method of partition is provided by the flexible type of the primary membership function [12].

The incremental approach [9-12] accelerates the generation of candidate rules, but complicates selection. The hierarchical selection requires the choice of the best configuration of the primary rules, whose linguistic modification ensures the inference accuracy [9]. The common problem with hierarchical tuning methods is the lack of conditions for modification of the primary rules. As a result, both primary and modified rules are subject to selection [13].

In [14-16], the method for tuning of classification rules based on the inverse logic inference has been proposed. In [14-16], the primary relational model has been used that

©

did not require primary selection. The hedging threshold of the primary terms has been determined by solutions of the system of fuzzy relational equations with extended max-min composition. In [17], the method of linguistic modification of the primary relational rules has been proposed. To do this, the transition to the primary system of equations with the hierarchical max-min/min-max composition has been carried out [3]. The solution of such a system of equations solves the problem of selection of the primary and modified rules, which simplifies the process of generation of candidate rules. However, the composite model [17] can yield in accuracy, since the primary model remains relational. The method of space partition of the input variables of such a model excludes the application of the primary rules with granular parameters. Finally, the model [17] needs to be tuned to experimental data.

Unlike [17], the composite fuzzy model of direct logic inference is developed on the basis of the primary rules with granular parameters. The method of tuning such model to experimental data is the method of classification rule hierarchical tuning with the linguistic modification based on solving fuzzy relational equations. In this case, the properties of the model [17] allow reducing the complexity of the problem of structural identification. In the first stage, the primary rules are tuned, and the modification conditions in the solutions of the primary system of equations are determined. In the second stage, the parameters of the granular solutions in the modified rules are tuned.

3. The aim and objectives of the study

The aim of the work is to develop the method of classification rule hierarchical tuning with the linguistic modification based on solving fuzzy relational equations. The method should ensure the construction of accurate and interpretable knowledge bases. In this case, the hierarchical selection of the primary and modified rules should simplify the tuning process.

To achieve this aim, the following objectives were accomplished:

- to develop a composite fuzzy model of direct logic inference based on the primary rules with granular parameters;

- to develop a genetic-neural algorithm of hierarchical tuning.

4. Models and method of classification rule hierarchical tuning

4. 1. Composite fuzzy model of direct logic inference

For an object of the form y=f(X) with n inputs X= =(xi,..., xn) and the output y, the "input - output" relationship can be represented as a system of classification fuzzy IF-THEN rules:

U [l(x = Ay=Ej, J = 1M, (1)

k=1,T i=1,n

U[ (Xi) = a)}]^y = dj, j = 1m, (2)

k=1,T p=1,Zjk i=1,n

where Ej and dj are the primary and modified terms for estimating the variable y, J = 1, M, j = 1, m; M and m are

the numbers of the output terms; Aq is the primary term for estimating the variable x;, i = 1, n, in the rule k, k = 1, T; T is the number of the primary rules; Ak is the significance measure of the primary term Ak af,p is the fuzzy quantifier that describes the significance measure Ak in the rule with the number p = 1, zjk of the class dj; Zjk is the number of the composite rules for the primary rule k in the class dj.

The following system of fuzzy logic equations with hierarchical max-min/min-max composition corresponds to the primary fuzzy knowledge base (1) [17]:

1Ej (y) = max(min(|iHk (X),rJ )), J = 1M, (3)

k=1,T

1Hk (X) = min(|iAk (xt)), k = 1J, (4)

;=1,n

where |1Ej (y) is the membership function of the variable y to the term Ej; ¡iHk (X) is the membership function of the vector X to the rule Hk; 1Ak (xi) is the membership function of the variable Xi to the term Ak rkJ is the weight of the primary rule Hk in the class Ej, rJ e [0,1].

The following system of fuzzy logic equations corresponds to the composite knowledge base (2):

\i>(y) = max[maxw^ {min(j(Xi))}], j = 1,m, (5)

k=1,T y P=1zjk i=1,n

where Vjk is the weight of the primary rule Hk in the class dj, Vjk =1(0); Wjkp is the weight of the composite rule with the number jk,p in the class dj, wjk,p£[0, 1]; |1dj(y) is the membership function of the variable y to the class dj; jk,p (xi) is the membership function of the variable xi to the composite term j = (Atk, a f'p ).

If the value of the variable x in (4) is given by the fuzzy term x*, then the degree of membership A( x*) is defined as follows [18]:

1A(x*) = sup[min(iA(x,P,o), 1x (x))],

xe[ x ,x ]

where ^A(x, p, a) and x (x) are the membership functions of the fuzzy terms A and x'; p is the coordinate of the maximum of the function ^A; a is the concentration parameter [17].

The relations (3)-(5) determine the composite fuzzy model of direct logic inference based on the primary rules in the form:

ME(y, Be, fiE)=/k(X, R, BA, QA), (6)

y=f(X, fR, Z, q, V, W, Ba, Qa, Bd, Qd), (7)

where 1E = (iE',..., 1 Em ) is the fuzzy effects vector;

R c Hk x EJ = [rkJ, k = ITT, J = 1M]

is the weight matrix of the primary rules in the knowledge base (1);

BA = (P A,...,pAp), = (oA,...,oAp),

BE = (Pe1,...,Pem ), Qe = (oE>,..., oem )

are the vectors of the p and a parameters of the membership functions of the fuzzy terms Aj and Ej; P is the number of the

primary input terms in the knowledge base (1); q and Z is the number of the composite input terms and rules in the knowledge base (2); V=(vu,..., vit,..., vmi,..., vmj) and W= (®i,..., ®z) are the weight vectors of the primary and composite rules in the knowledge base (2);

B, = (Pa',...,Pa), Q, = (oa',..., ),

Bd = (P^,...^" ), Qd = (Odl,...,Odm )

are the vectors of the p and a parameters of the membership functions of the fuz zy terms ai and dj; fR and fr are the connection operators for the primary (1) and composite (2) rules.

4. 2. The problem of tuning the composite fuzzy model

Let the training data set be given in the form of L pairs

d e {d1v.., dm} - for tuning

of experimental data: (X , dp

the primary fuzzy model; (XX , y

of the composite terms af'p in the rule with the number jk, p.

Proof. Formula (10) follows from the properties of the set of solutions of the system of fuzzy logic equations with hierarchical max-min/min-max composition [3, 17]. Let:

p J = (pH1,...,PH ) - the weight vector of the primary rules Hk in the class dj;

Zj - the number of the primary rules, selected for modification in the class dj;

B j = (P1 v..,p£ ) - the coordinate vector of the maximum of membership functions in the composite rule in the class dj, j = 1,m.

The weights of the primary rules in the class dj are determined by a single maximum solution p ■ = (pH',...,PH )

and a set of minimum solutions p J = (pH'v",PH ^ l = 1' Zj, of the system (3).

For each interval solution of the system (3), that is, for

each primary rule with the weight

for tuning the composite fuzzy model, where X = (ip,...,xf ) and dp (y ) is the vector of the values of the input variables and the output class (the value of the output variable) in the experiment with the number p, p = 1, L.

The essence of tuning the fuzzy model (6) is as follows. It is necessary to find the weight matrix of the rules R, the parameter vectors of the membership functions of the inputs BA, and the output BE, Bd, fld, which provide the minimum distance between the model and experimental fuzzy effects vectors:

J[fR(Xp,R,BA,Qa)-p (dp,Be,Qe,Bd,Qd)] = mBin. (8)

Ht~Hk

PH,p h

, k = 1, T, l = 1, Z-,

the system (4) has the set of solutions Sk, which is determined by a single minipum solution Bkl and a set of maximum solutions Sji = {Bjih, h = 1, z^}:

Sji = U

B ji h eSji

k —k

B ji, B ji h

(12)

njkf

Here B* = (PjW,...,P;W) and B;u = (P1"") are the vectors of the lower and upper bounds of the coordinates of the maximum Pj.

By taking the union over the subsets (12) with the primary rules, we obtain the set of solutions S*(R,dj) of the system (3), (4), which is determined by the set of minimum solutions S_) = {Bj, I = 1, Zj}:

The essence of tuning the fuzzy model (7) is as follows. It is necessary to find the weight vectors of the primary and composite rules V, W and the parameter vectors of the membership functions of the inputs Ba, fla, which provide the minimum distance between the model and experimental outputs of the object:

£[fr(X^f^Zq,V,WB,,Q)-yp] = z,mm, . (9)

The number of rules Z and terms q of the composite model is determined by solving the primary system of fuzzy logic equations.

Statement. The p parameters of classification rules of the form:

U_[ U. {.n (x e j ,pi",p])}] ^ y = dj, j = 1, m, (10)

k=1,T p=1,Zjk i=1,n

are the solutions of the primary system of equations (3), (4) for the given output classes, that is, provide the minimum distance between the observed and model significance measures of effects [3, 17]:

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

M

£[pEj(dj)-max(min(min(AAk(Pfp)),rj))]2 = min. (11)

J=1 k=1,T !=1,n p

Here j (j) are the lower (upper) bounds of the coordinates of the maximum of membership functions

s* (R'd; ) = uU sï = u^U

BkieSk IjieSk ,h eSfl

k —k B jl, B ji h

(13)

Then the set of interval solutions (13) for the class dj has the form:

S* (R, dj ) = U

u

p=1'2;.k

k -k

B jp,B jP

j = 1, m.

(14)

Since for the hierarchical composition, the solution Bjp in the set (14) is interpreted as |Q [P^,Pj P], we obtain the

i=1,n

formula (10). The hedging threshold of the primary terms A* and Ej is ^ determined by the bounds of the significance measures [a f^, a j p ] in the solutions of the system of equations (3), (4), and the significance measures (ae',...,aEm ) in the fuzzy effects vector pE.

4. 3. Genetic-neural tuning algorithm

The genetic-neural method is developed in accordance with [19, 20] for tuning the primary rules and solving the system of fuzzy logic equations, as well as with [21] for tuning the composite rules.

To solve the optimization problem (8), the chromosome encodes the structure and parameters of the primary rules; optimization problem (11) - the structure of the composite rules; optimization problem (9) - the parameters of the composite rules. The fitness function is constructed on the basis of the criteria (8), (11), (9).

The cross-over operation consists in the exchange of parts of the chromosomes in the weight matrix R and the parameter vectors of the membership functions BA, BE, We, Bd, ^a; in the weight vectors of the primary rules ^H and coordinate vectors of the maximum B^; in the weight vector of the rules W and the parameter vectors of the membership functions Ba,

For the neural tuning of the model, the primary and composite fuzzy rules were implanted into a composite neu-ro-fuzzy network (Fig. 1).

where (iE(t) (^E(t)) is the experimental (theoretical) fuzzy effects vector on the t-th training step; tkJ(t) are the weights of the primary rules on the t-th training step; PAj (t), oAj (t), PEj (t), oEj (t) are the parameters of the membership functions of the primary terms on the t-th training step; Pdj (t), odj (t) are the parameters of the membership functions of the composite output terms on the t-th training step; n is the training parameter.

For tuning the structure of the composite fuzzy rules, the recurrence relations are used:

Fig. 1. Composite neuro-fuzzy model

For tuning the structure and parameters of the primary fuzzy rules, the recurrence relations are used:

deR

rJ ( t + 1) = r/ ( t ) -n-

dr/ (t )'

pAl ( t + 1) = pAi ( t ) -n

oAl ( t + 1) = oA ( t ) — n

de?

dP A (t )'

de? .

doAl (t).

(i + l) = Hf (i)-Tl

de?

d^f (t)'

de?

3pf (t )'

(17)

which minimize the criterion (16), where Ix"l(t) are the weights of the primary rules in the class dj on the i-th training step; $f'p(t) are the coordinates of the maximum of membership functions of the composite input terms on the i-th training step.

For tuning the parameters of the composite fuzzy rules, the recurrence relations are used:

p ( t + 1) = wik. ( t ) — n-

der

dwjk,p (t )

de.r

j p t

( t + 1) = ojk'p ( t ) — n

dpf'p (t ) der

dof'p (t)'

(18)

which minimize the criterion

= 2( yrt — yl )2'

where yrt (yrt) is the experimental (theoretical) output of the object on the t-th training step; Wkip(t) are the weights of the composite rules on the t-th training step; of ,p(t) are the concentration parameters of membership functions of the composite input terms on the t-th training step.

The partial derivatives included in (15), (17), (18) are calculated according to [19-21].

P"> ( t + 1) = pEj ( t ) — n / ; V ' W dpEJ (t)

5. Example: the problem of quality control of the wastewater treatment process

r r dp?

oEj ( t+1)=oEj ( t )—n-^ ;

do J (t)

dp?

pdj ( t + 1) = pdj ( t) — n^^-

odj ( t + 1) = odj ( t ) — n

dpdj (t )

de? dodj (t )'

which minimize the criterion e? = l(jî E (t ) — ^ E (t ))2'

(15)

The problem of quality control of the process of primary wastewater treatment is considered [22]. Rules to be tuned are interpreted as solutions to the inverse problem of restoring the reasons for pollution. Observation data for 527 days of operation of treatment facilities were obtained from [23].

Input parameters are: xi - acidity, xi£[7.3, 8.5]; x2 -biological demand of oxygen, x2e[32, 517]; x3 - suspended substances, x3e[104, 692]; x4 - volatile substances, x4e[7.1, 93.5]; X5 - sediments, xs£[1.0, 16.0]; x6 - conductivity, x6e[0.64, 3.17]*103. The output parameter is: y - the performance of suspended organics sedimentation, ye[5.3, 96.1].

The primary rules with weights are presented in Table 1, where the variables Xi and y were described by the decrease

(D) and increase (I) terms. The primary output terms in Table 1 were specified using linguistic modifiers: strongly (s), moderately (m), weakly (w). The tuned membership functions of the fuzzy terms Ej allowed obtaining the method of partition of the primary output granules into the modified granules dj = [Pd ,P ' ] (Table 2).

Table 1

Primary fuzzy knowledge base

IF THEN

X Weight xi X2 X3 x4 X5 X6 y

H 0.51 D D D I D D

H2 0.68 I D D I D D

H3 0.80 D I D I D D

H4 0.93 I I D I D D

H 0.45 D D D I D I

He 0.59 I D D I D I

H7 0.67 D I D I D I

Hs 0.89 I I D I D I

H9 0.75 D D I D D D

H10 0.62 D D I I D D

H11 0.91 D D I D I D

H12 0.56 D D I I I D

Table 2

Method of partition of primary output granules

dj Hedging threshold Modified granules dj Hedging threshold Modified granules

sD (0.86, 0.21) [18.25, 35.11] sI (0.18, 0.95) [67.70, 89.14]

mD (0.65, 0.29) [27.54, 47.61] mI (0.28, 0.74) [52.17, 77.75]

wD (0.48, 0.36) [36.23, 54.30] wI (0.30, 0.53) [49.85, 67.04]

The total number of the primary input terms (D (I)) in Table 1 is: A^), ^3(4), ^5(6), ^7(8), A9(10), Au(12). The tuned membership functions of the fuzzy terms Aj, I=1,...,12, allowed obtaining the method of partition of the primary input granules into the modified granules aa = [P°" ,P ' ], /=1,...,7 (Table 3). Granular solutions of the system of equations (3), (4) are presented in Table 4.

For the relational primary rules from Table 1, the mean square error is 5.2918, and for the rules with granular parameters - 3.9295. The resulting granular solutions provide the approximation of productivity y to the experimental data presented in Fig. 2.

The modified rules are given in Table 5.

Table 3

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

Method of partition of primary input granules

X{ qi Hedging threshold Modified granules qi Hedging threshold Modified granules

1 2 3 4 5 6 7

4 [0.91, 1] [7.30, 7.41] A [0.86, 1] [8.27, 8.50]

A2 [0.74, 0.91] [7.41, 7.55] A2 [0.65, 0.86] [8.15, 8.27]

A3 [0.65, 0.86] [7.50, 7.62] A3 [0.48, 0.65] [8.04, 8.15]

X1 A!4 [0.53, 0.74] [7.55, 7.72] A4 [0, 0.65] [7.30, 8.15]

A5 [0.48, 0.65] [7.62, 7.77]

A [0.36, 0.48] [7.77, 7.91]

A7 [0, 0.53] [7.72, 8.50]

A [0.74, 1] [32.00, 135.70] A [0.65, 1] [390.60, 517.00]

X2 A2 [0.48, 0.74] [135.70, 196.12] A2 [0.65, 0.86] [390.60, 432.84]

A33 [0.36, 0.48] [196.12, 235.49] A3 [0.48, 0.65] [352.19, 390.60]

A34 [0, 0.53] [183.27, 517.00] A4 [0, 0.48] [32.00, 352.19]

A [0.86, 1] [104.00, 168.41] A [0.91, 1] [534.92, 692.00]

A [0.65, 0.86] [168.41, 223.58] A! [0.74, 0.91] [485.02, 534.92]

X3 A [0.41, 0.65] [223.58, 298.11] A(3 [0.53, 0.74] [422.80, 485.02]

A4 [0, 0.48] [272.60, 692.00] A4 [0.36, 0.53] [354.16, 422.80]

A [0, 0.53] [104.00, 422.80]

1 2 3 4 5 6 7

4 [0.51, 1] [7.10, 21.50] A [0.86, 1] [75.04, 53.50]

x4 A [0.74, 0.51] [21.50, 25.08] A2 [0.65, 0.86] [67.28, 75.04]

A3 [0.53, 0.74] [25.08, 35.15] A3 [0.41, 0.65] [56.12, 67.28]

A4 [0, 0.48] [ 7.10, 55.74]

A [0.86, 1] [1.00, 3.17] A [0.51, 1] [13.26, 16.00]

A [0.65, 0.86] [3.17, 4.86] aü [0.74, 0.51] [12.03, 13.26]

X5 A [0.48, 0.65] [4.86, 6.45] A [0.53, 0.74] [10.51, 12.03]

A [0.41, 0.74] [4.15, 7.28] A4o [0.36, 0.53] [8.82, 10.51]

A5 [0, 0.48] [6.45, 16.00]

Ai [0.74, 1] [0.64, 1.21] A2 [0.65, 0.86] [2.33, 2.57]

Aii [0.65, 0.86] [1.08, 1.30] A [0.48, 0.65] [2.10, 2.33]

X6 A [0.53, 0.74] [1.21, 1.44] A2 [0.30, 1] [1.74, 2.58]

A [0.48, 0.65] [1.30, 1.52] A2 [0, 0.48] [0.64, 2.10]

Ai [0, 0.53] [1.44, 3.17]

Table 4

Granular solutions of the system of fuzzy logic equations

X ..h IF THEN

M X1 X2 X3 x4 X5 X6 y

1 2 3 4 5 6 7 8 5

H3 H4 0.86 A A AA4 A3*4 A A A34 A A3'5 A A 2,3,5 A11 A 2,3,5 A11 sD

H8 A3,4 A3*4 A3 A A3'5 A42

A2'3 A3'2 A2 A2 A2 A4i2

H2 H3 H4 0.65 A A2 A43,4 A2 A2 A2 A2 a3>4 A3"5 A2 A3i A4,5 A11 mD

Hl H8 A'7 A As1"2 A2 A3"5 A122

A4 a3>4 A2 A2 A2 A42

^1,3,5,6 A3 A'2'3 AA3 A2A A 1,2,4 A11

Hi H2 H3 H4 H5 H6 H7 H8 0.48 A4 A16 A3 A1,3,5,6 A32'3 A A2A A4 A4 A2 A2 A3 A3 A3 A3 A'2'3 A'2'3 A4 A3 A3 A4 AA3 AA3 A3 A3 A5 A5 A2A AAA A3 A4i A 1,2,4 A41 A4i A2 A132 A142 wD

A4 A3 A4 A4 A3 A42

H10 Hi2 0.36 A1,3,5,6 A A3 A2A A4 A4 AA3 AA3 AAA a4O A131 A 1.2,4 A11

lis

1 2 3 4 5 5 7 8 5

Hi H 0.41 A1,2,4 A7 A34 A34 A4 A3 A!'2'3 A!'2'3 A5 A5 A;5; A132

H9 H10 Hii H12 0.53 A!4 A;,24 A4 A32 A2 A32 A3 A5 A3 A3 A'2'3 A3 A2'4 A24 A130 A3! A1;3 A5; wl

A7 A2 A5 A'2'3 a1,2,3 A10 Al;3

H9 H11 0.74 A14,7 A2 A324 A; A3 A3 A3 A3 A4 A10 A3;5 All ml

Hii 0.91 A1 A; a; A3 A10 All si

o1-1-1-1-1-1-

0 100 200 300 400 500 Fig. 2. Model (-) and experimental (-) productivity

The refined terms were described by the modifiers: s, m, w (D, I) for X1—X3; 5, m (D) and w, m, s (I) for X4; s, m, w (D) and m, s (I) for s, m, w (D) and w, m (I) for xq.

6. Discussion of the results of effectiveness evaluation of classification rule hierarchical tuning

In [14-17], the method for tuning fuzzy classification knowledge bases based on the linguistic modification of the primary relational models has been proposed. This method develops these results for hierarchical tuning with the linguistic modification of the primary rules. The fundamental feature of the method is the transition to the primary granular model with the subsequent tuning to experimental data. As a result, the tuning time is reduced due to simplification of the hierarchical selection of the primary and modified rules.

The primary selection requires solving the optimization problem with ZjT variables for the weights of the primary rules in the class dj, j = 1,m [13]. The solution of the system of equations with max-min composition allows reducing the complexity of the primary selection by solving Zj optimization problems with T variables. Tuning of the primary model is an optimization problem with 2(M+m)+2nT variables for the weights of the rules and two-parameter membership functions.

Modification of each primary rule in the class dj is carried out by solving the optimization problem with 2nzjk, j = 1, m, k = 1, Zj, variables for the p parameters of the rules [9-12]. The solution of the system of equations with minmax composition allows reducing the complexity of rule generation by solving zjk optimization problems with 2n variables for each primary rule in the class dj.

Monitoring of the condition of water bodies is carried out by automated measuring systems online. In such systems, multispectral control methods of integrated parameters of water pollution and biotesting methods are used [24-27]. Emergency situations of different levels of danger require that the time of tuning a fuzzy model as new data arrive did not exceed the time of primary treatment. To prevent polluted water from entering the biofilters, this time is limited to 45 min.

Table 5

Modified fuzzy knowledge base

IF THEN

X X; X2 X3 X4 X5 X5 y

H3 mD wi-si sD mi-si mD-sD wD-sD

H4 si wi-si sD si sD wD-sD sD

H8 wI-sI wi-si mD-sD si mD-sD mi

H mi-si wD-sD mD-sD mi-si mD-sD mD-sD

H mD wi-mi mD mi wD-mD mD

H4 mi mi-si mD wi-mi mD wD-mD mD

h? wD-mD mi mD-sD mi-si wD-mD mi

H8 wi-mi wi-mi mD mi mD wi-mi

Hi wD-sD wD mD-sD mi-si mD-sD mD-sD

H2 wi-mi wD-sD mD mi mD mD

H wD wi mD mi wD mD-sD

H4 mi wi mD wi wD mD

H5 wD-sD mD-sD mD-sD mi-si mD-sD wi

H wi-si mD-sD mD-sD mi-si mD-sD wi-mi

H7 wi-wD mi wD mi mD wi

H8 wi-mi mi wD wi mD wi-mi

H10 wD-sD wD wi mi-si mD-sD wD

H12 wD-wi wD-sD wi mi-si mi mD-sD

Hi mD-sD wD-wi wD-wi wi-mi wD-wi wD-wi

H wD-wi wD-wi wD-mD wi-mi wD wi-mi

H mD mD mi mD wD-sD mD

H10 mD-sD mD-sD wi-mi wi-si wD-sD mD-sD

H11 mD mD mi mD mi wD-wi

H12 wD-wi mD-sD wi-mi wi-mi mi-si mD-sD

H wD-mD wD-mD mi mD-sD wD-mD wD-mD

H11 mD-sD mD-sD mi-si mD-sD mi-si mD-sD

H11 sD mD-sD si sD si mD-sD si

Tuning by the method [9-13] takes 57 min, which exceeds the allowable time. The tuning time for this method is 33 min (Intel Core 2 Duo P7350 2.0 GHz processor).

The limitation of this method is the classification format of the primary and modified fuzzy models.

7. Conclusions

1. The approach that combines semantic training, granular partition and solution of fuzzy relational equations for constructing accurate and interpretable rules is developed. The composite fuzzy model of direct logic inference based on the primary rules with granular parameters is proposed. It is shown that the weights of the primary rules, which are subject to modification, as well as the hedging threshold of the primary terms, are solutions of the primary system of fuzzy logic equations with the hierarchical max-min/minmax composition, which solves the problem of the hierarchical selection of the primary and modified rules for the given output classes. For a particular technological process quality control problem contained in the experimental part, the pri-

mary model with granular parameters allows reducing the tuning error by 25 % compared with the primary relational model [17].

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

2. The method of classification rule hierarchical tuning with the linguistic modification is developed based on solving fuzzy relational equations, which allows reducing the training time. The genetic-neural approach for tuning the primary rules and solving the system of equations, as well as tuning the composite rules was used. The effectiveness of the approach is illustrated by the example of tuning and interpreting the solutions to the technological process quality control problem for the specified productivity classes. Compared to the hierarchical selection methods [9-13], this method allows reducing the tuning time by half.

Acknowledgements

The paper was prepared within the "Development of environmental safety measures in the field of hazardous waste management and research on the impact on water objects using biosensor technologies" project.

References

1. Cordon O. A historical review of evolutionary learning methods for Mamdani-type fuzzy rule-based systems: Designing interpretable genetic fuzzy systems // International Journal of Approximate Reasoning. 2011. Vol. 52, Issue 6. P. 894-913. doi: 10.1016/j.ijar.2011.03.004

2. Pedrycz W. Granular computing: analysis and design of intelligent systems. CRC Press: Bosa Roca, 2013. 309 p. doi: 10.1201/ b14862

3. Rotshtein A., Rakytyanska H. Fuzzy logic and the least squares method in diagnosis problem solving // Genetic diagnoses. Nova Science Publishers, 2011. P. 53-97.

4. D'Andrea E., Lazzerini B. A hierarchical approach to multi-class fuzzy classifiers // Expert Systems with Applications. 2013. Vol. 40, Issue 9. P. 3828-3840. doi: 10.1016/j.eswa.2012.12.097

5. Refinement and selection heuristics in subgroup discovery and classification rule learning / Valmarska A., Lavrac N., Furnk-ranz J., Robnik-Sikonja M. // Expert Systems with Applications. 2017. Vol. 81. P. 147-162. doi: 10.1016/j.eswa.2017.03.041

6. Nguyen C. H., Tran T. S., Pham D. P. Modeling of a semantics core of linguistic terms based on an extension of hedge algebra semantics and its application // Knowledge-Based Systems. 2014. Vol. 67. P. 244-262. doi: 10.1016/j.knosys.2014.04.047

7. Lewis M., Lawry J. A label semantics approach to linguistic hedges // International Journal of Approximate Reasoning. 2014. Vol. 55, Issue 5. P. 1147-1163. doi: 10.1016/j.ijar.2014.01.006

8. Novak V. Evaluative linguistic expressions vs. fuzzy categories // Fuzzy Sets and Systems. 2015. Vol. 281. P. 73-87. doi: 10.1016/ j.fss.2015.08.022

9. Kim E.-H., Oh S.-K., Pedrycz W. Reinforced rule-based fuzzy models: Design and analysis // Knowledge-Based Systems. 2017. Vol. 119. Vol. 44-58. doi: 10.1016/j.knosys.2016.12.003

10. Kerr-Wilson J., Pedrycz W. Design of rule-based models through information granulation // Expert Systems with Applications. 2016. Vol. 46. P. 274-285. doi: 10.1016/j.eswa.2015.10.030

11. An expansion of fuzzy information granules through successive refinements of their information content and their use to system modeling / Balamash A., Pedrycz W., Al-Hmouz R., Morfeq A. // Expert Systems with Applications. 2015. Vol. 42, Issue 6. P. 2985-2997. doi: 10.1016/j.eswa.2014.11.027

12. Fuzzy rule-based models with interactive rules and their granular generalization / Hu X., Pedrycz W., Castillo O., Melin P. // Fuzzy Sets and Systems. 2017. Vol. 307. P. 1-28. doi: 10.1016/j.fss.2016.03.005

13. Lahsasna A., Seng W. C. An improved genetic-fuzzy system for classification and data analysis // Expert Systems with Applications. 2017. Vol. 83. P. 49-62. doi: 10.1016/j.eswa.2017.04.022

14. Rotshtein A., Rakytyanska H. Expert rules refinement by solving fuzzy relational equations // 2013 6th International Conference on Human System Interactions (HSI). 2013. doi: 10.1109/hsi.2013.6577833

15. Rotshtein A., Rakytyanska H. Optimal design of rule-based systems by solving fuzzy relational equations // Studies in Computational Intelligence. Springer, 2014. Vol. 559. P. 167-178. doi: 10.1007/978-3-319-06883-1_14

16. Rakytyanska H. Optimization of fuzzy classification knowledge bases using improving transformations // Eastern-European Journal of Enterprise Technologies. 2017. Vol. 5, Issue 2 (89). P. 33-41. doi: 10.15587/1729-4061.2017.110261

17. Rakytyanska H. Fuzzy classification knowledge base construction based on trend rules and inverse inference // Eastern-European Journal of Enterprise Technologies. 2015. Vol. 1, Issue 3 (73). P. 25-32. doi: 10.15587/1729-4061.2015.36934

18. Rotshteyn A. P., Shtovba S. D. Identifikaciya nelineynoy zavisimosti nechetkoy bazoy znaniy s nechetkoy obuchayushchey vyborkoy // Kibernetika i sistemniy analiz. 2006. Issue 2. P. 17-24.

19. Rotshteyn A. P., Rakityanskaya A. B. Adaptivnaya sistema diagnostiki na osnove nechetkih otnosheniy // Kibernetika i sistemniy analiz. 2009. Issue 4. P. 135-150.

20. Rakytyanska H. Neural-network approach to structural tuning of classification rules based on fuzzy relational equations // Eastern-European Journal of Enterprise Technologies. 2015. Vol. 4, Issue 2 (76). P. 51-57. doi: 10.15587/1729-4061.2015.47124

21. Rakityanskaya A. B., Rotshtein A. P. Fuzzy forecast model with genetic-neural tuning // Journal of Computer and Systems Sciences International. 2005. Vol. 44, Issue 1. P. 102-111.

22. Bejar J., Cort'es U., Poch M. LINNEO+: A classification methodology for ill-structured domains // Research report RT-93-10-R. Dept. Llenguatges i Sistemes Informatics. Barcelona, 1993.

23. UCI Machine Learning Repository // University of California, School of Information and Computer Science: Irvine, CA. URL: http://archive.ics.uci.edu/ml

24. Multispectral control of water bodies for biological diversity with the index of phytoplankton / Martsenyuk V., Petruk V. G., Kvaternyuk S. M., Pohrebennyk V. D., Bezusiak Y. I., Petruk R. V., Klos-Witkowska A. // 2016 16th International Conference on Control, Automation and Systems (ICCAS). 2016. doi: 10.1109/iccas.2016.7832429

25. Multispectral television measurements of parameters of natural biological media / Kvaternyuk S. et. al. // 17th International Multidisciplinary Scientific GeoConference SGEM2017, Ecology, Economics, Education and Legislation. 2017. Vol. 17, Issue 51. P. 689-696. doi: 10.5593/sgem2017/51/s20.090

26. Multispectral television monitoring of contamination of water objects by using macrophyte-based bioindication / Petruk R. V. et. al. // In Proc. of the 16th International Multidisciplinary Scientific GeoConference SGEM 2016. Albena, 2016. P. 597-601.

27. The method of multispectral image processing of phytoplankton processing for environmental control of water pollution / Petruk V., Kvaternyuk S., Yasynska V., Kozachuk A., Kotyra A., Romaniuk R. S., Askarova N. // Optical Fibers and Their Applications 2015. 2015. doi: 10.1117/12.2229202

i Надоели баннеры? Вы всегда можете отключить рекламу.