0% found this document useful (0 votes)
19 views16 pages

DEU CSC5045 Intelligent System Applications Using Fuzzy - 6+ANFIS

Uploaded by

an7l7a
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views16 pages

DEU CSC5045 Intelligent System Applications Using Fuzzy - 6+ANFIS

Uploaded by

an7l7a
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 16

ANFIS

(Adaptive Neuro Fuzzy Inference System)


• ANFIS are a class of adaptive networks that are functionally
equivalent to fuzzy inference systems.
• ANFIS represent Sugeno, Tsukamoto fuzzy models.
• ANFIS uses a hybrid learning algorithm
Assume that the fuzzy inference system has two inputs x and y
and one output z.
A first-order Sugeno fuzzy model has rules as the following:
• Rule1:
If x is A1 and y is B1, then f1 = p1x + q1y + r1
• Rule2:
If x is A2 and y is B2, then f2 = p2x + q2y + r2
Layer 1

• is the output of the ith node of the layer l.


• Every node i in this layer is an adaptive node with a node function:
= μfor i = 1, 2, or
= μ for i = 3, 4
• x (or y) is the input node i and (or ) is a linguistic label associated with
this node
• Therefore is the membership grade of a fuzzy set (A1,A2,B1,B2).
Layer 1

• Typical membership function:

• ai, bi, ci is the parameter set.


• Parameters are referred to as premise parameters.
Layer 2

• Every node in this layer is a fixed node labeled Prod.


• The output is the product of all the incoming signals.
• = = ・ μ i = 1, 2
• Each node represents the fire strength of the rule.
• Any other T-norm operator that perform the AND operator can be
used.
Layer 3

• Every node in this layer is a fixed node labeled Norm.


• The ith node calculates the ratio of the ith rule’s firing strenght to the
sum of all rule’s firing strengths.
• , i = 1, 2
• Outputs are called normalized firing strengths.
Layer 4

• Every node i in this layer is an adaptive node with a node function:

• is the normalized firing strenght from layer 3.


• {} is the parameter set of this node.
• These are referred to as consequent parameters.
Layer 5

• The single node in this layer is a fixed node labeled sum, which
computes the overall output as the summation of all incoming signals:

• Overall output =
Hybrid Learning Algorithm

• The ANFIS can be trained by a hybrid learning algorithm.


• In the forward pass the algorithm uses least-squares method to
identify the consequent parameters.
• In the backward pass the errors are propagated backward and the
premise parameters are updated by gradient descent.
Hybrid Learning Algorithm
Example
ANFIS is used to model a two-dimensional sinc equation defined by

x and y are in the range [-10,10]


Number of membership functions for each input : 4
Number of rules : 16
Initial
membership
functions

Final (trained)
membership
functions
after 100
epochs

You might also like