Lecture 11 Neural network and fuzzy system

shreyanshmishraiet 73 views 31 slides Jul 27, 2024
Slide 1
Slide 1 of 31
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31

About This Presentation

Neural network and fuzzy system advance description . A advance research on the topic of utmost importance


Slide Content

NEURAL NETWORKS & FUZZY SYSTEMS
Course Code: KEE-056
Mr. Mukesh Kumar Singh
AP, EED
I. E. T. Lucknow
Institute of Engineering and Technology
(IET) Lucknow
Lecture -11
Basic concepts of fuzzy logic, Fuzzy sets

Detailed syllabus (1)
Unit-II:NeuralNetworks-II(Backpropagationnetworks):
Architecture:perceptronmodel,solution,singlelayerartificialneuralnetwork,
multilayerperceptionmodel;backpropagationlearningmethods,effectoflearning
ruleco-efficient;backpropagationalgorithm,factorsaffectingbackpropagation
training,applications.
Unit-I: Neural Networks-1 (Introduction & Architecture)
Neuron, Nerve structure and synapse, Artificial Neuron anditsmodel, activation
functions, Neural network architecture: single layer and multilayer feed forward
networks, recurrent networks. Various learning techniques; perception and
convergence rule, Auto-associative and hetro-associative memory

Detailed syllabus (2)
Unit-IV: Fuzzy Logic –II (Fuzzy Membership, Rules):
Membership functions, interference in fuzzy logic, fuzzy if-then rules, Fuzzy
implications and Fuzzy algorithms, Fuzzyfications& Defuzzificataions, Fuzzy
Controller, Industrial applications.
Unit-V: Fuzzy Neural Networks:
L-R Type fuzzy numbers, fuzzy neutron, fuzzy back propagation (BP), architecture,
learning in fuzzy BP, inference by fuzzy BP, applications.
Unit-III: Fuzzy Logic-I (Introduction):
Basic concepts of fuzzy logic, Fuzzy sets, and Crisp sets, Fuzzy set theory and
operations, Properties of fuzzy sets, Fuzzy and Crisp relations, Fuzzy to Crisp
conversion.

Bit of History
•Fuzzy sets and basic ideas pertaining to their theory were first introduced by L A
Zadeh in 1965 in his paper in the journal of ‘Information and Control’.

Development Phases
•Academic Phase (1965-77)
-development of basic ideas of fuzzy set theory
-speculation about prospective applications
-small no of publications
•Transformation Phase (1978-1988)
-significant advances in theory
-initial evidences of successful industrial applications
-increased no. of publications
•Fuzzy Boom (since 1989)
-rapid increase in successful industrial applications
-major companies endorsed the theory and setup R&D centres
-computer software and hardware supporting applications of fuzzy logic became commercially available

Fuzzy Logic
•Thisisthebusinessofhaving“degrees”ofmembershipratherthan“inorout”
•Truthvaluesarebetweentrueandfalse
•Introducedin1965tomodeluncertaintyinnaturallanguage:tall,fair,nice,large,
hot

Definition
•Experts rely on common sensewhen they solve problems.
•How can we model/represent expert knowledge that uses vague and
ambiguous terms in a computer?
•Fuzzy logic is not logic that is fuzzy, but logic that is used to describe fuzziness.
Fuzzy logic is the theory of fuzzy sets, sets that calibrate vagueness.
•Fuzzy logic is based on the idea that all things admit degrees. Temperature,
height, speed, distance, beauty –all come on a sliding scale.
–The motor is running really hot.
–Tom is a very tallguy.

Definition
•Since knowledge can be expressed in a more natural way by using fuzzy sets,
many engineering and decision problems can be greatly simplified.
•Boolean logic uses sharp distinctions. It forces us to draw lines between members
of a class and non-members. For instance, we may say, Tom is tall because his
height is 181 cm. If we drew a line at 180 cm, we would find that David, who is
179 cm, is small.
•Is David really a small man or we have just drawn an arbitrary line in the sand?

