SlideShare a Scribd company logo
1 of 21
Expert Systems
Reasonable Reasoning
An Ad Hoc approach
Problems with Logical Reasoning
• Brittleness: one axiom/fact wrong, system
can prove anything (Correctness)
• Large proof spaces (Efficiency)
• “Probably” not representable
(Representation)
• No notion of combining evidence
• Doesn’t provide confidence in conclusion.
Lecture Goals
• What is an expert system?
• How can they be built?
• When are they useful?
• General Architecture
• Validation:
– How to know if they are right
Class News
• Quiz dates and homework dates updated:
• Extra day for probability hwk/quiz
• All homeworks must be typed
Expert System
• Attempt to model expert decision making
in a limited domain
• Examples: medical diagnosis, computer
configuration, machine fault diagnosis
• Requires a willing Expert
• Requires knowledge representable as rules
– Doesn’t work for chess
• Preponderance of evidence for decision, not
proof. (Civil law suits)
Why Bother?
• Reproduce Expertise: make available
• Record Expertise: experts die
• Combine expertise of many
– Didn’t work
• Teach expertise
– Didn’t work
• Expand application area of computers
– What tasks can computers do?
Architecture
• Domain Knowledge as “if-then” rules
• Inference Engine
– Backward chaining
– Forward chaining
• Calculus for combining evidence
– Construct all proofs, not just one
• Explanation Facility: can answer “why?”
MYCIN: 1972-1980
• 50-500 rules, acquired from expert by
interviewing. Blood disease diagnosis.
• Example rule:
if stain of organism is gramneg and morphology is
rod and aerobicity is aerobic then strongly
suggestive (.8) that organism is
enterocabateriacease.
• Rules matched well knowledge in domain:
medical papers often present a few rules
• Rule = nugget of independent knowledge
Facts are not facts
• Morphology is rod requires microscopic
evaluation.
– Is a bean shape a rod?
– Is an “S” shape a rod?
• Morphology is rod is assigned a confidence.
• All “facts” assigned confidences, from 0 to
1.
MYCIN: Shortliffe
• Begins with a few facts about patient
– Required by physicians but irrelevant
• Backward chains from each possible goal
(disease).
• Preconditions either match facts or set up new
subgoals. Subgoals may involve tests.
• Finds all “proofs” and weighs them.
• Explains decisions and combines evidence
• Worked better than average physician.
• Never used in practice.
• Methodology used.
Examples and non-examples
• Soybean diagnosis
– Expert codified knowledge in form of rules
– System almost as good
– When hundreds of rules, system seems
reasonable.
• Autoclade placement
– Expert but no codification
• Chess
– Experts but no codification in terms of rules
Forward Chaining Interpreter
• Repeat
– Apply all the rules to the current facts.
– Each rule firing may add new facts
• Until no new facts are added.
• Comprehensible
• Trace of rule applications that lead to
conclusion is explanation. Answers why.
Forward Chaining Example
• Facts:
– F1: Ungee gives milk
– F2: Ungee eats meat
– F3: Ungee has hoofs
• Rules:
– R1: If X gives milk, then it is a mammal
– R2: If X is a mammal and eats meat, then carnivore.
– R3: If X is a carnivore and has hoofs, then ungulate
• Easy to see: Ungee is ungulate.
Backward Chaining
• Start with Goal G1: is Ungee an ungulate?
• G1 matches conclusion of R3
• Sets up premises as subgoals
– G2: Ungee is carnivore
– G3: Ungee has hoofs
• G3 matches fact F3 so true.
• G2 matches conclusion of R2. etc.
The good and the bad
• Forward chaining allows you to conclude
anything
• Forward chaining is expensive
• Backward chaining requires known goals.
• Premises of backward chaining directs
which facts (tests) are needed.
• Rule trace provides explanation.
Simple Confidence Calculus
• This will yield an intuitive degree of belief
in system conclusion.
• To each fact, assign a confidence or degree
of belief. A number between 0 and 1.
• To each rule, assign a rule confidence: also
a number between 0 and 1.
• Confidence of premise of a rule =
– Minimum confidence of each condition
– Intuition: strength of argument is weakest link
• Confidence in conclusion of a rule =
– (confidence in rule premise)*(confidence in rule)
• Confidence in conclusion from several rules:
r1,r2,..rm with confidences c1,c2,..cm =
– c1 @ c2 @... cm
– Where x @ y is 1- (1-x)*(1-y).
And now with confidences
• Facts:
– F1: Ungee gives milk: .9
– F2: Ungee eats meat: .8
– F3: Ungee has hoofs: .7
• Rules:
– R1: If X gives milk, then it is a mammal: .6
– R2: If X is a mammal and eats meat, then
carnivore: .5
– R3: If X has hoofs, then X is carnivore: .4
• R1 with F1: Ungee is mammal. (F4)
• Confidence F4: C(F4) = .9*.6 = .54
• R2 using F2 and F4 yields: Ungee is
carnivore (F5).
• C(F5) from R2 = min(.54, .8)*.5 = .27
• R3 using F3 conclude F5 from R3
• C(F5) from R3 = .7*.4 = .28
• C(F5) from R3 and R2 = .27 @ .28 =
1 –(1-.28)*(1-.27) = .48
Problems and Counters-Arguments
• People forget to say the obvious
• Rules difficult to acquire (years)
• People don’t have stable or correct
estimates of “confidence”
• Data insufficient to yield good estimate of
true probabilities.
• But Feigenbaum: In the knowledge lies the
power.
• Calculus/confidences not that important
AI Winter
• Expert Systems found useful
– hundreds of successful systems
• Consultants and hype ->
– Hundreds of unsucessful systems
• Remember:
– needs an expert
– Knowledge needs to be representable as rules
• Now on to Probability based approach

