Uncertainty in Expert Systems (Certainty Factors).

Slides:



Advertisements
Similar presentations
© Negnevitsky, Pearson Education, Introduction, or what is uncertainty? Introduction, or what is uncertainty? Basic probability theory Basic probability.
Advertisements

Geometry Chapter 2 Terms.
Representing uncertain knowledge
Modelling uncertainty in 3APL Johan Kwisthout Master Thesis
FT228/4 Knowledge Based Decision Support Systems
ICS-171:Notes 8: 1 Notes 8: Uncertainty, Probability and Optimal Decision-Making ICS 171, Winter 2001.
Lahore University of Management Sciences, Lahore, Pakistan Dr. M.M. Awais- Computer Science Department 1 Lecture 12 Dealing With Uncertainty Probabilistic.
Representations for KBS: Uncertainty & Decision Support
CHAPTER 13 Inference Techniques. Reasoning in Artificial Intelligence n Knowledge must be processed (reasoned with) n Computer program accesses knowledge.
1 Inferences with Uncertainty Decision Support Systems and Intelligent Systems, Efraim Turban and Jay E. Aronson Copyright 1998, Prentice Hall, Upper Saddle.
 Negnevitsky, Pearson Education, Lecture 3 Uncertainty management in rule- based expert systems n Introduction, or what is uncertainty? n Basic.
