Programming for Geographical Information Analysis: Advanced Skills Online mini-lecture: Introduction to Fuzzy Logic Dr Andy Evans.

Slides:



Advertisements
Similar presentations
Fuzzy Expert System  An expert might say, “ Though the power transformer is slightly overloaded, I can keep this load for a while”.  Another expert.
Advertisements

AI – CS364 Fuzzy Logic Fuzzy Logic 3 03 rd October 2006 Dr Bogdan L. Vrusias
Lecture 4 Fuzzy expert systems: Fuzzy logic
Soft Computing. Per Printz Madsen Section of Automation and Control
Introduction to Fuzzy Control Lecture 10.1 Appendix E.
Fuzzy Sets and Applications Introduction Introduction Fuzzy Sets and Operations Fuzzy Sets and Operations.
Fuzzy Logic Steve Foster.
CS344 Artificial Intelligence Prof. Pushpak Bhattacharya Class on 6 Mar 2007.
AI TECHNIQUES Fuzzy Logic (Fuzzy System). Fuzzy Logic : An Idea.
Fuzzy Expert System. Basic Notions 1.Fuzzy Sets 2.Fuzzy representation in computer 3.Linguistic variables and hedges 4.Operations of fuzzy sets 5.Fuzzy.
Fuzzy Expert Systems. Lecture Outline What is fuzzy thinking? What is fuzzy thinking? Fuzzy sets Fuzzy sets Linguistic variables and hedges Linguistic.
FUZZY SYSTEMS. Fuzzy Systems Fuzzy Sets – To quantify and reason about fuzzy or vague terms of natural language – Example: hot, cold temperature small,
Fuzzy Logic E. Fuzzy Inference Engine. “antecedent” “consequent”
GATE Reactive Behavior Modeling Fuzzy Logic (GATE-561) Dr.Çağatay ÜNDEĞER Instructor Middle East Technical University, GameTechnologies Bilkent University,
Fuzzy Logic Based on a system of non-digital (continuous & fuzzy without crisp boundaries) set theory and rules. Developed by Lotfi Zadeh in 1965 Its advantage.
Fuzzy Expert System.
Fuzzy Medical Image Segmentation
Chapter 18 Fuzzy Reasoning.
1 Chapter 18 Fuzzy Reasoning. 2 Chapter 18 Contents (1) l Bivalent and Multivalent Logics l Linguistic Variables l Fuzzy Sets l Membership Functions l.
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.
Introduction What is Fuzzy Logic? HOW DOES FL WORK? Differences between Classical set (crisps) and Fuzzy set theory Example 1 Example 2 Classifying Houses.
Introduction to Fuzzy Logic Control
Fuzzy Logic BY: ASHLEY REYNOLDS. Where Fuzzy Logic Falls in the Field of Mathematics  Mathematics  Mathematical Logic and Foundations  Fuzzy Logic.
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 Babu Appat. OVERVIEW What is Fuzzy Logic? Where did it begin? Fuzzy Logic vs. Neural Networks Fuzzy Logic in Control Systems Fuzzy Logic in.
CPSC 386 Artificial Intelligence Ellen Walker Hiram College
9/3/2015Intelligent Systems and Soft Computing1 Lecture 4 Fuzzy expert systems: Fuzzy logic Introduction, or what is fuzzy thinking? Introduction, or what.
Abdul Rahim Ahmad MITM 613 Intelligent System Chapter 3b: Dealing with Uncertainty (Fuzzy Logic)
Fuzzy Sets Introduction/Overview Material for these slides obtained from: Modern Information Retrieval by Ricardo Baeza-Yates and Berthier Ribeiro-Neto.
ABM: Decision making Dr Andy Evans. Thinking in AI Agent based systems and other AI can contain standard maths etc. But their real power comes from replicating.
Fuzzy Rules 1965 paper: “Fuzzy Sets” (Lotfi Zadeh) Apply natural language terms to a formal system of mathematical logic
Fuzzy Logic. WHAT IS FUZZY LOGIC? Definition of fuzzy Fuzzy – “not clear, distinct, or precise; blurred” Definition of fuzzy logic A form of knowledge.
 Definition Definition  Bit of History Bit of History  Why Fuzzy Logic? Why Fuzzy Logic?  Applications Applications  Fuzzy Logic Operators Fuzzy.
