인공지능 2002년 2학기 이복주 단국대학교 컴퓨터공학과

Slides:



Advertisements
Similar presentations
You have been given a mission and a code. Use the code to complete the mission and you will save the world from obliteration…
Advertisements

(Fuzzy Set Operations)
Quantitative Methods Topic 5 Probability Distributions
:. A. B. C. D. A. 92% 90% 60 P S.. ~ ~
Logical and Artificial Intelligence in Games Lecture 13
1 Knowledge and reasoning – second part Knowledge representation Logic and representation Propositional (Boolean) logic Normal forms Inference in propositional.
1 MPE and Partial Inversion in Lifted Probabilistic Variable Elimination Rodrigo de Salvo Braz University of Illinois at Urbana-Champaign with Eyal Amir.
Inference in First-Order Logic
© Negnevitsky, Pearson Education, Lecture 5 Fuzzy expert systems: Fuzzy inference Mamdani fuzzy inference Mamdani fuzzy inference Sugeno fuzzy inference.
Advanced Piloting Cruise Plot.
Implications Adriano Joaquim de O Cruz ©2002 NCE/UFRJ
Implications Adriano Joaquim de O Cruz ©2002 NCE/UFRJ
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
0 - 0.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Addition Facts
Year 6 mental test 5 second questions
Year 6 mental test 10 second questions
Around the World AdditionSubtraction MultiplicationDivision AdditionSubtraction MultiplicationDivision.
C1 Sequences and series. Write down the first 4 terms of the sequence u n+1 =u n +6, u 1 =6 6, 12, 18, 24.
ZMQS ZMQS
Computational Intelligence Winter Term 2012/13 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
Fuzzy Logic 11/6/2001. Agenda General Definition Applications Formal Definitions Operations Rules Fuzzy Air Conditioner Controller Structure.
Fuzzy expert systems Fuzzy inference Mamdani fuzzy inference
ABC Technology Project
3 Logic The Study of What’s True or False or Somewhere in Between.
5-1 Chapter 5 Theory & Problems of Probability & Statistics Murray R. Spiegel Sampling Theory.
Squares and Square Root WALK. Solve each problem REVIEW:
Lets play bingo!!. Calculate: MEAN Calculate: MEDIAN
Chapter 5 Test Review Sections 5-1 through 5-4.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
Addition 1’s to 20.
25 seconds left…...
The Fundamental Theorem of Algebra
Copyright © Cengage Learning. All rights reserved.
A set is a collection of objects A special kind of set Fuzzy Sets
Intelligent Control Methods Lecture 11: Fuzzy control 2 Slovak University of Technology Faculty of Material Science and Technology in Trnava.
Week 1.
Number bonds to 10,
1. 2 No lecture on Wed February 8th Thursday 9 th Feb Friday 27 th Jan Friday 10 th Feb Thursday 14: :00 Friday 16:00 – 19:00 HS N.
We will resume in: 25 Minutes.
A SMALL TRUTH TO MAKE LIFE 100%
PSSA Preparation.
Fuzzy Inference and Defuzzification
CLASSICAL LOGIC and FUZZY LOGIC. CLASSICAL LOGIC In classical logic, a simple proposition P is a linguistic, or declarative, statement contained within.
Fuzzy Sets and Applications Introduction Introduction Fuzzy Sets and Operations Fuzzy Sets and Operations.
Approximate Reasoning 1 Expert Systems Dr. Samy Abu Nasser.
PART 8 Approximate Reasoning 1. Fuzzy expert systems 2. Fuzzy implications 3. Selecting fuzzy implications 4. Multiconditional reasoning 5. Fuzzy relation.
WELCOME TO THE WORLD OF FUZZY SYSTEMS. DEFINITION Fuzzy logic is a superset of conventional (Boolean) logic that has been extended to handle the concept.
Rule-Based Fuzzy Model. In rule-based fuzzy systems, the relationships between variables are represented by means of fuzzy if–then rules of the following.
Fuzzy Logic Jan Jantzen Logic is based on set theory, and when we switch to fuzzy sets it will have an effect on.
Fuzzy Logic Conception Introduced by Lotfi Zadeh in 1960s at Berkley Wanted to expand crisp logic.
Fuzzy Rules 1965 paper: “Fuzzy Sets” (Lotfi Zadeh) Apply natural language terms to a formal system of mathematical logic
10/6/2015 1Intelligent Systems and Soft Computing Lecture 0 What is Soft Computing.
 Definition Definition  Bit of History Bit of History  Why Fuzzy Logic? Why Fuzzy Logic?  Applications Applications  Fuzzy Logic Operators Fuzzy.
