SlideShare a Scribd company logo
1 of 4
Download to read offline
Questions 7
Dr. Roman Belavkin
BIS4435
Question 1
Consider the following production rule:
IF green THEN walk
a) What is the antecedent of this rule?
Answer: Antecedent is the left–hand–side of the rule: IF green.
b) What is the consequent of this rule?
Answer: Consequent is the right–hand–side of the rule: THEN walk.
c) Which part of the rule will be matched against the working memory
in case of forward chaining?
Answer: Left–hand–side
d) And in case of backward chaining?
Answer: Right–hand–side
Question 2
The following is the rule set of a simple weather forecast expert system:
1 IF cyclone THEN clouds
2 IF anticyclone THEN clear sky
3 IF pressure is low THEN cyclone
4 IF pressure is high THEN anticyclone
5 IF arrow is down THEN pressure is low
6 IF arrow is up THEN pressure is high
1
BIS4435 2
a) Use forward chaining to reason about the weather if the working mem-
ory contains the fact: arrow is down. Show your answer in a table
naming the rules matching the current working memory (conflict set),
which rule you apply, and how the working memory contents changes
on the next cycle after a rule has fired:
Cycle Working Memory Conflict set Rule fired
...
...
...
...
Answer:
Cycle Working Memory Conflict set Rule fired
0 arrow is down 5 5
1 arrow is down, pressure is low 5, 3 3
2 arrow is down, pressure is low,
cyclone
5, 3, 1 1
3 arrow is down, pressure is low,
cyclone, clouds
5, 3, 1 Halt
b) Use backward chaining to reason about the weather if the working
memory contains the fact: clouds. Show your answer in a similar
table.
Answer:
Cycle Working Memory Conflict set Rule fired
0 clouds 1 1
1 clouds, cyclone 1, 3 3
2 clouds, cyclone, pressure is low 1, 3, 5 5
3 clouds, cyclone, pressure is low,
arrow is down
1, 3, 5 Halt
c) Suppose that the user interface of our ES allows the system to ask a
user about the facts whether they are true or false. What question (or
questions) the system should ask the user in order to conclude that
the sky is clear? What will the user answer? Which rule will require
the clarification from the user?
Answer: The system should ask something like:
Is the arrow up? (Yes/No)
BIS4435 3
And the user will answer ‘Yes’. The system will start from the goal
clear sky, and then, in order to prove it, the system will reason back-
wards using rules 2, 4 and 6 until it will need to clarify the condition
of rule 6. That is whether the fact arrow is up is true or false. Thus,
rule 6 will cause the clarification from a user.
Question 3
Consider the following familiar set of rules:
1 IF green THEN walk
2 IF red THEN wait
3 IF green AND blinking THEN hurry
4 IF red OR green THEN traffic light works
a) Which of the above rules will be put into a conflict set by the system
if the working memory contains two facts: green, blinking ? Explain
why each rule is selected or not.
Answer: The conflict set will contain three rules: 1, 3 and 4. Rule 1
matches the fact green in the working memory (WM). Rule 2 does
not match because there is no fact red in WM. Rule 3 uses AND
(conjunctive), so both facts should be in WM, which is exactly the
case. So, rule 3 is selected. Finally, rule 4 uses OR (disjunctive),
which means that it is sufficient for only one of the facts to be in WM.
In this case fact green is in WM, so rule 4 is selected.
b) Which of the rules would fire if we used the specificity conflict resolu-
tion strategy? Explain why.
Answer: Specificity strategy states that a rule with a greater num-
ber of conditions (more specific) should be given the priority. Rules 1
and 4 satisfy only one fact in WM, while rule 3 uses two facts. Thus,
it is more specific for the situation, and rule 3 will be selected by the
conflict resolution.
Question 4
Describe characteristics of problems in which it is better to use rule–based
expert systems or problems where the case–based systems are more appro-
priate.
BIS4435 4
Answer: Rule–based systems are better for problems
• With well–defined domain which can be easily represented.
• That do not change with time.
• Where explanation of the reasoning process is very important.
Case–based systems are better for problems
• Which are less understood.
• Which are dynamic (may change with time).
Question 5
Briefly describe the cyclic process of CBR.
Answer: The process can be summarised by four REs:
a) REtrieve the most similar case or cases.
b) REuse the case(s) to attempt to solve the problem.
c) REvise the proposed solution if necessary
d) REtain the new solution as a part of a new case
A new problem is matched against cases in the case-base, and one or more
similar cases are retrieved. A solution suggested by the matching cases is
then reused and tested for success. The solution will normally be revised,
producing a new case that can be retained. This cycle rarely occurs without
human intervention. For example, many CBR tools act primarily as case
retrieval and reuse systems, case revision often being undertaken by users
of the case-base.
Question 6
Briefly describe the nearest neighbour retrieval method used in CBR systems
for case retrieval.
Answer: Each case in a case base is represented by a number of features,
some of which are used as indexes. A target case will be compare with all
the source cases according to some similarity function shown below, such as
Euclidean or a taxi-cab distance. Sometimes, weights can be used to make
some features more important. The most similar case(s) is retrieved, and
the solution for the retrieved case is adapted as the solution for the target
case.

