Sie sind auf Seite 1von 3

Reference

Learning from Examples L. Wang, J. Mendel, Generating Fuzzy


Rules by Learning from Examples,
IEEE Transactions on Systems, Man
and Cybernetics, vol 22, no.6,
Adriano Cruz 2004 november 1992
NCE/UFRJ e IM/UFRJ

@2001 Adriano Cruz NCE e IM - UFRJ

Information sources Current situation


Information used for most real-world Solutions are heuristic in nature
control and signal processing problems Combine standard control processing
can be classified into two kinds: methods and expert systems
Numerical obtained form sensor, etc Weakpoints:
Linguistic information obtained from Problem dependent
human experts
No commom framework

@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ

Problems Generating fuzzy rules


Linguistic rules may be incomplete due Consider a two input-one output
to loss when humans express their problem as an example
knowedge So data is available as input-output
Input-output data pairs because past pairs as
experience may not cover all situations (x1(1),x2(1);y(1)), (x1(2),x2(2);y(2)),
F(x1,x2) -> y

@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ

1
Step 1 Step1
Divide the input and output space into S2 S1 CE B1 B2
fuzzy regions
Assign to each region a membership x1
X(2)1 X(1)1
function
Similar to creating fuzzy sets over a S3 S2 S1 CE B1 B2 B3
universe of discourse
x2
X(1)2 X(2)2

@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ

Step1 Step2

S2 S1 CE B1 B2 Generate fuzzy rules from given data


pairs
y First determine the degrees of each
y(1) y(2)
given x1(i),x2(i) and y(i) in different regions
Second assign a given x1(i),x2(i) and y(i) to
the regions with maximum degree
Finally, obtain one rule from one pair of
input data
@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ

Step2 Step3
(x1(1), x2(1); y (1))= [0.8 in B1, 0.7 in S1; Assign a degree to each rule
0.9 in CE] = Rule 1 It is high probable that there will be
If x1 is B1 and x2 is S1 then y is CE some conflicting rules, i.e., rules that
(x1(2), x2(2); y (2))= [0.6 in B1, 1.0 in CE; have the same antecedent but different
0.7 in B1] = Rule 1 consequents
If x1 is B1 and x2 is CE then y is B1 = The degree is calculated as
Rule 2 D(rule)=mA(x1)mB(x2)mC(z)

@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ

2
Step3 Step4
D(rule)=mA(x1)mB(x2)mC(z) Create a combined fuzzy rule
Rule 1 = 0.8 * 0.7 * 0.9 = 0.504 If there is more than on rule in one box
Rule 2 = 0.6 * 1.0 * 0.7 = 0.42 of the fuzzy rule base, use the rule that
has maximum degree.

@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ

Step5 Step5
Determine a Mapping based on the Use the following centroid defuzzification
method
combined Fuzzy Rule Base. K

Combine the antecedents of ith fuzzy mOi y ii

rule: mOi = mI1i(x1)mI2i(x2) (product y= i =1


K
operator) mOi i
i =1
mCE1=mB1(x1)mS1(x2) yi represents the center value of the region Oi
(the smallest abs value among all values with
membership equals to 1)
K is the number of fuzzy rules combined
@2001 Adriano Cruz NCE e IM - UFRJ @2001 Adriano Cruz NCE e IM - UFRJ

Das könnte Ihnen auch gefallen