Professional Documents
Culture Documents
Fuzzy system
Inference
Defuzzification
y (
l l =1 m
(
l =1 i =1
m
i =1 n
Ail
( xi ))
x = [ x1 , x2 , , xn ]
Ail
( xi ))
where
b j ( x) =
i =1 m
Ail
( xi )
n ( x ) l Ai i l =1 i =1
wi = y i
Fuzzy system
Parameterized nonlinear map If F is a real continuous map on a compact set (e.g. closed interval), then there exists a fuzzy system f which can approximate F to any desired accuracy, i.e.
F f FS
F ( x ) p( x )
i =1 i i
n.
F n
Fp
lim Pn ( x) = F ( x)
n
uniformly on [ a, b ] .
REMARK The message of Theorem 2 is that polynomials are dense in the space of continuous functions in Hilbert space. The same can also be said of trigonometric functions.
Rule 2:
A ( x) B ( y ) f 2 ( x, y ) = w2 ( x, y ) f 2 ( x, y )
2 2
wi wi = w1 + w2
5. Then
f = w1 f1 + .w2 f 2
w1 ( x, y)
A2 ( x )
w1 =
w1 w1 + w2
f1 ( x, y)
w1 f1
f ( x, y)
B ( y)
1
f 2 ( x, y)
w2 f 2
B ( y)
2
w2 =
w2 ( x, y )
w2 w1 + w2
I n it ia l iz e th e fu z z y s y s te m
ANFIS procedure
U s e g e n fi s 1 o r g e n fi s2 c o m m a n d s
G iv e o t h e r p a r a m e t e r s f o r l e a r n i n g
I m p o rta n t a r e : N u m b e r o f i te r a ti o n s ( e p o c h s ) T o ler a n c e ( er r o r)
S t a r t l e a r n in g p r o c e s s
U s e c o m m a n d a n f is S t o p w h e n t o le r a n c e is a c h ie v e d .
V a l id a te W i th in d e p e n d e n t d a ta
EXERCISE 1.
Let y = f(x) = -2x - x2. a) Form a fuzzy system, which approximates function f, for x [ 10,10]. Repeat the same by adding random, normally distributed noise with zero mean and unit variance. b) Simulate the output when the input is sin(t). Observe what happens to the signal shape at the output.
Training when error tolerance is chosen to be 0.001 and number of epochs is limited to 100.