When is to Use Fuzzy Logic ?
•Oneormoreofthecontrolvariablesarecontinuous
•Mathematicalmodelofprocessdoesnotexist
•Difficulttoencodeevenifexists
•Modeltoocomplextobeevaluatedfastenoughforrealtimeoperation
•Involvestoomuchmemoryondesignatedchiparch.
•Whileimportanttouseinexpensivesensorsand/orlowprecisionmicro-controller
•Highambientnoiseleveltodealwith
•Aboveall,anexpertisavailablewhocanspecifytherulesunderlyingsystem
behaviour

Fuzzy Logic
PROS:
•Usedtosolvehighlycomplexproblemswheremathematicalmodelingistoo
difficult/impossible
•Tolerantofimprecisedata
•Universalapproximation:canmodelarbitrarynonlinearfunctions
•Intuitive
•Basedonlinguisticterms
•Convenientwaytoexpressexpertandcommonsenseknowledge

Fuzzy Logic
Cons:
•Not a cure for all
•Crisp/precise models can be more efficient and even
convenient
•Other approaches might be required to verify the work

The basic idea of the fuzzy set theory is that an element
belongs to afuzzy set with a certain degree of membership.
A fuzzy set is a setwith fuzzy boundaries
Aproposition is neither true nor false (fuzzy logic), but may
be partly true (or partly false) to any degree. This degree is
usually taken as a real number in the interval [0,1]
Fuzzy logic is an extension of classic two-valued logic –the truth
value of a sentenceisnot restricted to true or false
Fuzzy Set Theory

The classical example in fuzzy setsis tall men. The
elementsof the fuzzy set “tall men” are all men, but
their degrees of membership depend on their height
tall menfuzzy Set
Degree of Membership
Fuzzy
Mark
John
Tom
Bob
Bill
1
1
1
0
0
1.00
1.00
0.98
0.82
0.78
Peter
Steven
Mike
David
Chris
Crisp
1
0
0
0
0
0.24
0.15
0.06
0.01
0.00
Name Height, cm
205
198
181
167
155
152
158
172
179
208
Fuzzy Sets

The x-axisrepresents the universe of discourse
the range of all possible valuesapplicable to
a chosen variable. In our case, the variableis
the man height. According to this
representation, the universe of men’s heights
consists of all men.
The y-axisrepresents the membership value of
the fuzzy set. In our case, the fuzzy set of tall
menmaps height values into corresponding
membership values.
Fuzzy Sets

A fuzzy set is a set with fuzzy boundaries.
Let Xbe the universe of discourse and its
elements be denoted as x. In the classical set
theory, crisp set Aof Xis defined as function
f
A(x)called the characteristic functionof A
f
A(x)={0,1},xXwhere