More Related Content

What's hot

Altera Cyclone IV FPGA Customer Presentation
Altera Cyclone IV FPGA Customer PresentationAltera Cyclone IV FPGA Customer Presentation
Altera Cyclone IV FPGA Customer PresentationAltera Corporation
 
Is Your Index Reader Really Atomic or Maybe Slow?
Is Your Index Reader Really Atomic or Maybe Slow?Is Your Index Reader Really Atomic or Maybe Slow?
Is Your Index Reader Really Atomic or Maybe Slow?lucenerevolution
 
Sga internals
Sga internalsSga internals
Sga internalssergkosko
 
Oracle Database 19c (19.3) Installation on Windows (Step-by-Step)
Oracle Database 19c (19.3) Installation on Windows (Step-by-Step)Oracle Database 19c (19.3) Installation on Windows (Step-by-Step)
Oracle Database 19c (19.3) Installation on Windows (Step-by-Step)Feras Ahmad
 
Implementation Issue with ORDBMS
Implementation Issue with ORDBMSImplementation Issue with ORDBMS
Implementation Issue with ORDBMSSandeep Poudel
 
Logarithms and Young's Modulus Revision
Logarithms and Young's Modulus RevisionLogarithms and Young's Modulus Revision
Logarithms and Young's Modulus RevisionHorsforthPhysics
 
Event Sourcing - Greg Young
Event Sourcing - Greg YoungEvent Sourcing - Greg Young
Event Sourcing - Greg YoungJAXLondon2014
 
Gallery vault password Hack
Gallery vault password HackGallery vault password Hack
Gallery vault password HackBipin Jitiya
 
Direct SGA access without SQL
Direct SGA access without SQLDirect SGA access without SQL
Direct SGA access without SQLKyle Hailey
 
Data Warehousing with Amazon Redshift
Data Warehousing with Amazon RedshiftData Warehousing with Amazon Redshift
Data Warehousing with Amazon RedshiftAmazon Web Services
 

What's hot (11)

Altera Cyclone IV FPGA Customer Presentation
Altera Cyclone IV FPGA Customer PresentationAltera Cyclone IV FPGA Customer Presentation
Altera Cyclone IV FPGA Customer Presentation
 
Is Your Index Reader Really Atomic or Maybe Slow?
Is Your Index Reader Really Atomic or Maybe Slow?Is Your Index Reader Really Atomic or Maybe Slow?
Is Your Index Reader Really Atomic or Maybe Slow?
 
Sga internals
Sga internalsSga internals
Sga internals
 
PASS Summit 2020
PASS Summit 2020PASS Summit 2020
PASS Summit 2020
 
Oracle Database 19c (19.3) Installation on Windows (Step-by-Step)
Oracle Database 19c (19.3) Installation on Windows (Step-by-Step)Oracle Database 19c (19.3) Installation on Windows (Step-by-Step)
Oracle Database 19c (19.3) Installation on Windows (Step-by-Step)
 
Implementation Issue with ORDBMS
Implementation Issue with ORDBMSImplementation Issue with ORDBMS
Implementation Issue with ORDBMS
 
Logarithms and Young's Modulus Revision
Logarithms and Young's Modulus RevisionLogarithms and Young's Modulus Revision
Logarithms and Young's Modulus Revision
 
Event Sourcing - Greg Young
Event Sourcing - Greg YoungEvent Sourcing - Greg Young
Event Sourcing - Greg Young
 
Gallery vault password Hack
Gallery vault password HackGallery vault password Hack
Gallery vault password Hack
 
Direct SGA access without SQL
Direct SGA access without SQLDirect SGA access without SQL
Direct SGA access without SQL
 
Data Warehousing with Amazon Redshift
Data Warehousing with Amazon RedshiftData Warehousing with Amazon Redshift
Data Warehousing with Amazon Redshift
 

Similar to Lab 07-sol

Similar to Lab 07-sol (20)

Forward Backward Chaining
Forward Backward ChainingForward Backward Chaining
Forward Backward Chaining
 
2.Problems Problem Spaces and Search.ppt
2.Problems Problem Spaces and Search.ppt2.Problems Problem Spaces and Search.ppt
2.Problems Problem Spaces and Search.ppt
 
