BERHAMPUR SOFT COMPUTING (PECS 3401)-FUZZY...

14
AS PER THE SYLLABUS OF BPUT FOR SEVENTH Lecture Notes | KISHORE KUMAR SAHU RIT, BERHAMPUR SOFT COMPUTING (PECS 3401)-FUZZY LOGIC SEMESTER OF AE&IE BRANCH.

Transcript of BERHAMPUR SOFT COMPUTING (PECS 3401)-FUZZY...

Page 1: BERHAMPUR SOFT COMPUTING (PECS 3401)-FUZZY LOGICkishoreinvssut.yolasite.com/resources/Soft_Computing/Soft... · 2010-12-08 · Soft computing differs from hard computing (conventional

AS PER THE SYLLABUS OF BPUT FOR SEVENTH     

Lecture Notes | KISHORE KUMAR SAHU

RIT, BERHAMPUR SOFT COMPUTING (PECS 3401)-FUZZY LOGIC SEMESTER OF AE&IE BRANCH.

Page 2: BERHAMPUR SOFT COMPUTING (PECS 3401)-FUZZY LOGICkishoreinvssut.yolasite.com/resources/Soft_Computing/Soft... · 2010-12-08 · Soft computing differs from hard computing (conventional

LECTURE NOTES ON SOFT COMPUTING P a g e | 2

BY: KISHORE KUMAR SAHU, DEPT OF INFORMATION TECHNOLOGY, RIT, BERHAMPUR.

CHAPTER 01 INTRODUCTION TO SOFT COMPUTING

ORIGIN OF SOFT COMPUTING Artificial intelligence is a branch of computer science dealing with building of system that exhibits automation in intelligent behaviour. But intelligence is not very well defined due to which the tasks associated with intelligence i.e. learning, intuition, creativity and decision making also seems to partially understood. This quest of building intelligent systems gave rise to new techniques that aided a lot in building intelligent problem solvers. Some of them are expert system, neural networks, fuzzy logic, cellular automata and probabilistic reasoning. Out of this fuzzy logic, neural networks and probabilistic reasoning are called as soft computing. The term soft computing was coined by Lotfi A. Zadeh. Soft computing differs from hard computing (conventional computing) in its tolerance to imprecise, uncertain and partial truth. Hard computing basically deals with mathematical approaches that demands a great degree of precision and accuracy. But in engineering problems, it is very difficult to determine the input with great degree of precision. Hence a best estimate is made to find the solution which restricts the use of mathematical approaches, especially in inverse problems. The application of soft computing to the inverse problems is to exploit the tolerance for imprecision, uncertainty and partial truth to achieve tractability, robustness and low cost solutions.

CONSTITUENTS OF SOFT COMPUTING The basic components of soft computing are as follows: • Fuzzy Systems (models uncertainty in the system) • Neural Networks (models biological neuron of human brain) • Genetic Algorithm (selection of a good solution from a solution set)

FUZZY LOGIC It is a mathematical tool to model uncertainty in the system. This is applicable where imperfection in data is present. Basically used to represent uncertainty that arises due to generality, vagueness, ambiguity, chance or incomplete knowledge. In fuzzy sets the members of the sets are associated with a value representing its grade of membership in the fuzzy set. This is in contrast to that of classical set

called as crisp set i.e. the members are either belongs to the set or not. But each member in the fuzzy set is associated with a membership value between [0, 1]. Let A={ram, kiran, john} and their corresponding height are 6, 5.5 and 5.1 feets respectively. Now Height >6ft(90%), Height<5ft(10%), and Height=5ft(50%). So set A can be represented as {0.9/ram,0.5/kiran, 0.1/john} where the fractional values represents the membership values. ARTIFICIAL NEURAL NETWORKS ANN is based on learning and testing theory. A set of data is needed to learn things. f(x)=x2 in the range (0,7) x : 0 1 2 3 4 5 6 7 f(x) : 0 1 4 9 16 25 36 49 There are massively highly interconnected N/W of processing elements called neurons. There are unorthodox search and optimization algorithms insipid by the biological process. EVOLUTIONARY TECHNIQUES This is also called as genetic process. It is used to mimic natural evolution. GA makes a random search through a given set of alternate solution to find the best alternate solution w.r.t the given criteria of goodness. e.g. ant colony optimization, swarm intelligence etc. Some of the techniques that are combination of these basic components of soft compounding are called as hybrid techniques. Some of these are as follows: neuro-fuzzy, neuro-GA, fuzzy-GA. ADVANTAGES OF SOFT COMPUTING • Model based on human reasoning • Models can be simple and accurate • Fast computing • Good in practice

APPLICATION AREAS • Process control • Pattern recognition• Robotics • Time series forecasting • Optimization techniques • Medicine and diagnosis

Initial population

Crossover & mutation STOP Best Fit

n iteration

YesNo

Page 3: BERHAMPUR SOFT COMPUTING (PECS 3401)-FUZZY LOGICkishoreinvssut.yolasite.com/resources/Soft_Computing/Soft... · 2010-12-08 · Soft computing differs from hard computing (conventional

INTROFuzzy lapproprsystemsuncertaireasoninADVAN• Thealg• Thi• Theto o• Op• Are

DISAD• Hustru• Nuand

PROBAFuzzy loimperfevague dprocessi• Calunkhits• Bef• Me• Do

ODUCTION ogic is a tool wriate human reass. The theory of fuinties associated ng. NTAGES OF FUere are an efficiegorithms. is can approximateese are applicableobtain. erates successfullye also appropriate

DVANTAGES man solution to uctured. mber of rules incrd number of fuzzy ABILITY VS FUogic and probabilictions. Fuzzy logicdata. Probability ing of uncertainty.Probability mealculates the probaknown variable ‘x’s the well know sefore the event hapeasure theorymain is 2D(Y/N). B

which provides ansoning capabilitiesuzzy logic providedwith human cognUZZY LOGIC ent tool for embee any multi valuede when mathematiy under a lack of ptools in generic de

the problem mureases exponentiasubsets per input UZZY ty theories are thec mainly responsitheory is mainl. asureability that an ’ ranging on ‘u’ et ‘A’. pens

BY: KISHORE KUM

n inference morps to be applied d mathematical stnitive processed sedding human knd non linear functioical models are unrecise informationecision making prost exist and this ally with increasesvariable. e most powerful tible for representily responsible fo

Members• Calculates thwell known v‘u’ hits the un• After the even• It will use the• Domain is 0-1

LECTURE NOTES

MAR SAHU, DEPT O

CHAPTER FUZZY LOG

phology that enabto knowledge barength to capture such as thinking nowledge into uson. nknown or impossn. ocesses.

knowledge musts in number of inptools to overcome ing and processinor representing hip measurehe membership ovariable ‘x’ rangingnknown set ‘A’. nt happense set theory1.

ON SOFT COMPUT

OF INFORMATION

02 GIC

bles ased the and eful

sible

t be puts the g of and

of a g on

EXAM• I• I• I

CRISExamTall={Tall={=rangin ExamA={x|x

TING P a g e | 3

TECHNOLOGY, RI

MPLES OF PROBABt is probable that it is probable that tt is probable that h

SP SET VS FUZZmple 1: {Sohan, John, Moha= 1, ∈0, ∉{(sohan, 0.2), (john= { 0 − 1 ng from 0 to 1. mple 2: x <= 30} where

Probability• Randomness• Probability r• Before the ev

NameSohanJohnMohanAbraham

T, BERHAMPUR.

BILITY THEORY it will rain a lot tomthe image will be vher new friend is h

ZY SETS an, Abraham} ------  

n, 1), (Mohan, 0), (A ∈ A-> youngness of

Impey Theorysrulesvent happens

Hei5’.6’.4’.5’.

morrow. very dark. handsome.

-----------------------i.e. the value is eAbraham, 0.8)} ---i.e. a number of people.

erfection Fu

• V• Fu• A

ight.2”.1”.7”.8”------> Crisp set. either 0 or 1. ------> Fuzzy set. f membership fun

uzzy logicagueness (ill definuzzy rulesAfter the event happ

Membership val0.2 100.8

ctions

ned) pens

lue

Page 4: BERHAMPUR SOFT COMPUTING (PECS 3401)-FUZZY LOGICkishoreinvssut.yolasite.com/resources/Soft_Computing/Soft... · 2010-12-08 · Soft computing differs from hard computing (conventional

A set is belongs are knowA fuzzy sμA whichIf U conbe denoExamplX={1,2,3The eleabove crisp setExamplTemperT0-T2 T1-T3 T2-T4 T3-T5 T4-T6 As we diand simvalues foCHARASet: Set Universset can bVenn didiagramfollows. Memberrepresenthen it is

a well defined colto or does not bewn as crisp sets. set in a universeh takes values in tntains finite numbeted by: ={ μA(ule 3: 3,4,5} and its Comfements of the fuzzy set are ts. le 4: ature: Sensing: Cold Cool Normal Warm Hot iscussed earlier Tamilarly the oppositorm 1. Short={(sohACTERISTIC CRis a collection of wse of discourse: It be formed. Universiagram: It is a pictm for the set A andrship: If an elemented by the symbos represented by t

B

llection of objects.elongs to the set. Te of discourse U is the interval 0 to 1 ers of elements, leu1)/u1, μA(u2)/u2, μfortness={(1,0.1), (

all={(sohan, 0.2), (te of this can be han, 0.8), (john, 0)RISP SET well defined objectsis set that containsal set of all numbtorial representatid its universal set nt is x is a membeol ∈ read as “belonthe symbol ∉ read

BY: KISHORE KUM

. Well defined meaThis is known as ccharacterised by i.e. μA:U->[0,1]. et it contain n elemμA(u3)/u3, ... , μA(un(2,0.4), (3,0.8), (4,1

(john, 1), (mohan,0found by subtrac, (mohan,1), (Abras. A={1, 2, 3, ...}. n all possible objeers is a Euclidean ion of set. The venU is represented aer of set A then it gs to”. And when xas “not belongs to

LECTURE NOTES

MAR SAHU, DEPT O

ans the objects eitcrispness and the membership functments, fuzzy set n)/un}. 1), (5,0.7)}.

0), (Abraham, 0.8)}ting the membersaham, 0.2)}. ( ’=1-ects from which otSpace. nn as

is x is not a member ”. (x∈ A).

U

A

ON SOFT COMPUT

OF INFORMATION

ther sets tion can

}. ship - ) ther

of A

CardirepresFamilsets. eNull/erepresSinglecardinSubsecontaiSupercontai⊃Poweset. FoOPERUnionreprespresenAUB=Intersanothare prthen ACompuniverelemeDifferanothare onPartitof all t

TING P a g e | 4

TECHNOLOGY, RI

inality: The numbesented as |A| or #Aly of sets: A sets we.g. A={{1,2,3},{2,3empty sets: A set csented as ∅ or {}. Aeton set: A set wnality one. e.g. A={et: Given two set Ained in the set A, thrset: Given two setined in the set A, . r set: A power setor a set A={1,2}, thRATIONS ON Cn: Union operationsented by AUB thnt in A and B. {a,b,c,d,f}. section: Intersectiher set representedresent in A as weAnB={b,c}.

plement: Complenrsal set U is a sents that are there rence: Difference her set representenly in A but not in Btion: Division of sethe subsets gives b

T, BERHAMPUR.

er of elements in aA. e.g. A={1,2,3,4} twhose members ar,4,5},{1,3,5}}. containing no elemAnd |∅|=0 as it conwith a single elea} is a singleton seA and B over the uhen B is said to bets A and B over thethen A is said tot is a collection ofhe power set is2A={

CRISP SETS n on two sets A anat contains all thee.g. A={a,b,c} anion operation on td by AnB that conell as B. e.g. A={a,bntation operation set represented bin U but not in A.operation on twd by A-B that conB. et into many subseback the same set.

a set is called as cathen |A|=4. re sets themselvesments is called a nuntain no elements.ement is called aet. universal set U. If a subset of A. It ise universal set U. Io be a superset off all subsets of a g{{1}, {2}, {1, 2}, {}}nd B is another see elements that ard B={b,c,d,f}, thetwo sets A and B ntains elements thab,c} and B={b,c,d,f

on a set A of by AC that contaiwo set A and B ntain elements thaets such that the un

A1 A2 A4 A5

ardinality of the ses are called as famull set or empty se

as singleton set. Iall the elements o represented as f all the elements f B. It is represent

given sets includin}. et re en is at f}, a in is at nion

U

BA

U

BA

U

A

U

A B

A1 A4

A3

et. It is mily of et. It is It has of B is ⊂ . of B is ted as

ng null

A2 A3

A5

Page 5: BERHAMPUR SOFT COMPUTING (PECS 3401)-FUZZY LOGICkishoreinvssut.yolasite.com/resources/Soft_Computing/Soft... · 2010-12-08 · Soft computing differs from hard computing (conventional

LECTURE NOTES ON SOFT COMPUTING P a g e | 5

BY: KISHORE KUMAR SAHU, DEPT OF INFORMATION TECHNOLOGY, RIT, BERHAMPUR.

Covering: Division of set into many subset such that they have common element. Rule of Addition: Given a partition on A where Ai, i=1,2,...,n are its non-empty subsets then, | | = | ⋃ | = ∑ | |=1=0 . Rules of Inclusion and Exclusion: Rules of addition cannot be applied to covering of a set A. In this case we use principle of inclusion and exclusion which is as follows, | | = ⋃ | = ∑ | | − ∑ ∑ ∩ + ∑ ∑ ∑ ∩ ∩…−1 +1 =1 |. Problems 1: Assume that |E|=600, |A|=300, |B|=225, |C|=160. Where A is the set of male students, B is the set of bowlers and C is the set of batsmen. Also given AnB be 100, 25 of whom are batsmen too i.e. AnBnC. And the total number of male batesmen i.e. AnC is 85. Determine the number of students who are i. Females, ii. Not Bowlers, iii. Not Batsmen and iv. female students who can bowl.

Solution: i. No. of females = |E|-|A|=600-300=300. ii. Not Bowlers= |E|-|B|=600-225=375. iii. Not Batsmen=|E|-|C|=600-160=440. iv. Female who can bowl=|A’|n|B|=225-100=125.

Problem 2: Given |E|=100, where E indicates a set of students who have chosen subjects form different streams in the computer science discipline, it is found that 32 study subjects chosen from CN stream, 20 from MMT stream, 45 from the SS stream. Also 15 study subjects CN and SS streams, 10 study subjects CN and MMT and 7 from both MMT and SS streams, and 30 do not study any subjects chosen from either of the three streams.

Solution: |A’ n B’ n C’|=30. Given. Then |A U B U C|’=30 by De Morgan’s Law. So we have |AUBUC|=|E|-|AUBUC|’

=100-30=70. From the Principle of inclusion and exclusion |AUBUC|=|A|+|B|+|C|-|AnB|-|BnC|-|CnA|+|AnBnC| =>|AnBnC|=-|A|-|B|-|C|+|AnB|+|BnC|+|CnA|+|AUBUC|

-32-20-45+15+7+10+70= -97+102=5.

PROPERTIES OF FUZZY SETS Commutative ∪ = ∪ ∩ = ∩

Associative ∪ ( ∪ ) = ( ∪ ) ∪ ∩ ( ∩ ) = ( ∩ ) ∩ Distributed ∪ ( ∩ ) = ( ∪ ) ∩ ( ∪ )∩ ( ∪ ) = ( ∩ ) ∪ ( ∩ ) Idempotent ∪ = ∩ =

Identity ∪ ∅ = ; ∪ = ; ∩ ∅ = ∅; ∩ = Low of Absorption ∪ ( ∪ ) = ∩ ( ∪ ) =De Morgan’s Law ∪ = ̅ ∩ ∩ = ̅ ∪

OPERATIONS ON FUZZY SETS The set operations on fuzzy sets are similar to that of crisp sets. Whenever set operations are applied on one or more fuzzy sets it always results in a fuzzy sets. Let = . , . , . , . , = . , . , . , . and = . , . , . , . . Then the set operation are as follows: Union: Let A and B be two fuzzy sets then the union operation results in a fuzzy set whose membership function is defined as follows ∪ ( ) = max { ( ), ( )}. ∪ ( ) = max{0.2,0.6} = 0.6, ∪ ( ) = max{0.3,0.1} = 0.3, ∪ ( ) = max{0.7,0.6} = 0.7, ∪ ( ) = max{0.5,0.4} = 0.5, ∪ = . , . , . , . Intersection: Let A and B be two fuzzy sets then the intersection operation results in a fuzzy set whose membership function is defined as follows ∩ ( ) =min { ( ), ( )}. ∩ ( 1) = min{0.2,0.6} = 0.2, ∩ ( ) = min{0.3,0.1} = 0.1, ∩ ( ) = min{0.7,0.6} = 0.6, ∩ ( ) = min{0.5,0.4} = 0.4, ∩ = . , . , . , . Complementation: Let A be a fuzzy sets then the complementation operation results in a fuzzy set whose membership function is defined as follows ( ) = {1 − ( )}. ( ) = {1 − 0.2} = 0.8, ( ) = {1 − 0.3} = 0.7, ( ) = {1 − 0.7} = 0.3,

Page 6: BERHAMPUR SOFT COMPUTING (PECS 3401)-FUZZY LOGICkishoreinvssut.yolasite.com/resources/Soft_Computing/Soft... · 2010-12-08 · Soft computing differs from hard computing (conventional

( )= .Equalitycorrespo( ) =( ) =( ) =( ) =Productvalue this define. ( ). ( ). ( ). ( )2. =Productresults . ( ). ( ). ( ). ( ). ( ). =Power ooperatio( ) =( )( )( )( )= .Differenfuzzy secomplem((((

= {1 − 0.5} = 0.5,, . , . , . y: Let A and B be onding member of= ( ) = 0.2, = ( ) = 0.3, = ( ) = 0.7, = ( ) = 0.5, Het of a fuzzy set wihen the product oped as follows .= 2 ∗ 0.2 = 0.4 = 2 ∗ 0.3 = 0.6 = 2 ∗ 0.7 = 1.4 == 2 ∗ 0.5 = 1 . , . , , . t of two fuzzy set:in a fuzzy set = ( ). ( ). ) = 0.2 ∗ 0.6 = 0.12) = 0.3 ∗ 0.1 = 0.03) = 0.7 ∗ 0.6 = 0.35) = 0.5 ∗ 0.4 = 0.2.. , . , . , . of a fuzzy set: Leton results in a fuz= { ( )} . Let == {0.2} = 0.04, = {0.3} = 0.09, = {0.7} = 0.49, = {0.5} = 0.25. , . , . , . nce: Let A and B beet whose membementation operatio) = min{0.2,1 − 0.) = min{0.3,1 − 0.) = min{0.7,1 − 0.) = min{0.5,1 − 0. B

two fuzzy sets thef the two sets (ence the fuzzy setsith a crisp numbeeration results in a( ) = ∗ ( ). Le

1

Let A and B be twwhose members2, 3, 5,

t A be a fuzzy set zy set whose mem= 2, the operation

e two fuzzy sets thrship function is on as follows 6} = min(0.2,0.4).1} = min(0.3,0.9).6} = min(0.7,0.4).4} = min(0.5,0.6)BY: KISHORE KUM

en they are said to( ) = ( ). s A and C are equaler: Let A be a fuzza fuzzy set whose et = 2, the opera

wo fuzzy sets then tship function is

and be a crisp vmbership functionis as follows

hen the difference defined in terms( ) = min { ( )= 0.2, = 0.3, = 0.4, = 0.5.

LECTURE NOTES

MAR SAHU, DEPT O

o be equal if for evl. y set and be a cmembership functation is as follows

the product operatdefined as follo

value then the pow is defined as follo

operation results s of intersection ),1 − ( )}.

ON SOFT COMPUT

OF INFORMATION

very

risp tion

tion ows

wer ows

in a and

−Disjunresult⨁as foll⊕ (

⊕ (max{m⊕ (max{m⊕ (max{m⊕ (max{m

MEMFuzzymembdefineis therepresfunctiwherefunctiplot foTypescontin

TING P a g e | 6

TECHNOLOGY, RI

= . , . , . , .nctive sum: Let A ts in a fuzzy set wh= ( ∩ ) ∪ ( ∩lows ⊕ ( ) = m( ) = max {min{1( ) = max{min{1min{0.8,0.6} , min{( ) = max{min{1min{0.7,0.1} , min{( ) = max{min{1min{0.3,0.6} , min{( ) = max{min{1min{0.5,0.4} , min{

MBERSHIP FUNyness in a fuzzy setbership function. Med as a mapping fre universal set sents its membersion for a set A is e x ∈U and ( )on of a single variaor ( ) for all x ins of membership fnuous and discrete

T, BERHAMPUR.

and B be two fuzzhose membership f∩ ). And the memmax {min{1 − (− ( ), ( )} , m− 0.2,0.6} , min{0.20.2,0.4}} = max{0− 0.3,0.1} , min{0.30.3,0.9}} = max{0− 0.7,0.6} , min{0.70.7,0.4}} = max{0− 0.5,0.4} , min{0.50.5,0.6}} = max{0NCTIONS t is characterized bMembership functrom U to [0,1], whand the range ship value. memberepresented by ∈[0,1]. Since (able x, so we drawn U.

function: Membere.

zy sets then the disfunction is definedmbership function), ( )} , min {min { ( ), 1 − (2,1 − 0.6}} =0.6,0.2} = 0.6, 3,1 − 0.1}} =0.1,0.3} = 0.3, 7,1 − 0.6}} =0.3,0.4} = 0.4, 5,1 − 0.4}} =0.5,0.5} = 0.5.

by its ion is here U [0,1] ership ( ), ) is a w a 2D rship function can

sjunctive sum oped as follows n for the resultant( ), 1 − ( )}}. ( )}}

be divided into tw

ration t set is

wo i.e.

Page 7: BERHAMPUR SOFT COMPUTING (PECS 3401)-FUZZY LOGICkishoreinvssut.yolasite.com/resources/Soft_Computing/Soft... · 2010-12-08 · Soft computing differs from hard computing (conventional

FeatureA membdiffereni. Corvalthe(

ii. Supmethezergiviii. Boumethebeteleset

CromecroanyHei

Represefuzzy seDependithe functiondifferenbasic rare TrianguGaussian

Exampl( ) =and grapa. ,

es of membership bership function it form the other. Tre: It is thatue is 1 for some ele given fuzzy ( ) = 1. pport: It is thaembership functioe membership valro for some elemeven fuzzy set. i.e. undary: It is thaembership functioe membership vatween 0 and 1 ments of the givt. i.e. 0 < ( ) <oss over point: Tembership functioossover point. i.e. y membership funight: It the higheℎ = max { (

entation of ets: ing on situation membership ns takes t shapes. The representations

Trapezoidal, lar and n.

le: = ; ( ) = 2phs for each of the, B

function: is characterised bThey are as followst part of memberlements of set. i.e. at part of on where lue is non ents of the ( ) 0. at part of on where alue is in for some ven fuzzy 1. The elements of on where the me( ) = 0.5. Basicction. est membership v)}.

: 0 − 5 . De following sets. BY: KISHORE KUM

by three unique ps: rship function wh

f the fuzzy set oembership value cally there are twvalue for a mem

Determine the ma

LECTURE NOTES

MAR SAHU, DEPT O

properties which here the members

of the points in is 0.5 is called o crossover pointmbership function.

athematical formu

ON SOFT COMPUT

OF INFORMATION

one ship

the the t for i.e.

ulae

b. c. d. (Soluta.

b. mc. md.

TING P a g e | 7

TECHNOLOGY, RI

∪ ∩ ( ∪ ) tion: ( ) = ; =( ) = 1 − =( ) = 2 ; =( ) = 1 − =

∪ ( ) =max{ ( ), ( )}∪ ( ) = max∩ ( ) =min { ( ), ( )}∩ ( ) = min ( ∪ ) ( ) = min {( )}; = [0 −( ∪ ) ( ) = min

A⋃B

T, BERHAMPUR.

[0 − 5] = = [0 − 5] ; = 0 − 5 , 2 }; = [0 − 5] , 2 { ( ),5] ,

A'

B'

A

A

B

A⋂B

(A⋃B)'

Page 8: BERHAMPUR SOFT COMPUTING (PECS 3401)-FUZZY LOGICkishoreinvssut.yolasite.com/resources/Soft_Computing/Soft... · 2010-12-08 · Soft computing differs from hard computing (conventional

LECTURE NOTES ON SOFT COMPUTING P a g e | 8

BY: KISHORE KUMAR SAHU, DEPT OF INFORMATION TECHNOLOGY, RIT, BERHAMPUR.

RELATIONS IN CRISP LOGIC A relation R in crisp logic is defined as a subset of Cartesian product of two crisp set A and B i.e. ⊆ × . The elements of a relations are ordered pairs i.e. (xi, yi) such that xi∈A and yi∈B. Let A={1, 2, 3} and B={2, 3, 4}, then A×B={(1,2), (2,2), (3,2), (1,3), (2,3), (3,3), (1,4), (2,4), (3,4)} and let R={y=x+1|x∈A and y∈B}. Then R={(1,2),{2,3),(3,4)}. OPERATIONS ON RELATIONS Relations are nothing but sets intern, so the operations that can be applied to set can be also applied to relations also. Let R and S be the two relations. R={y=x+1|x∈A and y∈B}. Then R={(1,2),{2,3),(3,4)}. S={y=x|x∈A and y∈B}. Then s={{2,2),(3,3)}. The operations on sets are as follows: i. Union: The union operation on two relation R and S is defined as follows: ∪ ( , ) = max { ( , ), ( , )}.

ii. Intersection: The intersection operation on two relation R and S is defined as follows: ∩ ( , ) = min { ( , ), ( , )}.

iii. Complementation: The complementation operation on a relation R and S is defined as follows: ( , ) = 1 − ( , ).

iv. Composition: The composition operation on two relation R and S is defined as follows: ( , ) = max { ( , ), ( , )}. RELATIONS IN FUZZY LOGIC A relation R in fuzzy logic is defined in a similar manner like that of crisp logic as a sunset of Cartesian product of two fuzzy set A and B i.e. ⊆ × . The elements of a fuzzy relations are represented as ( , ), where 'R' represent the relation. Let us take two sets: = . , . , . and = . , . , Then × is defined as a set whose membership function is given by the relation × ( , ) = min { ( ), ( )}. × ={ ( , ), 0.2 , ( , ), 0.2 , ( , ), 0.5 , ( , ), 0.6 , ( , ), 0.4 , ( , ), 0.4 } The same thing be represented in the form of a table as above. OPERATIONS ON FUZZY RELATIONS Similar to crisp logic we also have a similar set of operations on fuzzy logic. To understand the operations let us take two fuzzy relations R and S as follows. Union, intersection requires two relations to union compatible i.e. R and S should be same order =mxn in both R and S. The operations on fuzzy logic are as follows:

i. Union: The union operation on two fuzzy relation R and S is defined as follows: ∪ ( , ) = max{ ( , ), ( , )}. ∪ ( , ) = max{ ( , ), ( , )} =max{0.7,0.8} =0.8, ∪ ( , ) = max{ ( , ), ( , )} =max{0.6,0.5} =0.6, ∪ ( , ) = max{ ( , ), ( , )} =max{0.8,0.1} =0.8, ∪ ( , ) = max{ ( , ), ( , )} =max{0.3,0.6} =0.6. ii. Intersection: The intersection operation on two fuzzy relation R and S is defined as follows: ∩ ( , ) = min{ ( , ), ( , )}. ∩ ( , ) = min{ ( , ), ( , )} =min{0.7,0.8} =0.7, ∩ ( , ) = min{ ( , ), ( , )} =min{0.6,0.5} =0.5, ∩ ( , ) = min{ ( , ), ( , )} =min{0.8,0.1} =0.1, ∩ ( , ) = min{ ( , ), ( , )} =min{0.3,0.6} =0.3. iii. Complementation: The complementation operation on a fuzzy relation R is

R 1 2 32 1 0 03 0 1 04 0 0 1

S 1 2 32 0 1 03 0 0 14 0 0 0

R 1 2 3 S 1 2 3 ∪ 1 2 32 1 0 0 2 0 1 0 2 1 1 03 0 1 0 3 0 0 1 3 0 1 14 0 0 1 4 0 0 0 4 0 0 1

R 1 2 3 R' 1 2 3 S 1 2 3 S' 1 2 32 1 0 0 2 0 1 1 2 0 1 0 2 1 0 13 0 1 0 3 1 0 1 3 0 0 1 3 1 1 04 0 0 1 4 1 1 0 4 0 0 0 4 1 1 1

R 1 2 3 S 1 2 3 ∩ 1 2 32 1 0 0 2 0 1 0 2 0 0 03 0 1 0 3 0 0 1 3 0 0 04 0 0 1 4 0 0 0 4 0 0 0

R 1 2 S 1 2 3 1 2 32 1 0 1 1 0 0 2 1 0 03 0 1 2 0 1 0 3 0 1 04 0 0 4 0 0 0

AxB y1 y2 x1 0.2 0.2 x2 0.5 0.6 x3 0.4 0.4

S y1 y2 x1 0.8 0.5 x2 0.1 0.6 R y1 y2

x1 0.7 0.6x2 0.8 0.3

RUS y1 y2 x1 0.8 0.6 x2 0.8 0.6 RnS y1 y2

x1 0.7 0.5 x2 0.1 0.3

Page 9: BERHAMPUR SOFT COMPUTING (PECS 3401)-FUZZY LOGICkishoreinvssut.yolasite.com/resources/Soft_Computing/Soft... · 2010-12-08 · Soft computing differs from hard computing (conventional

LECTURE NOTES ON SOFT COMPUTING P a g e | 9

BY: KISHORE KUMAR SAHU, DEPT OF INFORMATION TECHNOLOGY, RIT, BERHAMPUR.

defined as follows: ( , ) = 1 − ( , ). ( , ) = 1 − ( , ) =1-0.7 =0.3, ( , ) = 1 − ( , ) =1-0.6 =0.4, ( , ) = 1 − ( , ) =1-0.8 =0.2, ( , ) = 1 − ( , ) =1- 0.3=0.7. iv. Composition: For composition operation R and S may not be necessary but they have number of columns of first relation equals to numbers of rows of second relations. i.e. if order of R(x, y) and S(y, z) are m x n and n x p respectively, the composition is possible and the resultant relation is of order m x p. Let the R and S be represented as follows:

a. Max-Min: The Max-Min composition on two fuzzy relation R and S is defined as follows: ( , ) = max{min{ ( , ), ( , )}| ∈ , ∈, ∈ . ( , ) =max min{ ( , ), ( , )},min{ ( , ), ( , )}, min{ ( , ), ( , )}. = min{0.7, 0.8},min{0.6, 0.1}, min{0.2, 0.7}.

= 0.70.10.2 = 0.7 ( , )= max min{ ( , ), ( , )},min{ ( , ), ( , )}, min{ ( , ), ( , )}. = min{0.7, 0.5},min{0.6, 0.6}, min{0.2, 0.2}.= 0.50.60.2 = 0.5 ( , )= max min{ ( , ), ( , )},min{ ( , ), ( , )}, min{ ( , ), ( , )}. = min{0.8, 0.8},min{0.3, 0.1}, min{0.4, 0.7}.= 0.80.10.4 = 0.8

( , )= max min{ ( , ), ( , )},min{ ( , ), ( , )}, min{ ( , ), ( , )}. = min{0.8, 0.5},min{0.3, 0.6}, min{0.4, 0.2}.= 0.50.30.2 = 0.5 b. Max-Product: The Max-Product composition on two fuzzy relation R and S is defined as follows: ( , ) =max{ ( , ) ∗ ( , )| ∈ , ∈ , ∈ . ( , ) = max { ( , ) ∗ ( , )},{ ( , ) ∗ ( , )},{ ( , ) ∗ ( , )}. = {0.7 ∗ 0.8},{0.6 ∗ 0.1}, {0.2 ∗ 0.7}.= 0.560.060.14 = 0.56 ( , ) = max { ( , ) ∗ ( , )},{ ( , ) ∗ ( , )}, { ( , ) ∗ ( , )}. = {0.7 ∗ 0.5},{0.6 ∗ 0.6}, {0.2 ∗ 0.2}.= 0.350.360.04 = 0.36 ( , ) = max { ( , ) ∗ ( , )},{ ( , ) ∗ ( , )}, { ( , ) ∗ ( , )}. = {0.8 ∗ 0.8},{0.3 ∗ 0.1}, {0.4 ∗ 0.7}.= 0.640.030.28 = 0.64

Rc y1 y2 x1 0.3 0.4 x2 0.2 0.7

S z1 z2

y1 0.8 0.5y2 0.1 0.6y2 0.7 0.2

R y1 y2 y3

x1 0.7 0.6 0.2x2 0.8 0.3 0.4

RoS z1 z2 x1 0.56 0.36 x2 0.64 0.40

RoS z1 z2 x1 0.7 0.5 x2 0.8 0.5

Page 10: BERHAMPUR SOFT COMPUTING (PECS 3401)-FUZZY LOGICkishoreinvssut.yolasite.com/resources/Soft_Computing/Soft... · 2010-12-08 · Soft computing differs from hard computing (conventional

c.

( , ) = Max-Average: Tand S is defined, ∈ , ∈ . ( ,= max {{{= 0.0.0. ( , )= max {{ {= 0.60.60.2 ( ,= max {{ {= 0.0.0. ( ,= max {{ {= 0.0.40.

B

= max { ( , ){ ( , ) { ( , )= 0.400.180.08The Max-Average d as follows: () ( , ) + ( ,( , ) + ( ,( , ) + ( ,.75.35.45 = 0.75

) ( , ) + ( ,( , ) + ( ,( , ) + ( ,606020 = 0.60 ) ( , ) + ( ,( , ) + ( ,( , ) + (802055 = 0.80 ) ( , ) + ( ,( , ) + ( ,( , ) + (654530 = 0.65

L

BY: KISHORE KUM

) ∗ ( , )},) ∗ ( , )},) ∗ ( , )}. == 0.40 composition on , ) = max{( ( ,

, )}/2,, )}/2,, )}/2. =

)}/2,)}/2,)}/2. =

, )}/2,, )}/2,, )}/2. =

, )}/2,, )}/2,, )}/2. =RoSx1

x2

LECTURE NOTES O

MAR SAHU, DEPT O

{0.8 ∗ 0.5},{0.3 ∗ 0.6}, {0.4 ∗ 0.2}.two fuzzy relatio, ) + ( , ))/2|{0.7 + 0.8}/2,{0.6 + 0.1}/2, {0.2 + 0.7}/2.{0.7 + 0.5}/2,{0.6 + 0.6}/2,{0.2 + 0.2}/2.{0.8 + 0.8}/2,{0.3 + 0.1}/2, {0.4 + 0.7}/2.{0.8 + 0.5}/2,{0.3 + 0.6}/2, {0.4 + 0.2}/2.

S z1 z20.75 0.600.80 0.65

ON SOFT COMPUT

OF INFORMATION

n R ∈

FIS: F

The fui. Da

ii. Rafiii. Duoiv. Frdsv. DtdcCRISIn crconnPropgood kindspropConnatom

ING P a g e | 10

TECHNOLOGY, RI

FUZZY INFERE

uzzy inference systDatabase: The linand this is the placRulebase: The linand inferences to form of "if then" ruDecision making sunit and processeoutput to the defuzFuzzification unitreal world that aredifferent fuzzificatsystem. Defuzzification unthe real world thatdecision making sconvert the same inSP LOGIC OR BOrisp logic we repectives and inferenposition: A fact in t

boy" is represents are called as aositions by makingnectives: These armic propositions. Th

T, BERHAMPUR.

ENCE SYSTEM

tem basically consnguistic variable ae where the membguistic variables aform rules and thules. system: It receives it with the relazzification unit.

t: It is the unit, whe crisp in nature. tion techniques anit: It is the unit, wt, are crisp in natusystem and appliento crisp output. OOLEAN LOGICpresent the fact nce rules. the real world is rted as P(x) whereatomic or simpleg use of connectivere used to build he connectives are

sists of five functioare represented abership functions aare combined withis is where these es the fuzzy inputtions stored in thhich actually receIt the converts theand forwards it twhich is responsiure. It receives thees different defuzzC OR CLASSICAof real world inrepresented as a pe x represents Rame proposition. Wes. complex proposie as follows:

nal units as follows membership funare stored. th different connerules are stored ts from the fuzzifihe system to give ives the input froem into fuzzy inputo the decision mble for giving outpe fuzzy output forzification techniquAL LOGIC nterms of propo

roposition. i.e. "Ram. Proposition of We can obtain comitions with the he

ws: nction ectives in the cation fuzzy m the uts by making put to rm the ues to sition,

am is a these mplex elp of

Page 11: BERHAMPUR SOFT COMPUTING (PECS 3401)-FUZZY LOGICkishoreinvssut.yolasite.com/resources/Soft_Computing/Soft... · 2010-12-08 · Soft computing differs from hard computing (conventional

LECTURE NOTES ON SOFT COMPUTING P a g e | 11

BY: KISHORE KUMAR SAHU, DEPT OF INFORMATION TECHNOLOGY, RIT, BERHAMPUR.

P Q ~P ~Q ⋁ ∧ ⟹ ~ ⋁T T F F T T T TT F F T T F F FF T T F T F T TF F T T F F T TInference Rules: By making use of given propositions we can infer some unknown fact. This mechanism is called as inferenceing. There are two kinds of inference rules that are as follows: i. Modus Ponens: It states that if P is true and P=>Q is true, then we infer Q is true. Here we infer P as a fact and P=>Q is a rule and Q as inference.

P is true is a fact P=>Q is true is a rule Q is true is inferred.

ii. Modus Tollens: It states that if ~Q is true and P=>Q is true, then we infer ~P is true. Here we infer ~Q as a fact and P=>Q is a rule and ~P as inference. ~Q is true is a fact P=>Q is true is a rule ~P is true is inferred.

FUZZY LOGIC In crisp logic we consider a proposition to be either true or false i.e. T/F, but in fuzzy logic we consider a proposition to take fuzzy truth-values i.e. values between 0 and 1. Fuzzy Proposition: A fuzzy proposition is represented as T(P) which takes truth values between 0 and 1. A fuzzy proposition similar to fuzzy sets are represented by a membership functions i.e. = ( ) ℎ ℎ 0 ≤ ( ) ≤ 1. E.g. Let =Ram is good, then T( )=0.8 implies the statement is partially true, where as T( )=1 implies the statement is absolutely true. Connectives: Complex or compound fuzzy propositions are constructed by making use of connectives. The use of connectives in fuzzy logic is as follows: Inference Procedure: In fuzzy logic we represent the rules in terms of "if then" rules. i.e. if we have two fuzzy proposition A and B and we have A=>B, then this is interpreted as "if x is in A then y is in B". Another form rule i.e. "if x in A then y in B else y in C" is also possible. We represent these rules in terms of a fuzzy relation R,

that takes different form depending on the rule for which is designed i.e. if we are making use of "If x in A then y in B" then = ( × ) ∪ ( × ), and "if x in A then y in B else y in C" then = ( × ) ∪ ( × ). Example: Let = { , , , }, = {1, 2, 3, 4} be two sets. Let A be a fuzzy proposition defined on the set X as = . , . , . , . , Let B, C be fuzzy propositions defined on the set Y as = . , . , . , . and = . , . , . , . respectively. Then for the rule "if x in A then y in B", we have = × ∪ ( × ), where is the fuzzy set representing the set Y such that each element has membership function equal to 1, i.e. = . , . , . , . . So ( , ) = max {min{ ( ), ( )} , min{1 − ( ), ( )} } , this can be rewritten as ( , ) = max {min{ ( ), ( )} , 1 − ( ) } as ( ) is always 1 and will be greater than 1- ( ) so min{1 − ( ), ( )} is equivalent to 1- ( ).

For the rule "if x in A then y in B else y in C", we have = × ∪ ( × ). So ( , ) = max {min{ ( ), ( )} , min{1 − ( ), ( )} }. = . , . , . , . , = . , . , . , .

In Fuzzy we have two inference processes i.e. Generalized Modus ponens (GMP) and Generalized Modus Tollens (GMT). The inference process in fuzzy logic is as follows:

Connectives Membership Functions~P 1-T(P)⋁ max(T(P),T(Q))∧ min(T(P),T(Q))⟹ or ~ ⋁ max(1-T(P),T(Q))

AxB 1 2 3 4a 0.0 0.0 0.0 0.0b 0.2 0.8 0.8 0.0c 0.2 0.6 0.6 0.0d 0.2 1.0 0.8 0.0AcxY 1 2 3 4A 1.0 1.0 1.0 1.0B 0.2 0.2 0.2 0.2C 0.4 0.4 0.4 0.4D 0.0 0.0 0.0 0.0

R 1 2 3 4 a 1.0 1.0 1.0 1.0 b 0.2 0.8 0.8 0.2 c 0.4 0.6 0.6 0.4 d 0.2 1.0 0.8 0.0

AxB 1 2 3 4a 0.0 0.0 0.0 0.0b 0.2 0.8 0.8 0.0c 0.2 0.6 0.6 0.0d 0.2 1.0 0.8 0.0AcxC 1 2 3 4a 0.0 0.4 1.0 0.8b 0.2 0.4 0.2 0.2c 0.0 0.4 0.4 0.4d 0.0 0.0 0.0 0.0

R 1 2 3 4 a 0.0 0.4 1.0 0.8 b 0.2 0.8 0.8 0.2 c 0.2 0.6 0.6 0.4 d 0.2 1.0 0.8 0.0

Page 12: BERHAMPUR SOFT COMPUTING (PECS 3401)-FUZZY LOGICkishoreinvssut.yolasite.com/resources/Soft_Computing/Soft... · 2010-12-08 · Soft computing differs from hard computing (conventional

LECTURE NOTES ON SOFT COMPUTING P a g e | 12

BY: KISHORE KUMAR SAHU, DEPT OF INFORMATION TECHNOLOGY, RIT, BERHAMPUR.

i. Generalized Modus Ponens (GMP): It works when a fuzzy proposition P and a rule P=>Q is given and we need to infer Q. Example: P="x in A" Given fact if "x in A" then "y in B" Given rule Q="y in B" Inference This can be also shown by composition operation also i.e. = where = × ∪ ( × ). Example: GMP can also be applied to problem where we have more than one variable i.e. "if old and car is high power then risk is high". So here GMP take the form "if x in A and y in B then z in C" P="x in A" and Q="y in B" Given fact if "x in A" and "y in B" then "z in C" Given rule S="z in C" Inference Here we make use of = ( ∪ ) ii. Generalized Modus Tollens (GMT): It works when a fuzzy proposition ~Q and a rule P=>Q is given and we need to infer ~P. Example: ~Q="x not in A" Given fact if "x in A" then "y in B" Given rule ~P="y not in B" Inference This can be also shown by composition operation also i.e. ~ = ~ where = × ∪ ( × ). Example: GMP can also be applied to problem where we have more than one variable i.e. "if risk not high then not old or car is not high power ". So here GMP take the form "if x in A and y in B then z in C" S="z not in C" Given fact if "x in A" and "y in B" then "z in C" Given rule P="x not in A" or Q="y not in B" Inference Here we make use of ~ ∩ ~ = ~ FUZZY UNION AND INTERSECTION The intersection and union of two fuzzy sets can also be performed with T-norm and T-conorm or S-norm respectively. Let us discuss these operations in detail. T-NORMS T-norm operator is a two place function i.e. T( . , . ) satisfying the following properties:

Properties: i. Boundary: T(0,0)=0, T(a,1)=T(1,a)=a i.e. it imposes correct generalization to crisp sets. ii. Monotonicity: T(a, b)<=T(c, d) if a<c and b<d i.e. increase in values of a and b also increased the value in T(a, b). iii. Commutative: T(a, b)=T(b, a) i.e. the operator is indifferent to the order of fuzzy sets to be combined. iv. Associativity: T(a, T(b, c))=T(T(a, b), c) i.e. any number of fuzzy sets and in any order can be combined to form pair-wise grouping since T-norm is a two place function Operation using T-norms: The four operations that are allowed in T-norms are as follows: i. Minimum: ( , ) = min{ , } = ⋀ . ii. Algebraic product: ( , ) = . iii. Bounded product: ( , ) = 0 ∨ (a + b − 1). iv. Drastic product: ( , ) = , = 1., = 1.0, , < 1. Relationship between the different operations in T-Norms ( , ) ≤ ( , ) ≤ ( , ) ≤ ( , ) S-NORM S-norm operator also called as T-conorm is a two place function i.e. S( ., . ) satisfying the following properties: Properties: i. Boundary: S(1,1)=1, S(a,0)=S(0,a)=a i.e. it imposes correct generalization to crisp sets. ii. Monotonicity: S(a, b)<=S(c, d) if a<c and b<d i.e. increase in values of a and b also increased the value in T(a, b). iii. Commutative: S(a, b)=S(b, a) i.e. the operator is indifferent to the order of fuzzy sets to be combined. iv. Associativity: S(a, S(b, c))=S(S(a, b), c) i.e. any number of fuzzy sets and in any order can be combined to form pair-wise grouping since T-norm is a two place function

Page 13: BERHAMPUR SOFT COMPUTING (PECS 3401)-FUZZY LOGICkishoreinvssut.yolasite.com/resources/Soft_Computing/Soft... · 2010-12-08 · Soft computing differs from hard computing (conventional

OperatiThe fouri. ii. iii. iv. Relation

DECOMThe outfuzzy ouconversbroughtinferencprocess out the di. Cfumbse S

ion using S-normsr operations that aMaximum: Algebraic sum: Bounded sum: Drastic sum:

nship between the( ,MPOSITION put of decision-mautputs. These fuzzion of fuzzy output about with the dce system this is is the reverse of fdefuzzification pro

Centroid Method:unction is createdmembership functeing called as a seegment the area anSegment 1 12 x2 2.63 12 x 04 0.45 1.56 0.57 12 x 0 B

s: are allowed in T-no( , )( , ) =( , ) =( , ) =e different operat) ≤ ( , ) ≤aking system on azy outputs cannot ut to crisp output defuzzification prresponsible for gfuzzification proceocess which are asFrom the givend that contain all ion is then dividegment. The segmnd its centroid w.rArea 1 x 0.3 = 0.15 6 x 0.3 = 0.78

0.4 x 0.2 = 0.04 4 x 0.3 = 0.12 5 x 0.5 = 0.75 5 x 0.5 = 0.25 .5 x 0.5 = 0.125

L

BY: KISHORE KUM

orms are as follow) = max{ , } == + − . = 1 ∧ (a + b). = , = 0., = 0.1, , 0.tions in T-Norms ( , ) ≤ (application of fuzzybe interpreted byis highly necessarrocess. It acts as tgiving crisp outpess. There are diffe follows: n membership fu the functions toded into triangles ments are numberer.t the origin is calc

0.673.6 − 12 + 13.6 + 23 x 0.40.42 + 3.61.52 + 4 =0.52 + 5.5 =13 x 0.5 + 5.5

LECTURE NOTES O

MAR SAHU, DEPT O

ws: ∨ .

, ) y inference rule giy the real world, sry. This conversiothe last unit of fuut to the users. erent method to canctions an envel scale. The enveland rectangle, eed and for each of culated. Area0.10

1 = 2.3 1.794 = 3.8 0.15= 3.8 0.454.75 3.56

= 5.75 1.435 = 5.66 0.70

ON SOFT COMPUT

OF INFORMATION

ives so a on is uzzy The arry lope lope each f the a . 005945456625375075

ING P a g e | 13

TECHNOLOGY, RI

8 9 After the all thenvelope is calcu

T, BERHAMPUR.

1x 1 = 112 x 1x 1 = 12e areas and centlated by the use of ∗ = ∑∑

12 + 613 x 1 +troid is calculatef the formulae as fo. ̅∑ = 18.4333.715 = 4

= 6.57 = 7.3 3d, the centroid oollows: 4.9617

6.5 .665 of the

Page 14: BERHAMPUR SOFT COMPUTING (PECS 3401)-FUZZY LOGICkishoreinvssut.yolasite.com/resources/Soft_Computing/Soft... · 2010-12-08 · Soft computing differs from hard computing (conventional

ii. M

Asu iii.

CLASSThere ari.

Centre of sum: calculated for all tMembership function 1 12 x2 12 x3 12 xAfter the all the areum is calculated by

Mean of maximaenvelope membecentre as follows:IFICATION OF re two kinds of fuzMamdani FIS: Inwell as the outputto give the crisp o

B

In this method athe membership fuArea x (3 + 5) x 0.3 = 1.x (4 + 2) x 0.5 = 1.x (3 + 1) x 1.0 = 1.eas and centre froy the use of the for

∗a: In this methodership function an: ∗ = ∑∑ .FUZZY INFEREzzy inference systen case of Mamdants are fuzzy sets. Toutput.

L

BY: KISHORE KUM

area and its centrunctions as followCentre from .2 2.5.5 5.0.2 6.5m the origin is calrmulae as follows:= ∑ . ̅∑ = 23.54.7 =

d the maxima arend their mean is = 6 + 72

ENCE SYSTEMSem, they are as follni fuzzy inference These fuzzy output

LECTURE NOTES O

MAR SAHU, DEPT O

re form the origins: m the origin Area5 3.00 7.5 13lculated, the centr5.0

e found out from found out to get 7 = 6.5 S lows: system, the inputs are then defuzzi

ON SOFT COMPUT

OF INFORMATION

n is a . 053re of

the the

t as fied

ii.

ING P a g e | 14

TECHNOLOGY, RI

Takagi Sugenosystem, the inprather than theare the input vaz may be a cons

T, BERHAMPUR.

o and Kang FIS (Tputs are only fuzzyey are functions of ariables and 'z' is stant or linear.

TSK FIS): In casey in nature and thinput variable i.e. a function of x and of TSK fuzzy infee outputs are not z(x, y) where 'x' ad y. The output fun

erence fuzzy, and 'y' nction