More Related Content

Similar to Lec11- ExpertSystems.ppt

Science Inquiry: Experiment Design
Science Inquiry: Experiment DesignScience Inquiry: Experiment Design
Science Inquiry: Experiment DesignI Wonder Why Science
 
Artificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian ReasoningArtificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian Reasoninghotman30312
 
Earthquake dhnjggbnkkkknvcxsefghjk gyjhvcdyj
Earthquake dhnjggbnkkkknvcxsefghjk gyjhvcdyjEarthquake dhnjggbnkkkknvcxsefghjk gyjhvcdyj
Earthquake dhnjggbnkkkknvcxsefghjk gyjhvcdyjjansisce
 
Scientific Research Steps Part 2
Scientific Research Steps Part 2Scientific Research Steps Part 2
Scientific Research Steps Part 2Ainul Yaqin
 
sience 2.0 : an illustration of good research practices in a real study
sience 2.0 : an illustration of good research practices in a real studysience 2.0 : an illustration of good research practices in a real study
sience 2.0 : an illustration of good research practices in a real studywolf vanpaemel
 
Data quality assurance
Data quality assuranceData quality assurance
Data quality assuranceRichard Baker
 
Science Inquiry: Conclusion and Presentation
Science Inquiry: Conclusion and PresentationScience Inquiry: Conclusion and Presentation
Science Inquiry: Conclusion and PresentationI Wonder Why Science
 
RPD2.ppt
RPD2.pptRPD2.ppt
RPD2.pptcrj010
 
Scientific method
Scientific methodScientific method
Scientific methodewaszolek
 
Scientific method ppt
Scientific method pptScientific method ppt
Scientific method pptladynoid
 
Lab 1 – the scientific method and termite trails fall 2014
Lab 1 – the scientific method and termite trails fall 2014Lab 1 – the scientific method and termite trails fall 2014
Lab 1 – the scientific method and termite trails fall 2014Amy Hollingsworth
 

Similar to Lec11- ExpertSystems.ppt (20)

Science Inquiry: Experiment Design
Science Inquiry: Experiment DesignScience Inquiry: Experiment Design
Science Inquiry: Experiment Design
 
chapter 1.pptx
chapter 1.pptxchapter 1.pptx
chapter 1.pptx
 
Artificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian ReasoningArtificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian Reasoning
 
Earthquake dhnjggbnkkkknvcxsefghjk gyjhvcdyj
Earthquake dhnjggbnkkkknvcxsefghjk gyjhvcdyjEarthquake dhnjggbnkkkknvcxsefghjk gyjhvcdyj
Earthquake dhnjggbnkkkknvcxsefghjk gyjhvcdyj
 
Artificial Intelligence - Reasoning in Uncertain Situations
Artificial Intelligence - Reasoning in Uncertain SituationsArtificial Intelligence - Reasoning in Uncertain Situations
Artificial Intelligence - Reasoning in Uncertain Situations
 
Scientific Research Steps Part 2
Scientific Research Steps Part 2Scientific Research Steps Part 2
Scientific Research Steps Part 2
 
AI IMPORTANT QUESTION
AI IMPORTANT QUESTIONAI IMPORTANT QUESTION
AI IMPORTANT QUESTION
 
sience 2.0 : an illustration of good research practices in a real study
sience 2.0 : an illustration of good research practices in a real studysience 2.0 : an illustration of good research practices in a real study
sience 2.0 : an illustration of good research practices in a real study
 