Problems Spaces and Search
Problems Spaces and SearchProblems Spaces and Search
Problems Spaces and Search
 
Capitulo1
Capitulo1Capitulo1
Capitulo1
 
17 1 knowledge-based system
17 1 knowledge-based system17 1 knowledge-based system
17 1 knowledge-based system
 
A-Hybrid-Approach-Using-Particle-Swarm-Optimization-and-Simulated-Annealing-f...
A-Hybrid-Approach-Using-Particle-Swarm-Optimization-and-Simulated-Annealing-f...A-Hybrid-Approach-Using-Particle-Swarm-Optimization-and-Simulated-Annealing-f...
A-Hybrid-Approach-Using-Particle-Swarm-Optimization-and-Simulated-Annealing-f...
 
Analyzing Performance Test Data
Analyzing Performance Test DataAnalyzing Performance Test Data
Analyzing Performance Test Data
 
Chapter 2 (final)
Chapter 2 (final)Chapter 2 (final)
Chapter 2 (final)
 
The physics of computational drug discovery
The physics of computational drug discoveryThe physics of computational drug discovery
The physics of computational drug discovery
 
ebl machine learning.pdf
ebl machine learning.pdfebl machine learning.pdf
ebl machine learning.pdf
 
201977 1-1-3-pb
201977 1-1-3-pb201977 1-1-3-pb
201977 1-1-3-pb
 
Om0010 operations management docx
Om0010 operations management docxOm0010 operations management docx
Om0010 operations management docx
 
Simulation
SimulationSimulation
Simulation
 
Biomolecular Assignment Help
Biomolecular Assignment HelpBiomolecular Assignment Help
Biomolecular Assignment Help
 
07 rules-and-cases
07 rules-and-cases07 rules-and-cases
07 rules-and-cases
 
.doc
.doc.doc
.doc
 
.doc
.doc.doc
.doc
 
Machine learning important questions
Machine learning  important questionsMachine learning  important questions
Machine learning important questions
 
Algorithms
AlgorithmsAlgorithms
Algorithms
 
MyStataLab Assignment Help
MyStataLab Assignment HelpMyStataLab Assignment Help
MyStataLab Assignment Help
 

More from Ahmad sohail Kakar (20)

Lec 1 network types
Lec 1 network typesLec 1 network types
Lec 1 network types
 
Lec 1 introduction
Lec 1 introductionLec 1 introduction
Lec 1 introduction
 
Active directory restoration
Active directory restorationActive directory restoration
Active directory restoration
 
Active directory backup
Active directory backupActive directory backup
Active directory backup
 
Seii unit7 component-level-design
Seii unit7 component-level-designSeii unit7 component-level-design
Seii unit7 component-level-design
 
Seii unit6 software-testing-techniques
Seii unit6 software-testing-techniquesSeii unit6 software-testing-techniques
Seii unit6 software-testing-techniques
 
Seii unit5 ui_design
Seii unit5 ui_designSeii unit5 ui_design
Seii unit5 ui_design
 
Seii unit4 software_process
Seii unit4 software_processSeii unit4 software_process
Seii unit4 software_process
 
Se ii unit3-architectural-design
Se ii unit3-architectural-designSe ii unit3-architectural-design
Se ii unit3-architectural-design
 
Se ii unit2-software_design_principles
Se ii unit2-software_design_principlesSe ii unit2-software_design_principles
Se ii unit2-software_design_principles
 
Se ii unit1-se_ii_intorduction
Se ii unit1-se_ii_intorductionSe ii unit1-se_ii_intorduction
Se ii unit1-se_ii_intorduction
 
Second chapter-java
Second chapter-javaSecond chapter-java
Second chapter-java
 
Second chapter-java
Second chapter-javaSecond chapter-java
Second chapter-java
 
Chapter 9 java
Chapter 9 javaChapter 9 java
Chapter 9 java
 
Chapter 8 java
Chapter 8 javaChapter 8 java
Chapter 8 java
 
Chapter 7 java
Chapter 7 javaChapter 7 java
Chapter 7 java
 
Chapter 6 java
Chapter 6 javaChapter 6 java
Chapter 6 java
 
Chapter 5 java
Chapter 5 javaChapter 5 java
Chapter 5 java
 
Chapter 4 java
Chapter 4 javaChapter 4 java
Chapter 4 java
 
Chapter 3 java
Chapter 3 javaChapter 3 java
Chapter 3 java
 

Recently uploaded

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 

Recently uploaded (20)

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 