Fuzzy Expert Systems. 2 Motivation On vagueness “Everything is vague to a degree you do not realise until you have tried to make it precise.” Bertrand.
Map of the Great Divide Basin, Wyoming, created using a neural network and used to find likely fossil beds See:
Logical Systems and Knowledge Representation Fuzzy Logical Systems 1.
Fuzzy Systems Michael J. Watts
Lógica difusa  Bayesian updating and certainty theory are techniques for handling the uncertainty that arises, or is assumed to arise, from statistical.
Fuzzy Sets and Control. Fuzzy Logic The definition of Fuzzy logic is a form of multi-valued logic derived frommulti-valued logic fuzzy setfuzzy set theory.
“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.
Artificial Intelligence CIS 342 The College of Saint Rose David Goldschmidt, Ph.D.
Fuzzy Logic Artificial Intelligence Chapter 9. Outline Crisp Logic Fuzzy Logic Fuzzy Logic Applications Conclusion “traditional logic”: {true,false}
Computational Intelligence Winter Term 2015/16 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
Aisha Iqbal (CT-084) Kanwal Hakeem (CT-098) Tehreem Mushtaq (CT-078) Talha Syed (CT-111)
Fuzzy Logic 1. Introduction Form of multivalued logic Deals reasoning that is approximate rather than precise The fuzzy logic variables may have a membership.
Dinner for Two. Fuzzify Inputs Apply Fuzzy Operator.
Business Analytics Several odds and ends Copyright © 2016 Curt Hill.
S PEED CONTROL OF DC MOTOR BY FUZZY CONTROLLER MD MUSTAFA KAMAL ROLL NO M E (CONTROL AND INSTRUMENTATION)
Chapter 13 (Continued) Fuzzy Expert Systems 1. Fuzzy Rule-based Expert System 2.
Introduction to Fuzzy Logic and Fuzzy Systems
Artificial Intelligence CIS 342
Fuzzy Systems Michael J. Watts
Expert System Structure
Computational Intelligence
Artificial Intelligence
Fuzzy Expert Systems (part 1) By: H.Nematzadeh
Fuzzy Logic and Fuzzy Sets
Introduction to Fuzzy Logic
Artificial Intelligence and Adaptive Systems
Fuzzy logic Introduction 3 Fuzzy Inference Aleksandar Rakić
Fuzzy Control Tutorial
Dr. Unnikrishnan P.C. Professor, EEE
Fuzzy System Structure
Dr. Unnikrishnan P.C. Professor, EEE
Fuzzy Logic Colter McClure.
Dr. Unnikrishnan P.C. Professor, EEE
Fuzzy Logic Bai Xiao.
Fuzzy Logic Based on a system of non-digital (continuous & fuzzy without crisp boundaries) set theory and rules. Developed by Lotfi Zadeh in 1965 Its advantage.
Fuzzy Logic KH Wong Fuzzy Logic v.9a.
Presentation transcript:

Programming for Geographical Information Analysis: Advanced Skills Online mini-lecture: Introduction to Fuzzy Logic Dr Andy Evans

How do our statements match the real world? We’re assuming we know what words like “hunger” and “high” mean in “if hunger is high go to café”. While we might be able to give a clear RDF definition of “hunger” it won’t ever match the real world. This may not matter if our rules replicate reality quantitatively. However, to do this, we need to define and use “high”. For this, we need Fuzzy Sets and Fuzzy Logic.

Fuzziness Traditional logic: true vs. false Traditional empiricism: what exists or does not, what causes something, and what doesn’t. THESE ARE THE FOUNDATIONS OF SCIENCE. However, since the early Greeks, people have found that the way we understand the world isn’t black and white. The Sorites Paradox If I remove one sand grain from a pile, it’s still a pile, but if I carry on, it’s soon not a pile (well, go figure…).