Data quality assurance
Data quality assuranceData quality assurance
Data quality assurance
 
Science Inquiry: Conclusion and Presentation
Science Inquiry: Conclusion and PresentationScience Inquiry: Conclusion and Presentation
Science Inquiry: Conclusion and Presentation
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Rpdyi
RpdyiRpdyi
Rpdyi
 
Rpd2
Rpd2Rpd2
Rpd2
 
RPD2.ppt
RPD2.pptRPD2.ppt
RPD2.ppt
 
Research
ResearchResearch
Research
 
research imp.ppt
research imp.pptresearch imp.ppt
research imp.ppt
 
Scientific method
Scientific methodScientific method
Scientific method
 
Scientific method ppt
Scientific method pptScientific method ppt
Scientific method ppt
 
Lab 1 – the scientific method and termite trails fall 2014
Lab 1 – the scientific method and termite trails fall 2014Lab 1 – the scientific method and termite trails fall 2014
Lab 1 – the scientific method and termite trails fall 2014
 
Welcome to Earth Science
Welcome to Earth ScienceWelcome to Earth Science
Welcome to Earth Science
 

Recently uploaded

Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdfFrisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdfAnubhavMangla3
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityVictorSzoltysek
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctBrainSell Technologies
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentationyogeshlabana357357
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe中 央社
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingScyllaDB
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard37
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024Lorenzo Miniero
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch TuesdayIvanti
 
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)Paige Cruz
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptxFIDO Alliance
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...ScyllaDB
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!Memoori
 
CORS (Kitworks Team Study 양다윗 발표자료 240510)
CORS (Kitworks Team Study 양다윗 발표자료 240510)CORS (Kitworks Team Study 양다윗 발표자료 240510)
CORS (Kitworks Team Study 양다윗 발표자료 240510)Wonjun Hwang
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc
 
Cyber Insurance - RalphGilot - Embry-Riddle Aeronautical University.pptx
Cyber Insurance - RalphGilot - Embry-Riddle Aeronautical University.pptxCyber Insurance - RalphGilot - Embry-Riddle Aeronautical University.pptx
Cyber Insurance - RalphGilot - Embry-Riddle Aeronautical University.pptxMasterG
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMKumar Satyam
 
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties ReimaginedEasier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimaginedpanagenda
 
الأمن السيبراني - ما لا يسع للمستخدم جهله
الأمن السيبراني - ما لا يسع للمستخدم جهلهالأمن السيبراني - ما لا يسع للمستخدم جهله
الأمن السيبراني - ما لا يسع للمستخدم جهلهMohamed Sweelam
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireExakis Nelite
 

Recently uploaded (20)

Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdfFrisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps Productivity
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
 
CORS (Kitworks Team Study 양다윗 발표자료 240510)
CORS (Kitworks Team Study 양다윗 발표자료 240510)CORS (Kitworks Team Study 양다윗 발표자료 240510)
CORS (Kitworks Team Study 양다윗 발표자료 240510)
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
 
Cyber Insurance - RalphGilot - Embry-Riddle Aeronautical University.pptx
Cyber Insurance - RalphGilot - Embry-Riddle Aeronautical University.pptxCyber Insurance - RalphGilot - Embry-Riddle Aeronautical University.pptx
Cyber Insurance - RalphGilot - Embry-Riddle Aeronautical University.pptx
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties ReimaginedEasier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
 
الأمن السيبراني - ما لا يسع للمستخدم جهله
الأمن السيبراني - ما لا يسع للمستخدم جهلهالأمن السيبراني - ما لا يسع للمستخدم جهله
الأمن السيبراني - ما لا يسع للمستخدم جهله
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - Questionnaire
 