Resolving Rule Conflicts Assign explicit priorities to rules Specificity of a rule’s antecedents R1: IF car will not start THEN battery is dead R2: IF.
Artificial Intelligence Universitatea Politehnica Bucuresti Adina Magda Florea
Rulebase Expert System and Uncertainty. Rule-based ES Rules as a knowledge representation technique Type of rules :- relation, recommendation, directive,
Probability: Review The state of the world is described using random variables Probabilities are defined over events –Sets of world states characterized.
PROBABILITY. Uncertainty  Let action A t = leave for airport t minutes before flight from Logan Airport  Will A t get me there on time ? Problems :
Psychology 290 Special Topics Study Course: Advanced Meta-analysis April 7, 2014.
Dealing with Uncertainty
B. Ross Cosc 4f79 1 Uncertainty Knowledge can have uncertainty associated with it - Knowledge base: rule premises, rule conclusions - User input: uncertain,
Final Exam: May 10 Thursday. If event E occurs, then the probability that event H will occur is p ( H | E ) IF E ( evidence ) is true THEN H ( hypothesis.
Certainty and Evidence
AI – CS364 Uncertainty Management Introduction to Uncertainty Management 21 st September 2006 Dr Bogdan L. Vrusias
Uncertain Reasoning CPSC 315 – Programming Studio Spring 2009 Project 2, Lecture 6.
AI – CS364 Uncertainty Management 26 th September 2006 Dr Bogdan L. Vrusias
Chapter 12: Expert Systems Design Examples
CSNB234 ARTIFICIAL INTELLIGENCE
Slides are based on Negnevitsky, Pearson Education, Lecture 3 Uncertainty management in rule- based expert systems n Introduction, or what is uncertainty?
Statistical Learning: Bayesian and ML COMP155 Sections May 2, 2007.
A/Prof Geraint Lewis A/Prof Peter Tuthill
AI - Week 24 Uncertain Reasoning (quick mention) then REVISION Lee McCluskey, room 2/07
Representing Uncertainty CSE 473. © Daniel S. Weld 2 Many Techniques Developed Fuzzy Logic Certainty Factors Non-monotonic logic Probability Only one.
Inductive Reasoning Bayes Rule. Urn problem (1) A B A die throw determines from which urn to select balls. For outcomes 1,2, and 3, balls are picked from.
Lecture 05 Rule-based Uncertain Reasoning
Uncertainty Logical approach problem: we do not always know complete truth about the environment Example: Leave(t) = leave for airport t minutes before.
Uncertainty Chapter 13.
Uncertainty and Its Propagation Through Calculations
Treatment of Uncertainties
1 Reasoning Under Uncertainty Artificial Intelligence Chapter 9.
CSE PR 1 Reasoning - Rule-based and Probabilistic Representing relations with predicate logic Limitations of predicate logic Representing relations.
Lógica difusa  Bayesian updating and certainty theory are techniques for handling the uncertainty that arises, or is assumed to arise, from statistical.
Uncertainty Management in Rule-based Expert Systems
Uncertainty. Assumptions Inherent in Deductive Logic-based Systems All the assertions we wish to make and use are universally true. Observations of the.
Uncertainty in Expert Systems
Reasoning Under Uncertainty. 2 Objectives Learn the meaning of uncertainty and explore some theories designed to deal with it Find out what types of errors.
Artificial Intelligence CIS 342 The College of Saint Rose David Goldschmidt, Ph.D.
Thinking Mathematically
Artificial Intelligence CIS 342 The College of Saint Rose David Goldschmidt, Ph.D.
Reasoning with Uncertainty دكترمحسن كاهاني
International Conference on Fuzzy Systems and Knowledge Discovery, p.p ,July 2011.
Textbook Basics of an Expert System: – “Expert systems: Design and Development,” by: John Durkin, 1994, Chapters 1-4. Uncertainty (Probability, Certainty.
UNIVERSITI TENAGA NASIONAL 1 CCSB354 ARTIFICIAL INTELLIGENCE Chapter 8.2 Certainty Factors Chapter 8.2 Certainty Factors Instructor: Alicia Tang Y. C.
1 CMSC 341 Math Review. 2 Exponents Identities (X A ) B = X AB X A * X B = X A+B X A / X B = X A-B X A + X B  X A+B.
CSE 473 Uncertainty. © UW CSE AI Faculty 2 Many Techniques Developed Fuzzy Logic Certainty Factors Non-monotonic logic Probability Only one has stood.
The Practice of Statistics Third Edition Chapter 11: Testing a Claim Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
Scientific Inquiry. The Scientific Process Scientific Process = Scientific Inquiry.
Planning Chapter 7 article 7.4 Production Systems Chapter 5 article 5.3 RBSChapter 7 article 7.2.
Reasoning with Uncertainty Dr Nicholas Gibbins 32/3019.
Matching ® ® ® Global Map Local Map … … … obstacle Where am I on the global map?                                   
Chapter 12 Certainty Theory (Evidential Reasoning) 1.
REASONING UNDER UNCERTAINTY: CERTAINTY THEORY
CHAPTER 5 Handling Uncertainty BIC 3337 EXPERT SYSTEM.
Thinking Mathematically
Inexact Reasoning 1 Session 9
Reasoning Under Uncertainty in Expert System
Dealing with Uncertainty
Uncertainty in AI.
Representing Uncertainty
Chapter 9: Hypothesis Tests Based on a Single Sample
28th September 2005 Dr Bogdan L. Vrusias
Certainty Factor Model
Presentation transcript:

Uncertainty in Expert Systems (Certainty Factors)

Certainty factor (cf) First introduced by MYCIN A measure of an expert’s belief in a fact or rule. Ranges from 1.0(definitely true) to -1.0 (definitely false).

Certainty factor (cf) “Fuzzy” reasoning about probability.

Use of CFs CFs capture the certainty that a given rule holds. For example: o IF animal lays eggs THEN animal is bird {cf 0.3} o IF animal lays eggs THEN animal is reptile {cf 0.2}

Use of CFs IF animal lays eggs THEN animal is bird {cf 0.3} animal is reptile {cf 0.2} Note that CFs don’t need to add up to 1: leftover is “other”.

Use of CFs CFs are also applied to evidence o animal lays eggs {cf 0.6} o temperature is high {cf 0.9} o user likes red wine {cf 0} (i.e. user has never tried red wine) Represents reliability or availability of evidence. Typically given by the user at run time.

Propagation of CFs For a single antecedent rule: o cf(E) is the certainty factor of the evidence. o cf(R) is the certainty factor of the rule.

Single antecedent rule example IF patient has toothache THEN problem is cavity {cf 0.3} Patient has toothache {cf 0.9} What is the cf(cavity, toothache)?

Propagation of CFs (multiple antecedents) For conjunctive rules: o IF AND... AND THEN {cf} For two evidences E1 and E2: o cf(E1 AND E2) = min(cf(E1), cf(E2))

Conjunctive example IF patient has toothache AND patient has prior cavities THEN problem is cavity {cf 0.3} Patient has toothache {cf -0.5} Patient has prior cavities {cf 0.9} What is the cf for “problem is cavity”?

Propagation of CFs (multiple antecedents) For disjunctive rules: o IF OR... OR THEN {cf} For two evidences E1 and E2: o cf(E1 OR E2) = max(cf(E1), cf(E2))

Disjunctive example IF patient has toothache OR patient has prior cavities THEN problem is cavity {cf 0.3} Patient has toothache {cf -0.5} Patient has prior cavities {cf 0.9} What is the cf for “problem is cavity”?

Exercise IF (P1 AND P2) OR P3 THEN C1 (0.7) AND C2 (0.3) Assume cf(P1) = 0.6, cf(P2) = 0.4, cf(P3) = 0.2 What is cf(C1), cf(C2)?

Multiple rules affecting H If the hypothesis is affected by several rules: Rule 1 : IF A is X THEN C is Z {cf 0.8} Rule 2 : IF B is Y THEN C is Z {cf 0.6}

Multiple rules example: IF patient has toothache THEN problem is cavity {cf 0.3} IF patient has prior cavities THEN problem is cavity {cf 0.7} Patient has toothache (cf –0.5) Patient has prior cavities (0.9) Calculate cf for “problem is cavity”.

Bayesian vs. certainty factors Probability theory is ‘good math’, and works well if statistical data is available and accurate probability statements can be made. CF theory lacks formal mathematical foundation, but better able the kind of estimates an expert is likely to make of probability.