Documente Academic
Documente Profesional
Documente Cultură
Lecture No. 32
Dr. Asad Ali Safi
Assistant Professor,
Department of Computer Science,
COMSATS Institute of Information Technology (CIIT)
Islamabad, Pakistan.
Summary of Previous Lecture
• Genetic algorithms
• GA Requirements
• Theory of Evolution
• GA Strengths
• GA Weaknesses
Today’s Lecture
• Fuzzy Logic
• Fuzzy Membership Sets
• Fuzzy Linguistic Variables
• Fuzzy Control
What is fuzzy logic?
• Definition of fuzzy
• Fuzzy – “not clear, dissimilar, blurred”
0
10 30 50 70 90 110
Temp. (F°)
Membership Functions
• How cool is 36 F° ?
Freezing Cool Warm Hot
1
0
10 30 50 70 90 110
Temp. (F°)
Inputs: Temperature
• Temp: {Freezing, Cool, Warm, Hot}
Freezing Cool Warm Hot
1
0
10 30 50 70 90 110
Temp. (F°)
Inputs: Temperature, Cloud Cover
• Temp: {Freezing, Cool, Warm, Hot}
Freezing Cool Warm Hot
1
0
10 30 50 70 90 110
Temp. (F°)
0
0 20 40 60 80 100
Cloud Cover (%)
Output: Speed
• Speed: {Slow, Fast}
Slow Fast
1
0
0 25 50 75 100
Speed (mph)
Rules
• If it's Sunny and Warm, drive Fast
Sunny(Cover)Warm(Temp) Fast(Speed)
0
0 25 50 75 100
Speed (mph)
0
0 25 50 75 100
Speed (mph)
• Speed = weighted mean
= (2*25+...
Defuzzification:
Constructing the Output
• Speed is 20% Slow and 70% Fast
Slow Fast
1
0
0 25 50 75 100
Speed (mph)
• Speed = weighted mean
= (2*25+7*75)/(9)
= 63.8 mph
Notes: Follow-up Points
• Fuzzy Logic Control allows for the smooth
interpolation between variable centroids with
relatively few rules
• This does not work with crisp (traditional
Boolean) logic
• Provides a natural way to model some types
of human expertise in a computer program
Notes: Drawbacks to Fuzzy logic
• Requires tuning of membership functions
• Fuzzy Logic control may not scale well to large
or complex problems
• Deals with imprecision, and vagueness, but
not uncertainty
Summery of Today’s Lecture
• Fuzzy Logic
• Fuzzy Membership Sets
• Fuzzy Linguistic Variables
• Fuzzy Control
Concluding the classes
• What is Intelligence ?
Lecture 1
• What is artificial intelligence?
• Intelligent Systems in Your Everyday Life
Lecture 8
• Informed (Heuristic) search
• Heuristic evaluation function
• Greedy Best-First Search
• A* Search
Lecture 9
• A knowledge-based agent
• The Wumpus World
Concluding the classes …
• logic
Lecture 10 • Propositional logic
• Pros and cons of propositional logic
• First-order logic
• Knowledge
Lecture 11 • Transfer of knowledge
• Types of knowledge
• Organizing the Knowledge
•
• Inheritance in Frames
Lecture 12
• Semantic network
Concluding the classes …
• Rules based Organizing of the Knowledge
Lecture 13
• Rules can representation
• Propositional logic
Lecture 14
15 16
• Expert System
• Forward chaining and backward chaining
Lecture 17-
26 • CLIPS
Concluding the classes …
Lecture 27
• Machine learning
• Algorithm types
Lecture 28 • Supervised
• Artificial Neural Networks
• Perceptrons
Lecture 29
• Single Layer Perceptron
• Multi-Layer Networks
Concluding the classes …
Lecture 30
• Unsupervised learning
• Self Organizing Map (SOM)
Lecture 32
• Fuzzy Logic
Material used from the following sources
• CLIPS Userʼs Guide • Artificial Intelligence: A Modern Approach,
• Intelligent Systems by Tai-Wen Yue
Stuart Russell and Peter Norvig, Prentice Hall.
• Artificial Intelligence by Reema Tariq • Artificial Intelligence by Hassan Najadat Jordan
UST
• Ihttp://en.wikipedia.org/
• ntelligent Agents by Oliver Schulte • Artificial Intelligence CptS440/540 EECS by Yau
Fenghui
• Artificial Neural Networks Dr. Duong Tuan Anh
• Informed search algorithms by Min-Yen Kan
• faculty.tnstate.edu/fyao/COMP4400/AI-
Chap1and2-4web.ppt
• Heuristic Search by Lise Getoor
• Solving Problems By Searching by Dr Muhamad
• Robotics, Artificial Intelligence by Nick Vallidis
Tounsi PSU
• MLP by Andy Philippides
• Introduction to Artificial Intelligence by Eyal
• http://www.cs.columbia.edu/~kathy/cs4701
Amir
• genome.tugraz.at/MedicalInformatics2/SOM.pdf
• www.authorstream.com/.../techi.vaby-
• Knowledge-Based Agents by Marie des , Andreas
1537745-unit-ii-solving-problems.ppt
Schulz and Chuck Dyer
• Logical Agents and First Order Logic CSC 8520 • Expert Systems by Sepandar Sepehr McMaster
Spring 2013. Paula Matuszek University
• Knowledge Representation Techniques by Saroj • web2.aabu.edu.jo/tool/course_file/lec_notes/9
Kausik 01470_exp_system1.ppt
• Rule-based expert systems by negnevitsky pearson • Informed Search and Exploration by Michael
education 2005 Scherger
• http://staff.unak.is/not/tony/teaching/ai/lectures/ • Artificial neural networks by HCMC University of
05aBreadthDepth/breadthDepth.ppt Technology
• http://www.seattlerobotics.org/encoder/mar98/fu • What is an Intelligent Agent ? By Based on
z/flindex.html Tutorials Monique Calisti ..