Ax
Ax
xf
A
if0,
if 1,
)(
Fuzzy Sets

In the fuzzy theory, fuzzy set Aof universe Xis
defined by function 
A(x)called the
membership functionof set A

A(x):X[0,1],
where
A(x)=1ifxistotallyinA;

A(x)=0ifxisnotinA;
0 < 
A(x) < 1 if xis partly in A.
For any element xof universe X, membership
function 
A(x) equals the degree to which xis
an element of set A. This degree, a value
between 0 and 1, represents the degree of
membershipof element xin set A.
Fuzzy Sets

Fuzzy Sets
•Sets with fuzzy
boundaries
A = Set of tall people
Heights
180cm
1.0
Crisp set A
Membership
function
Heights
170178cm
.5
.9
Fuzzy set A
1.0

Fuzzy Sets with Discrete Universes
•Fuzzy set C = “desirable city to live in”
X = {Chd, Delhi, Mumbai} (discrete and non-ordered)
C = {(Chd, 0.9), (Delhi, 0.8), (Mumbai, 0.6)}
•Fuzzy set A = “sensible number of children”
X = {0, 1, 2, 3, 4, 5, 6} (discrete universe)
A = {(0, .1), (1, .3), (2, .7), (3, 1), (4, .6), (5, .2), (6, .1)}

Fuzzy Sets with Cont.
Universes
•Fuzzy set B = “about 50 years old”
X = Set of positive real numbers (continuous)
B = {(x, B(x)) | x in X}
Bx
x
()







1
1
50
10
2

•More crisp and fuzzy sets defined on the universe150 210170 180 190 200160
Height, cm
Degree of
Membership
Tall Men
150 210180 190 200
1.0
0.0
0.2
0.4
0.6
0.8
160
Degree of
Membership
Short Average ShortTall
170
1.0
0.0
0.2
0.4
0.6
0.8
Fuzzy Sets
Crisp Sets
Short Average
Tall
Tall
Fuzzy Sets

Fuzzy Sets
•Formal definition:
A fuzzy set Ain Xis expressed as a set of
ordered pairs:AxxxX
A
 {(,())|}
Universe or
universe of discourse
Fuzzy set
Membership
function
(MF)
A fuzzy set is totally characterized by a
membership function (MF).

Fuzzy Subset A
Fuzziness
1
0
Crisp Subset A Fuzziness
x
X
 (x) Typical functionsthat can be used to represent a fuzzy
set are sigmoid, gaussianand pi. However, these
functions increase the time of computation.
Therefore, in practice, most applications Represent
fuzzy subsetsby linear fit functions.
Fuzzy Sets

Conceptualising in fuzzy terms
•Standard membership functions:
•single-valued, or singleton
•triangular
•trapezoidal
•S-function (sigmoid function):
•S(u) = 0, u<=a
•S(u) = 2((u-a)/(c-a))2 , a <u <= b
•S(u) = 1 -2((u-a)/(c -a))2 , b <u <= c
•S(u) = 1, u > c.

Conceptualizing in fuzzy terms...
•More standard membership functions...
•Z function:
•Z(u)= 1 -S(u)
•Pi -function:
•P(u)=S(u), u<=b; P(u)=Z(u), u>b.
•Two parameters must be defined for the quantization
procedure:
•the number of the fuzzy labels;
•the form of the membership functions for each of the fuzzy labels.

Conceptualizing in fuzzy terms...
Standard
types of
membership
functions: Z
function; S
function;
trapezoidal
function;
triangular
function;
singleton.

Applications
•compensation against vibrations in camcorders
•home appliances (washing machines, dish washers, rice cookers, etc.)
•recognition of handwriting, objects, voice
•image processing
•flight aid for helicopters
•simulation for legal proceedings
•improvement of fuel-consumption for automobiles
•early recognition of earthquakes
•“and in almost any other field you can think of”

LimitationsofFuzzyLogic
•Stability: since fuzzy logic is not formal, there is no guarantee that a
fuzzy system will function correctly
•Learning: no ability to learn membership functions and no memory to
learn during problem solving
•Determining good membership functions and fuzzy rules is not always
easy or straightforward
•Verification and Validation requires extensive testing (as in any expert
system). This is especially important of controllers where safety
becomes a key factor (e.g. subway system, space shuttle)

References
•Timothy Ross,”Fuzzy Logic with Engineering Applications” Published by Mc Graw
Hill
•H. A Toliyat, M.S. Arefeen,”Introduction to Fuzzy Logic”
•B K Bose,”Fuzzy Logic and Neural Network Applications”
•Ahmad M Ibrahim, “Applied Fuzzy Logic Controllers” Published by PHI
•Johon Yeri, Raza Langari, “ Fuzzy Logic Intelligence Control and Information”
Published by Pearson Education Pvt. Limited
•George J. Klir and Bo Yuan, “Fuzzy Sets and Fuzzy Logic Theory and Applications”,
Published by PHI

Fuzzy Logic : An Idea

Why?
•Why fuzzy?
As Zadeh said, the term is concrete, immediate and descriptive; we all know what
it means. However, many people in the West were repelled by the word fuzzy,
because it is usually used in a negative sense.
•Why logic?
Fuzziness rests on fuzzy set theory, and fuzzy logic is just a small part of that
theory.

TheTerm“FuzzyLogic”
•The term fuzzy logic is used in two senses:
•Narrow sense: Fuzzy logic is a branch of fuzzy set theory, which deals (as
logical systems do) with the representation and inference from knowledge.
Fuzzy logic, unlike other logical systems, deals with imprecise or uncertain
knowledge. In this narrow, and perhaps correct sense, fuzzy logic is just one of
the branches of fuzzy set theory.
•Broad Sense: fuzzy logic synonymously with fuzzy set theory
Tags