Lógica difusa  Bayesian updating and certainty theory are techniques for handling the uncertainty that arises, or is assumed to arise, from statistical.
Lecture 3 Fuzzy Reasoning 1. inference engine core of every fuzzy controller the computational mechanism with which decisions can be inferred even though.
“Principles of Soft Computing, 2 nd Edition” by S.N. Sivanandam & SN Deepa Copyright  2011 Wiley India Pvt. Ltd. All rights reserved. CHAPTER 12 FUZZY.
Fuzzy Inference and Reasoning
Fuzzy Logic Artificial Intelligence Chapter 9. Outline Crisp Logic Fuzzy Logic Fuzzy Logic Applications Conclusion “traditional logic”: {true,false}
Dinner for Two. Fuzzify Inputs Apply Fuzzy Operator.
Artificial Intelligence CIS 342
Fuzzy Logic and Fuzzy Sets
CLASSICAL LOGIC and FUZZY LOGIC
Intelligent Systems and
Presentation transcript:

인공지능 2002년 2학기 이복주 단국대학교 컴퓨터공학과 퍼지 이론 (Lecture Note #14) 인공지능 2002년 2학기 이복주 단국대학교 컴퓨터공학과

Outline Fuzzy Logic and Intelligent Systems Progress of Fuzzy Logic Generalized Modus Ponens Fuzzy Reasoning Triangular Norms Triangular Conorms Theoretical Foundations of Fuzzy Inference

Saturn Fuzzy Logic Transmission Saturn automobile’s smart transmission When the car is moving uphill or downhill Employs shift stabilization Fuzzy logic control is used to avoid hunting, that is frequent shifting of gears Shifting decisions are made by weighing many input variables at once and using fuzzy if-then rules to generate an output control signal

Fuzzy Logic and Intelligent Systems Objective: Develop a cost-effective approximate solution to a problem Approach: Exploit the tolerance for imprecision and uncertainty to achieve tractability, robustness, and low cost Cost of system Utility (Usefulness of system) Precise를 achieve하기 위해서는 cost가 exponential 하게 올라감 반면 utility는 그리 올라가지 않음 Low cost, high usefulness Preciseness

Fuzzy Logic Applications Diagnosis Financial Analysis and Prediction Robotics Data Compression and Pattern Recognition Consumer electronics Typical KB size: 10-20 rules Typical KB number: 1 Automobile/Transportation system Typical KB size: 40-80 rules Typical KB number: 1-3 Locomotive, Subways, Aircraft engines, Helicopters Typical KB size: 60-80 rules Typical KB number: 4-8 + supervisory (hierarchical)

Progress of Fuzzy Logic 1965, Prof. Loft A. Zadeh at UCB developed fuzzy set theory and fuzzy logic 1974, Fuzzy logic controller for a steam engine (Prof. Mamdani, London University) 1980, Control of Cement-Kiln with monitor capability (Smidth, Denmark) 1987, Automatic train operation for Sendai subway (Hitachi) 1988, Stock trading expert system (Yamichi security) 1989, Laboratory for International Fuzzy Engineering 1987-90, 389 patents in U.S. regarding fuzzy systems

Fuzzy Logic is Not … Is not a clever disguise of probability theory The behavior of a fuzzy system is not fuzzy (it is deterministic) The founder of fuzzy logic (Prof. Zadeh) is not a mathematician. Fuzzy logic is not to replace conventional techniques.

Generalized Modus Ponens In fuzzy logic the truth value of a statement becomes a matter of degrees Reasoning in fuzzy logic is based on generalized modus ponens Modus Ponens Generalized Modus Ponens Given A  B Given A  B A A’ ----------------- ------------------------- Deduce B Deduce B’ where A’ is a fuzzy set that partially matches A Example If a person is self-confident then he/she has a happy life Jack is somewhat self-confident What can we conclude using conventional logic? What can we conclude using generalized modus ponens? => Jack is somewhat happy None

Fuzzy Reasoning Fuzzy Rules: If x is A1 and y is B1 then z is C1 x and y are inputs, z is an output Ai, Bi, and Ci are fuzzy sets Input data: x is A’, y is B’ A’ and B’ are also fuzzy sets Question: z is ?

Step 1: Compatibility Calculate the degree that input data (A’, B’) matches each rule premise (A1, A2, B1, B2) (A1, A’), (A2, A’), (B1, B’), (B2, B’) Compatibility  between A and A’: (A, A’) = supx min{A(x), A’(x)} Supreme: maximum in continuous space 1 A A’  0.5 x

Step 2: Combine Compatibilities Combine the degree of matching for the inputs for “and”, usually take min for “or”, usually take max min{(A1, A’), (B1, B’)} min{(A2, A’), (B2, B’)} x 0.5 1  A’ y 0.3 B’ A B

Step 3: Derive Output Fuzzy Sets The (combined) degree of matching i is propagated to the consequent to form an inferred fuzzy subset Ci’ Type I: C’(z) =   C(z) [ usually take min ] Type II: C’(z) =  x C(z) C1’ and C2’ are derived z 1  C 0.3 C’ Type I Type II

Step 4: Combine Output Fuzzy Sets Combine the inferred fuzzy values (C1’ and C2’) of z max {C1’(z), C2’(z)} z 1  C2’ C1’

Step 5: Defuzzification Perform defuzzification to obtain z’s final value Mean of Maximum method (MOM) (j=1,kwj)/k where wj is peak and k is the number of peaks Center of Area method (COA) (j=1,nz(wj) x wj)/ j=1,nz(wj) w1 1  wk MOM 1  COA w1 wn

What about Crisp Input? Inputs are x0 and y0 rather than A’ and B’. Compatibility  between A and x0 (Step 1): (A, x0) = A(x0) 1 A supreme  0.5 x0

Triangular Norms (Conjunction) Four methods to calculate “and” Min  A and B (x) = min{A(x), B(x)} Algebraic product  A and B (x) = A(x) x B(x) Bounded difference  A and B (x) = max {0, A(x) + B(x) – 1} Drastic product  A and B (x) = A(x) if B(x) = 1 B(x) if A(x) = 1 0 otherwise min  algebraic product  bounded difference  drastic product

Triangular Conorms (Disjunction) Four methods to calculate “or” Max  A OR B (x) = max{A(x), B(x)} Bounded sum  A OR B (x) = min{1,A(x) + B(x)} Algebraic sum  A OR B (x) = A(x) + B(x) - A(x) x B(x) Drastic sum  A OR B (x) = A(x) if B(x) = 0 B(x) if A(x) = 0 1 otherwise max  bounded sum  algebraic sum  drastic sum

Theorectical Foundation of Fuzzy Inference A fuzzy rule = A fuzzy relation Inference is a composition of relations Relation R: U X V = {0, 1} R(x, y) = 1: the relation holds between x and y R(x, y) = 0: the relation does not hold between x and y e.g., Take(Kim, ICE607) = 1 Take(Kim, ICE608) = 0 Fuzzy relation R: U X V = [0, 1] E.g., Friendly(Jack, Joe) = 1 Friendly(Clinton, Hussain) = 0 Friendly(Clinton, Gingrich) = 0.2

Fuzzy Rule as Fuzzy Relation Fuzzy rules are fuzzy relations over the Cartesian product of the domains of antecedent and consequent variables Semantically the fuzzy relation captures the degree of association between a pair of antecedent variables and consequent variables Example If height is tall then IQ is high High H\I 80 90 100 110 120 130 140 4 5 6 7 8 9 R(6.5,135) Tall R(6.5,135): The possibility that a person 6.5 tall has a 135 IQ.

Methods to Calculate the Degree of Association Two families of calculating the degree of association Fuzzy implication operators Fuzzy conjunction operators

Families of Fuzzy Implication Operators Material implication A  B = (not A) + B e.g., Tall(6.25)=0.25, High(125)=0.5 TallHigh(6.25,125)=max{1-0.25,0.5}=0.75 Propositional calculus A  B = (not A) + (A * B) ( A  (AB) = (AA)  (AB) = AB ) Extended propositional calculus A  B = (A x B) + B

Families of Fuzzy Implication Operators (2) Generalization of modus ponens A  B = sup { c[0,1] | A x c  B } e.g., Tall(6.25)=0.25, High(125)=0.5 TallHigh(6.25,125) = sup { c[0,1] | min(0.25,c)  0.5 } = 1 If x is min, generalization of mp is A  B = 1 if A  B B otherwise Generalization of modus tollens A  B = inf { t[0,1] | B+t  A } All fuzzy implication operations share the fundamental implication property 00=1, 01=1, 10=0, 11=1

Fuzzy Relation Using Conjunction Operator Use conjunction to represent relation (implication) A  B = min {A, B} i.e., AB(x, y) = min {A(x), B(y)} Does this hold the fundamental implication property? 00=1, 01=1, 10=0, 11=1

Summary Fuzzy Logic and Intelligent Systems Progress of Fuzzy Logic Generalized Modus Ponens Fuzzy Reasoning Triangular Norms Triangular Conorms Theoretical Foundations of Fuzzy Inference