Certainty and Evidence

Slides:



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

FT228/4 Knowledge Based Decision Support Systems
Making Simple Decisions Chapter 16 Some material borrowed from Jean-Claude Latombe and Daphne Koller by way of Marie desJadines,
Making Simple Decisions
Lahore University of Management Sciences, Lahore, Pakistan Dr. M.M. Awais- Computer Science Department 1 Lecture 12 Dealing With Uncertainty Probabilistic.
Bayesian Network and Influence Diagram A Guide to Construction And Analysis.
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.
Uncertainty in Expert Systems (Certainty Factors).
Rulebase Expert System and Uncertainty. Rule-based ES Rules as a knowledge representation technique Type of rules :- relation, recommendation, directive,
Building a Knowledge Base with VPExpert (VPX. exe) see also: vpxguide
Uncertainty Everyday reasoning and decision making is based on uncertain evidence and inferences. Classical logic only allows conclusions to be strictly.
FT228/4 Knowledge Based Decision Support Systems
Chapter 4: Reasoning Under 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.
Rule Based Systems Michael J. Watts
AI – CS364 Uncertainty Management Introduction to Uncertainty Management 21 st September 2006 Dr Bogdan L. Vrusias
KETIDAKPASTIAN (UNCERTAINTY) Yeni Herdiyeni – “Uncertainty is defined as the lack of the exact knowledge that would enable.
AI – CS364 Uncertainty Management 26 th September 2006 Dr Bogdan L. Vrusias
CSNB234 ARTIFICIAL INTELLIGENCE
Rule Based Systems Alford Academy Business Education and Computing
Slides are based on Negnevitsky, Pearson Education, Lecture 3 Uncertainty management in rule- based expert systems n Introduction, or what is uncertainty?
EPIDEMIOLOGY AND BIOSTATISTICS DEPT Esimating Population Value with Hypothesis Testing.
Lecture 04 Rule Representation
ICT619 Intelligent Systems Topic 2: Expert Systems.
To refer to the expectation/hypothesis/assumption It was expected that…. It was anticipated that … In line with our hypothesis, … The results seem inconsistent.
EXPERT SYSTEMS Part I.
Lecture 05 Rule-based Uncertain Reasoning
Fuzzy Logic Jan Jantzen Logic is based on set theory, and when we switch to fuzzy sets it will have an effect on.
Copyright © Cengage Learning. All rights reserved. 8 Tests of Hypotheses Based on a Single Sample.
Chapter 2 Data Handling.
Artificial Intelligence (AI) Can Machines Think?.
Rule-based Knowledge (Expert) Systems
1 CHAPTER 13 Decision Support Systems and Intelligent Systems, Efraim Turban and Jay E. Aronson 6th ed, Copyright 2001, Prentice Hall, Upper Saddle River,
1 Reasoning Under Uncertainty Artificial Intelligence Chapter 9.
Appraisal and Its Application to Counseling COUN 550 Saint Joseph College For Class # 3 Copyright © 2005 by R. Halstead. All rights reserved.
Soft Computing Lecture 19 Part 2 Hybrid Intelligent Systems.
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
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.
Introduction to Science.  Science: a system of knowledge based on facts or principles  Science is observing, studying, and experimenting to find the.
“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.
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.
Reasoning with Uncertainty دكترمحسن كاهاني
International Conference on Fuzzy Systems and Knowledge Discovery, p.p ,July 2011.
Do I need statistical methods? Samu Mäntyniemi. Learning from experience Which way a bottle cap is going to land? Think, and then write down your opinion.
Textbook Basics of an Expert System: – “Expert systems: Design and Development,” by: John Durkin, 1994, Chapters 1-4. Uncertainty (Probability, Certainty.
Logic Terminology Statement- declarative sentence that is either true or false Opinion- a belief about matters commonly considered to be subjective,
 Negnevitsky, Pearson Education, Introduction, or what is knowledge? Knowledge is a theoretical or practical understanding of a subject or a domain.
UNIVERSITI TENAGA NASIONAL 1 CCSB354 ARTIFICIAL INTELLIGENCE Chapter 8.2 Certainty Factors Chapter 8.2 Certainty Factors Instructor: Alicia Tang Y. C.
Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. THE HUMAN SIDE OF PLANNING: DECISION MAKING AND CRITICAL THINKING Chapter 6 6–1.
Survey on Expert System Seung Jun Lee Dept. of Nuclear and Quantum Engineering KAIST Mar 3, 2003.
Chapter 12 Certainty Theory (Evidential Reasoning) 1.
REASONING UNDER UNCERTAINTY: CERTAINTY THEORY
Inexact Reasoning 2 Session 10
CHAPTER 5 Handling Uncertainty BIC 3337 EXPERT SYSTEM.
Chapter 9. Rules and Expert Systems
Inexact Reasoning 2 Session 10
Fuzzy logic Introduction 3 Fuzzy Inference Aleksandar Rakić
Dr. Unnikrishnan P.C. Professor, EEE
Dr. Unnikrishnan P.C. Professor, EEE
Chapter 9. Rules and Expert Systems
28th September 2005 Dr Bogdan L. Vrusias
Certainty Factor Model
Presentation transcript:

Certainty and Evidence Uncertain knowledge Certainty and Evidence

Structure of a rule-based expert system

Example Rule Legal knowledge if the plaintiff did receive an eye injury and there was just one eye that was injured and the treatment for the eye did require surgery and the recovery from the injury was almost complete and the visual acuity was slightly decreased by the injury and the condition is fixed then increase the injury trauma factor by $10000 if the plaintiff did not wear glasses before the injury and the plaintiff's injury does require the plaintiff to wear glasses then increase the inconvemience factor by $1500 Rule

Problems with Knowledge Knowledge is usually incomplete, inconsistent, uncertain, or all three.

Uncertainty Uncertainty is defined as the lack of the exact knowledge that would enable us to reach a perfectly reliable conclusion. Classical logic permits only exact reasoning. It assumes that perfect knowledge always exists and the law of the excluded middle can always be applied. ~T = F

Sources of uncertain knowledge Weak implications. Domain experts and knowledge engineers have the painful task of establishing concrete correlations between IF (condition) and THEN (action) parts of the rules. Therefore, expert systems need to have the ability to handle vague associations, for example by accepting the degree of correlations as numerical certainty factors.

Uncertainty in Terminology Terminology: Medical (and other life and human sciences) terminology allows considerable scope for vagueness, ambiguity, inexactness,imprecision and/or uncertainty:             • "adequate" dosage of a drug             • "stable" condition of patient             • 'the patient is "feverish"'             • 'this is a "possible" case of meningitis

Exercise Due to linguistic imprecision it can be difficult to express knowledge in the precise IF-THEN form of production rules. Sortthe following terms in a column in order of certainty from most certain to least certain. usually, seldom, hardly ever, rarely, often, always, may be, generally, normally, usually not, certainly, not often, now and then, rather often, generally, never, frequently, very often, not always, about as often as not, sometimes, infrequently, once in a while, almost never, commonly, by-and-large, hardly ever Next to each write a number between 0 and 100 representing the certainty that you associate with terms such as usually, often, sometimes, generally . . .

Unknown data When the data is incomplete or missing, the only solution is to accept the value “unknown” and proceed to an approximate reasoning with this value.

Views of different experts. Large expert systems usually combine the knowledge and expertise of a number of experts. Unfortunately, experts often have contradictory opinions and produce conflicting rules. To resolve the conflict, the knowledge engineer has to attach a weight to each expert and then calculate the composite conclusion. But no systematic method exists to obtain these weights.

Certainty Factors Consider a simple rule: IF A is X THEN B is Y An expert may not be absolutely certain that this rule holds. THEN B is Y {cf 0.7};

Class Exercise - Construct a rule base representing this knowledge A doctor explains the following to a knowledge engineer: “Nasal congestion together with a sore throat generally indicates a strep throat. A strep throat and chest congestion together usually indicate allergic rhinitis. Chest congestion, nasal congestion and a sore throat together are often an indication of pneumonia. Chest congestion and nasal congestion without the sore throat can also indicate pneumonia.”

Certainty Factors Calculations The certainty factor assigned by a rule is propagated through the reasoning chain. This involves establishing the net certainty of the rule consequent when the evidence in the rule antecedent is uncertain: cf (H,E) = cf (E)  cf

Example, IF sky is clear THEN the forecast is sunny {cf 0.8} and the current certainty factor of sky is clear is 0.5, then cf (H,E) = 0.5  0.8 = 0.4 This result can be interpreted as “It may be sunny”.

Certainty of Conjunction the certainty of hypothesis H, is established as follows: cf (H,E1E2...En) = min [cf (E1), cf (E2),..., cf (En)]  cf

Certainty of Conjunction For example, IF sky is clear AND the forecast is sunny THEN the action is ‘wear sunglasses’ {cf 0.8} and the certainty of sky is clear is 0.9 and the certainty of the forecast of sunny is 0.7, then cf (H,E1E2) = min [0.9, 0.7]  0.8 = 0.7  0.8 = 0.56

Certainty of Disjunction the certainty of hypothesis H, is established as follows: cf (H,E1E2...En) = max [cf (E1), cf (E2),..., cf (En)]  cf

Example IF sky is overcast OR the forecast is rain THEN the action is ‘take an umbrella’ {cf 0.9} and the certainty of sky is overcast is 0.6 and the certainty of the forecast of rain is 0.8, then cf (H,E1E2) = max [0.6, 0.8]  0.9 = 0.8  0.9 = 0.72

Alternately - Two pieces of evidence Suppose the knowledge base consists of the following 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} What certainty should be assigned to object C having value Z if both Rule 1 and Rule 2 are used?

Accumulation of Evidence Common sense suggests that, if we have two pieces of evidence (A is X and B is Y) from different sources (Rule 1 and Rule 2) supporting the same hypothesis (C is Z), then the confidence in this hypothesis should increase and become stronger than if only one piece of evidence had been obtained.

Accumulation of Evidence Calculation cf1 + cf2 -(cf1 * cf2) where cf1 is the confidence in hypothesis H established by Rule 1; cf2 is the confidence in hypothesis H established by Rule 2;  1 > cf1 + cf2 -(cf1 * cf2) > max(cf1,cf2)

Exercise - Calculation of Certainty in a derivation tree Draw the derivation tree and calculate the certainty of G A & B -> G (90) C | D -> A (80) E -> B (90) F -> B (80) C (70) D (90) E (80) F (80)

Thresholds As the line of reasoning proceeds the accumulated confidence may decrease At a certain point we may lose confidence in the line of reasoning Thresholds are used cause the inference engine to abandon a portion of a search tree and search for a better alternative

The certainty factors theory provides a practical alternative to Bayesian reasoning. The heuristic manner of combining certainty factors is different from the manner in which they would be combined if they were probabilities. The certainty theory is not “mathematically pure” but does mimic the thinking process of a human expert.