Lab 07-sol

  • 1. Questions 7 Dr. Roman Belavkin BIS4435 Question 1 Consider the following production rule: IF green THEN walk a) What is the antecedent of this rule? Answer: Antecedent is the left–hand–side of the rule: IF green. b) What is the consequent of this rule? Answer: Consequent is the right–hand–side of the rule: THEN walk. c) Which part of the rule will be matched against the working memory in case of forward chaining? Answer: Left–hand–side d) And in case of backward chaining? Answer: Right–hand–side Question 2 The following is the rule set of a simple weather forecast expert system: 1 IF cyclone THEN clouds 2 IF anticyclone THEN clear sky 3 IF pressure is low THEN cyclone 4 IF pressure is high THEN anticyclone 5 IF arrow is down THEN pressure is low 6 IF arrow is up THEN pressure is high 1
  • 2. BIS4435 2 a) Use forward chaining to reason about the weather if the working mem- ory contains the fact: arrow is down. Show your answer in a table naming the rules matching the current working memory (conflict set), which rule you apply, and how the working memory contents changes on the next cycle after a rule has fired: Cycle Working Memory Conflict set Rule fired ... ... ... ... Answer: Cycle Working Memory Conflict set Rule fired 0 arrow is down 5 5 1 arrow is down, pressure is low 5, 3 3 2 arrow is down, pressure is low, cyclone 5, 3, 1 1 3 arrow is down, pressure is low, cyclone, clouds 5, 3, 1 Halt b) Use backward chaining to reason about the weather if the working memory contains the fact: clouds. Show your answer in a similar table. Answer: Cycle Working Memory Conflict set Rule fired 0 clouds 1 1 1 clouds, cyclone 1, 3 3 2 clouds, cyclone, pressure is low 1, 3, 5 5 3 clouds, cyclone, pressure is low, arrow is down 1, 3, 5 Halt c) Suppose that the user interface of our ES allows the system to ask a user about the facts whether they are true or false. What question (or questions) the system should ask the user in order to conclude that the sky is clear? What will the user answer? Which rule will require the clarification from the user? Answer: The system should ask something like: Is the arrow up? (Yes/No)
  • 3. BIS4435 3 And the user will answer ‘Yes’. The system will start from the goal clear sky, and then, in order to prove it, the system will reason back- wards using rules 2, 4 and 6 until it will need to clarify the condition of rule 6. That is whether the fact arrow is up is true or false. Thus, rule 6 will cause the clarification from a user. Question 3 Consider the following familiar set of rules: 1 IF green THEN walk 2 IF red THEN wait 3 IF green AND blinking THEN hurry 4 IF red OR green THEN traffic light works a) Which of the above rules will be put into a conflict set by the system if the working memory contains two facts: green, blinking ? Explain why each rule is selected or not. Answer: The conflict set will contain three rules: 1, 3 and 4. Rule 1 matches the fact green in the working memory (WM). Rule 2 does not match because there is no fact red in WM. Rule 3 uses AND (conjunctive), so both facts should be in WM, which is exactly the case. So, rule 3 is selected. Finally, rule 4 uses OR (disjunctive), which means that it is sufficient for only one of the facts to be in WM. In this case fact green is in WM, so rule 4 is selected. b) Which of the rules would fire if we used the specificity conflict resolu- tion strategy? Explain why. Answer: Specificity strategy states that a rule with a greater num- ber of conditions (more specific) should be given the priority. Rules 1 and 4 satisfy only one fact in WM, while rule 3 uses two facts. Thus, it is more specific for the situation, and rule 3 will be selected by the conflict resolution. Question 4 Describe characteristics of problems in which it is better to use rule–based expert systems or problems where the case–based systems are more appro- priate.
  • 4. BIS4435 4 Answer: Rule–based systems are better for problems • With well–defined domain which can be easily represented. • That do not change with time. • Where explanation of the reasoning process is very important. Case–based systems are better for problems • Which are less understood. • Which are dynamic (may change with time). Question 5 Briefly describe the cyclic process of CBR. Answer: The process can be summarised by four REs: a) REtrieve the most similar case or cases. b) REuse the case(s) to attempt to solve the problem. c) REvise the proposed solution if necessary d) REtain the new solution as a part of a new case A new problem is matched against cases in the case-base, and one or more similar cases are retrieved. A solution suggested by the matching cases is then reused and tested for success. The solution will normally be revised, producing a new case that can be retained. This cycle rarely occurs without human intervention. For example, many CBR tools act primarily as case retrieval and reuse systems, case revision often being undertaken by users of the case-base. Question 6 Briefly describe the nearest neighbour retrieval method used in CBR systems for case retrieval. Answer: Each case in a case base is represented by a number of features, some of which are used as indexes. A target case will be compare with all the source cases according to some similarity function shown below, such as Euclidean or a taxi-cab distance. Sometimes, weights can be used to make some features more important. The most similar case(s) is retrieved, and the solution for the retrieved case is adapted as the solution for the target case.