Reality is fuzzy Language isn’t usually precise… How hot is “hot”? 30 degrees? 40 degrees? Reality isn’t actually that precise… Most things, including us, are just continually renewing lumps of geology! Where do we begin? Where do we end? Atoms aren’t distinct. Shrödinger ’ s poor old cat is both alive and dead.

Fuzzy Sets and Logic. Fuzzy Sets let us say something is 90% “ one thing ” and 10% “ another ”, without being illogical. Fuzzy Logic then lets us use this in rules: E.g. it ’ s 90% “ right ” to do something, so I ’ ll do it 90% - adding warm water to a washing machine cycle, for example.

The fuzzy rebellion 1923: “Bertie” Russell releases a paper on Vagueness. How do we define objects that are partly in two normally mutually exclusive sets? 1937: Black defines Vague sets. 1965: Zadeh coins the daft name “Fuzzy” for a logic based on Vague set membership, instantly putting humourless scientist’s backs up. 1972: 1st practical demonstration Mamdani’s steam engine. 1981: 1st commercial applications using fuzzy logic to control systems. 1994: Japan exported $35 billion worth of fuzzy products.

Scientists loved it so much… “Fuzzy theory is wrong, wrong, and pernicious. What we need is more logical thinking, not less. The danger of fuzzy logic is that it will encourage the sort of imprecise thinking that has brought us so much trouble. Fuzzy logic is the cocaine of science.” Prof William Kahan

The advantages of Fuzzy Logic Lets us use terms like “hot” in computers, integrating knowledge and machine learning. A very simple approach to building computer models of geographical systems. The model uses human language, so it’s reasonably understandable.

Fuzzy Sets We give things a degree of membership between 0 and 1 in several sets (to a combined total of 1). We then label these sets using human terms. Encapsulates terms with no consensus definition, but we might use surveys to define them. Age Degree of membership YoungMiddle Aged Old Membership function 38yr old = 10% Young + 90% Middle Aged

Fuzzy Logic models We give our variables membership functions, and express the variables as nouns (“length”, “temperature”) or adjectives (“long”, “hot”). We can then build up linguistic equations (“IF length long, AND temperature hot, THEN openWindow”).

How the models work Inputs converted to degrees of membership of fuzzy sets. Fuzzy rules applied to get new sets of members. These sets are then converted back to real numbers. Crisp data Fuzzifier Member 90% hot 10% cold Fuzzy rules IF 90% hot THEN 80% open IF 10% cold THEN 20% closed Fuzzy output set 80% open, 20% closed Defuzzifier Crisp data

A model to work out time by foot itchiness Work out how bored you are (take a poll of happiness vs. foot itchiness)… Foot itchiness Degree of membership Happy Bored Membership function 0.6 bored to tears happy as Larry

Decide on rules If BORED then LECTURE LONG. If HAPPY the LECTURE SHORT. Make Fuzzy sets defining people’s notion of “Long” and “Short” ShortLong hours

Transfer the degrees to the output sets Adjust the heights of the sets to e.g. 40% for short. Hours ShortLong 0.4 Happy 0.6 Bored

Calculate the average The average is usually taken as the gravitational centre of the sets combined We’re only half way through!

Uses in geography Spatial Interaction: modelling flows between regions. Can capture the following kind of rules.. If distance is SHORT then TRIPS are LOTS. If distance is MEDIUM then TRIPS are some. If distance is LONG then TRIPS are few. GIS, remote sensing, land evaluation. Fuzzy viewsheds. Fuzzy GIS - expert system shell on an intelligent GIS. Classification of land cover (vegetation, soils) from satellite imagery.

Uses in geography Physical Geography Creation of climate classifications. Fuzzy models of infiltration. Flood forecasting. Modelling subglacial water systems. Demographics What is the typical behaviour of a group? Is everyone acting normally? Open to abuse – but think how it might catch murderous extremists, for example. We simply must have it, or society will disintegrate and we’ll all be eating babies before you can say “police state”.

Other stuff It’s often helpful to get other AI techniques to generate the membership functions – e.g. Neural Nets and Genetic Algorithms. It’s often useful to combine several AIs with Fuzzy Logic – e.g. you might have a Net for “low” river flows and another for “high” ones, and a Fuzzy Logic engine between combining the results.