Lec11- ExpertSystems.ppt

  • 2. Problems with Logical Reasoning • Brittleness: one axiom/fact wrong, system can prove anything (Correctness) • Large proof spaces (Efficiency) • “Probably” not representable (Representation) • No notion of combining evidence • Doesn’t provide confidence in conclusion.
  • 3. Lecture Goals • What is an expert system? • How can they be built? • When are they useful? • General Architecture • Validation: – How to know if they are right
  • 4. Class News • Quiz dates and homework dates updated: • Extra day for probability hwk/quiz • All homeworks must be typed
  • 5. Expert System • Attempt to model expert decision making in a limited domain • Examples: medical diagnosis, computer configuration, machine fault diagnosis • Requires a willing Expert • Requires knowledge representable as rules – Doesn’t work for chess • Preponderance of evidence for decision, not proof. (Civil law suits)
  • 6. Why Bother? • Reproduce Expertise: make available • Record Expertise: experts die • Combine expertise of many – Didn’t work • Teach expertise – Didn’t work • Expand application area of computers – What tasks can computers do?
  • 7. Architecture • Domain Knowledge as “if-then” rules • Inference Engine – Backward chaining – Forward chaining • Calculus for combining evidence – Construct all proofs, not just one • Explanation Facility: can answer “why?”
  • 8. MYCIN: 1972-1980 • 50-500 rules, acquired from expert by interviewing. Blood disease diagnosis. • Example rule: if stain of organism is gramneg and morphology is rod and aerobicity is aerobic then strongly suggestive (.8) that organism is enterocabateriacease. • Rules matched well knowledge in domain: medical papers often present a few rules • Rule = nugget of independent knowledge
  • 9. Facts are not facts • Morphology is rod requires microscopic evaluation. – Is a bean shape a rod? – Is an “S” shape a rod? • Morphology is rod is assigned a confidence. • All “facts” assigned confidences, from 0 to 1.
  • 10. MYCIN: Shortliffe • Begins with a few facts about patient – Required by physicians but irrelevant • Backward chains from each possible goal (disease). • Preconditions either match facts or set up new subgoals. Subgoals may involve tests. • Finds all “proofs” and weighs them. • Explains decisions and combines evidence • Worked better than average physician. • Never used in practice. • Methodology used.
  • 11. Examples and non-examples • Soybean diagnosis – Expert codified knowledge in form of rules – System almost as good – When hundreds of rules, system seems reasonable. • Autoclade placement – Expert but no codification • Chess – Experts but no codification in terms of rules
  • 12. Forward Chaining Interpreter • Repeat – Apply all the rules to the current facts. – Each rule firing may add new facts • Until no new facts are added. • Comprehensible • Trace of rule applications that lead to conclusion is explanation. Answers why.
  • 13. Forward Chaining Example • Facts: – F1: Ungee gives milk – F2: Ungee eats meat – F3: Ungee has hoofs • Rules: – R1: If X gives milk, then it is a mammal – R2: If X is a mammal and eats meat, then carnivore. – R3: If X is a carnivore and has hoofs, then ungulate • Easy to see: Ungee is ungulate.
  • 14. Backward Chaining • Start with Goal G1: is Ungee an ungulate? • G1 matches conclusion of R3 • Sets up premises as subgoals – G2: Ungee is carnivore – G3: Ungee has hoofs • G3 matches fact F3 so true. • G2 matches conclusion of R2. etc.
  • 15. The good and the bad • Forward chaining allows you to conclude anything • Forward chaining is expensive • Backward chaining requires known goals. • Premises of backward chaining directs which facts (tests) are needed. • Rule trace provides explanation.
  • 16. Simple Confidence Calculus • This will yield an intuitive degree of belief in system conclusion. • To each fact, assign a confidence or degree of belief. A number between 0 and 1. • To each rule, assign a rule confidence: also a number between 0 and 1.
  • 17. • Confidence of premise of a rule = – Minimum confidence of each condition – Intuition: strength of argument is weakest link • Confidence in conclusion of a rule = – (confidence in rule premise)*(confidence in rule) • Confidence in conclusion from several rules: r1,r2,..rm with confidences c1,c2,..cm = – c1 @ c2 @... cm – Where x @ y is 1- (1-x)*(1-y).
  • 18. And now with confidences • Facts: – F1: Ungee gives milk: .9 – F2: Ungee eats meat: .8 – F3: Ungee has hoofs: .7 • Rules: – R1: If X gives milk, then it is a mammal: .6 – R2: If X is a mammal and eats meat, then carnivore: .5 – R3: If X has hoofs, then X is carnivore: .4
  • 19. • R1 with F1: Ungee is mammal. (F4) • Confidence F4: C(F4) = .9*.6 = .54 • R2 using F2 and F4 yields: Ungee is carnivore (F5). • C(F5) from R2 = min(.54, .8)*.5 = .27 • R3 using F3 conclude F5 from R3 • C(F5) from R3 = .7*.4 = .28 • C(F5) from R3 and R2 = .27 @ .28 = 1 –(1-.28)*(1-.27) = .48
  • 20. Problems and Counters-Arguments • People forget to say the obvious • Rules difficult to acquire (years) • People don’t have stable or correct estimates of “confidence” • Data insufficient to yield good estimate of true probabilities. • But Feigenbaum: In the knowledge lies the power. • Calculus/confidences not that important
  • 21. AI Winter • Expert Systems found useful – hundreds of successful systems • Consultants and hype -> – Hundreds of unsucessful systems • Remember: – needs an expert – Knowledge needs to be representable as rules • Now on to Probability based approach