SlideShare a Scribd company logo
3
Most read
9
Most read
18
Most read
June 24, 2024 Artificial Intelligence, Lecturer #3 1
Artificial Intelligence
Lecture #3
June 24, 2024 Artificial Intelligence, Lecturer #3 2
Contents
 Expert System: Introduction
 Expert System:Basic Characteristics
 Expert System:Basic Architecture
 Structure of Rule-Based Expert System
 Advantages & Disadvantages of Rule-based Expert
System
 Recommended Text books
June 24, 2024 Artificial Intelligence, Lecturer #3 3
Expert System: Introduction
 A set of programs that manipulate encoded knowledge to solve
problems in a specialized manner.
 Knowledge is a theoretical or practical understanding of a subjects or
domain.
 Those who posses knowledge are called experts
 Knowledge is obtained from expert source
 Knowledge is Coded in a form that is suitable to use
 Anyone can be considered a domain expert if he or she has deep knowle
dge and strong practical experience in a particular domain
 An expert is a skilful person who can do things other people cannot.
June 24, 2024 Artificial Intelligence, Lecturer #3 4
Expert System: Introduction (Cont.)
 A computer Program Capable of performing at a
human-expert level in a narrow problem domain
area is called an expert system.
 The most popular expert systems are rule-based
expert systems
June 24, 2024 Artificial Intelligence, Lecturer #3 5
Expert System
Basic Characteristics
 Use knowledge rather than data
 Knowledge is encoded and maintained as an entity
separate from the control program
 Capable of explaining how a particular conclusion
is reached and why requested information is needed
 Use symbolic representation and perform inference
through symbolic computation
 Often reason with knowledge about themselves
June 24, 2024 Artificial Intelligence, Lecturer #3 6
Expert System:Basic Architecture
Explanation
module
I/O Interface
Editor
Inference
Engine
Knowledge
Base
Learning
module
Case history
Working
Memory
June 24, 2024 Artificial Intelligence, Lecturer #3 7
The knowledge Base
 Contains the domain knowledge useful for problem
solving. In a rule-based expert system, the knowledge is repres
ented as a set of rules.
 Any rule consists of two parts: IF (Antecedent/Condition)--------
-------THEN (Consequent/Action).
 IF –the ‘traffic light’ is green------THEN the action is ‘Go’
 IF –the ‘traffic light’ is red------THEN the action is ‘Stop’
 The Database includes a set of Facts used to match against
IF (condition) parts of rules stored in the knowledge base
June 24, 2024 Artificial Intelligence, Lecturer #3 8
Inference Engine
 The inference engine carries out the reasoning
whereby the expert system reaches a solution.
It links the rules given in the knowledge-base with the facts
provided in the database
Accepts user input query
Responses to questions through the I/O
June 24, 2024 Artificial Intelligence, Lecturer #3 9
Inference Process
Done in three stages:
 match  select  execute
 Match : contents of the working memory are compared to
the facts and rules contained in the knowledge base
 Select: When consistent match found the corresponding
rules are placed in the conflict set.
 Execute: When all matched rules are placed in the conflict
set one of the rules is selected for execution
June 24, 2024 Artificial Intelligence, Lecturer #3 10
 The Explanation facilities enable the user to ask the expert
system how particular conclusion is reached and why a
specific fact is needed.
 Explanation module trace the chain of rules fired during a
consultation with the user (the sequence of rules that led to
the conclusion).
 Explanation module must be able to explain why certain
information is needed by the inference engine to complete
a step in the reasoning process
Explanation
June 24, 2024 Artificial Intelligence, Lecturer #3 11
Editor: Building knowledge base
 Special editor used by the developers:
 to create new rules for addition to the knowledge base,
 to delete outmoded rules, or
 to modify existing rules in some way.
 Editor of this type is designed to provide consistency test
for the newly created rules, to add missing condition to a
rule to reformat a newly created rule.
June 24, 2024 Artificial Intelligence, Lecturer #3 12
The I/O interface
 The external interface allows an expert system to
work with external data files and programs written
in conventional programming language.
 User communicate with the system in a more natural
way.
 The system must have special prompt and special
vocabulary which encompasses the terminology of
the given domain of expertise.
June 24, 2024 Artificial Intelligence, Lecturer #3 13
Structure: Rule-Based Expert System
Knowledge base
Rule: IF…THEN
Database
Fact
Inference engine
Explanation facilities
User interface
User
June 24, 2024 Artificial Intelligence, Lecturer #3 14
Thermostat:
A rule-based Expert System (1 of 3)
 The system provides advices on how to select the thermost
at setting based on the season of the year, the day of the we
ek and time of the day.
 It uses seven linguistic objects: month, day, time, today, o
peration, season and thermostat_setting.
 Example values : month- January….; day- Monday…; time-a
fter 5 pm, before 9 am, between 9 am to 5 pm; today-workda
y, weekend; season-summer, autumn, winter, spring; Op
eration-during business hours, not during business hours;
Thermostat_setting- “14 degrees”, “18 degrees”, etc.
June 24, 2024 Artificial Intelligence, Lecturer #3 15
Thermostat:
A rule-based Expert System (2 of 3)
 Options: the final goal of a rule-based system is to
produce a solution to the problem based on input data
 In THERMOSTAT, the solution is a temperature selected from
the list of 8 options: 20, 15, 24, 27, 20, 16, 18, 14
 Dialogue: interaction with user
 What month is it? August
Rule 9:
 If month is ‘June’ or ‘July’ or ‘August’
Then the season is ‘winter’ (Australia)
June 24, 2024 Artificial Intelligence, Lecturer #3 16
Thermostat:
A rule-based Expert System (3 of 3)
 What day is it? Friday
Rule 1:
 If the day is ‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday,
Then ‘Today’ is “Workday”
 What time is it? Between 9 am and 5 pm
Rule 3:
 If today is ‘Workday’, and time is ‘between 9 am and 5 pm’,
Then ‘operation’ is “During business hours”
Rule 17:
 If season is ‘Winter’, and ‘operation’ is “During business hours”,
Then ‘thermostat_setting’ is “18 degrees”
June 24, 2024 Artificial Intelligence, Lecturer #3 17
Rule-Based Expert Systems
Advantages & Disadvantages
Advantages:
 natural knowledge representation,
 uniform structure,
 separation of knowledge from its processing
Disadvantages:
 especially opaque relations between rules,
 ineffective search strategy and
 inability to learn.
June 24, 2024 Artificial Intelligence, Lecturer #3 18
Recommended Textbooks
 [Negnevitsky, 2001] M. Negnevitsky “ Artificial Intelligence: A guide to
Intelligent Systems”, Pearson Education Limited, England, 2002.
 [Russel, 2003] S. Russell and P. Norvig Artificial Intelligence: A Modern
Approach Prentice Hall, 2003, Second Edition
 [Patterson, 1990] D. W. Patterson, “Introduction to Artificial Intelligence
and Expert Systems”, Prentice-Hall Inc., Englewood Cliffs, N.J, USA, 19
90.
 [Minsky, 1974] M. Minsky “A Framework for Representing Knowledge”,
MIT-AI Laboratory Memo 306, 1974.
 [Hubel, 1995] David H. Hubel, “Eye, Brain, and Vision”
 [Horn, 1986] B. K. P. Horn, Robot Vision, MIT Press, 1986.
 [Ballard, 1982] D. H. Ballard and C. M. Brown, “Computer Vision”,
Prentice Hall, 1982.
June 24, 2024 Artificial Intelligence, Lecturer #3 19
End of Presentation
Questions/Suggestions
Thanks to all !!!

More Related Content

PPT
Expert systems from rk
PPTX
ASSIGNMENT-2_mallaiah_phd_rule-based1.pptx
PPT
Neural network Artificial intelligence ppt
PPT
Neural network Artificial intelligence ppt
PPTX
expert systems dudychr go ovefivff[1].pptx
PPTX
Expert Systems
PDF
Expert systems from rk
ASSIGNMENT-2_mallaiah_phd_rule-based1.pptx
Neural network Artificial intelligence ppt
Neural network Artificial intelligence ppt
expert systems dudychr go ovefivff[1].pptx
Expert Systems

Similar to Artificial Intelligence Lecture Slide-03 (20)

PDF
The International Journal of Engineering and Science (The IJES)
PPTX
AI system mimicking human expert decision-making..pptx
PPTX
expert systems
PPTX
Finalpresentation 120711124135-phpapp02
PPTX
AI Expert Systems.pptx
PPTX
Expert system
PPT
LearningAG.ppt
PPTX
5.11 expert system
PPTX
Expert system
PDF
Ai lecture 02(unit-02)
PPTX
4. components architecture of expert systems
PPTX
Lecture 1. Introduction to Expert System.pptx
PPTX
L-16.pptx
PPTX
Artificial Intelligence for Automated Decision Support Project
PPTX
Introduction to Information System
PDF
Topic8expertsystem 120503030324-phpapp02
PDF
A Review on Reasoning System, Types, and Tools and Need for Hybrid Reasoning
PPT
Expert System Full Details
PPTX
Applied Artificial Intelligence NOTES (1).pptx
PPTX
Expert system prepared by fikirte and hayat im assignment
The International Journal of Engineering and Science (The IJES)
AI system mimicking human expert decision-making..pptx
expert systems
Finalpresentation 120711124135-phpapp02
AI Expert Systems.pptx
Expert system
LearningAG.ppt
5.11 expert system
Expert system
Ai lecture 02(unit-02)
4. components architecture of expert systems
Lecture 1. Introduction to Expert System.pptx
L-16.pptx
Artificial Intelligence for Automated Decision Support Project
Introduction to Information System
Topic8expertsystem 120503030324-phpapp02
A Review on Reasoning System, Types, and Tools and Need for Hybrid Reasoning
Expert System Full Details
Applied Artificial Intelligence NOTES (1).pptx
Expert system prepared by fikirte and hayat im assignment
Ad

More from asmshafi1 (11)

PPTX
Deep Learning - Based Bangladeshi Flower Identification System.pptx
PPTX
Quantum Computing in Computer Science.pptx
PPT
Artificial Intelligence Lecture Slide-09
PPT
Artificial Intelligence Lecture Slide-08
PPT
Artificial Intelligence Lecture Slide-07
PPT
Artificial Intelligence Lecture Slide-06
PPT
Artificial Intelligence Lecture Slide-05
PPT
Artificial Intelligence Lecture Slide-04
PPT
Artificial Intelligence Lecture Slide 02
PPT
Artificial Intelligence Lecture Slide 01
PPTX
Classification of Diabetic Retinopathy.pptx
Deep Learning - Based Bangladeshi Flower Identification System.pptx
Quantum Computing in Computer Science.pptx
Artificial Intelligence Lecture Slide-09
Artificial Intelligence Lecture Slide-08
Artificial Intelligence Lecture Slide-07
Artificial Intelligence Lecture Slide-06
Artificial Intelligence Lecture Slide-05
Artificial Intelligence Lecture Slide-04
Artificial Intelligence Lecture Slide 02
Artificial Intelligence Lecture Slide 01
Classification of Diabetic Retinopathy.pptx
Ad

Recently uploaded (20)

PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
Weekly quiz Compilation Jan -July 25.pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
RMMM.pdf make it easy to upload and study
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
Complications of Minimal Access Surgery at WLH
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
Cell Structure & Organelles in detailed.
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Trump Administration's workforce development strategy
PPTX
Final Presentation General Medicine 03-08-2024.pptx
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
Computing-Curriculum for Schools in Ghana
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Weekly quiz Compilation Jan -July 25.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Chinmaya Tiranga quiz Grand Finale.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
RMMM.pdf make it easy to upload and study
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
Complications of Minimal Access Surgery at WLH
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Final Presentation General Medicine 03-08-2024.pptx
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Cell Structure & Organelles in detailed.
Module 4: Burden of Disease Tutorial Slides S2 2025
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Trump Administration's workforce development strategy
Final Presentation General Medicine 03-08-2024.pptx

Artificial Intelligence Lecture Slide-03

  • 1. June 24, 2024 Artificial Intelligence, Lecturer #3 1 Artificial Intelligence Lecture #3
  • 2. June 24, 2024 Artificial Intelligence, Lecturer #3 2 Contents  Expert System: Introduction  Expert System:Basic Characteristics  Expert System:Basic Architecture  Structure of Rule-Based Expert System  Advantages & Disadvantages of Rule-based Expert System  Recommended Text books
  • 3. June 24, 2024 Artificial Intelligence, Lecturer #3 3 Expert System: Introduction  A set of programs that manipulate encoded knowledge to solve problems in a specialized manner.  Knowledge is a theoretical or practical understanding of a subjects or domain.  Those who posses knowledge are called experts  Knowledge is obtained from expert source  Knowledge is Coded in a form that is suitable to use  Anyone can be considered a domain expert if he or she has deep knowle dge and strong practical experience in a particular domain  An expert is a skilful person who can do things other people cannot.
  • 4. June 24, 2024 Artificial Intelligence, Lecturer #3 4 Expert System: Introduction (Cont.)  A computer Program Capable of performing at a human-expert level in a narrow problem domain area is called an expert system.  The most popular expert systems are rule-based expert systems
  • 5. June 24, 2024 Artificial Intelligence, Lecturer #3 5 Expert System Basic Characteristics  Use knowledge rather than data  Knowledge is encoded and maintained as an entity separate from the control program  Capable of explaining how a particular conclusion is reached and why requested information is needed  Use symbolic representation and perform inference through symbolic computation  Often reason with knowledge about themselves
  • 6. June 24, 2024 Artificial Intelligence, Lecturer #3 6 Expert System:Basic Architecture Explanation module I/O Interface Editor Inference Engine Knowledge Base Learning module Case history Working Memory
  • 7. June 24, 2024 Artificial Intelligence, Lecturer #3 7 The knowledge Base  Contains the domain knowledge useful for problem solving. In a rule-based expert system, the knowledge is repres ented as a set of rules.  Any rule consists of two parts: IF (Antecedent/Condition)-------- -------THEN (Consequent/Action).  IF –the ‘traffic light’ is green------THEN the action is ‘Go’  IF –the ‘traffic light’ is red------THEN the action is ‘Stop’  The Database includes a set of Facts used to match against IF (condition) parts of rules stored in the knowledge base
  • 8. June 24, 2024 Artificial Intelligence, Lecturer #3 8 Inference Engine  The inference engine carries out the reasoning whereby the expert system reaches a solution. It links the rules given in the knowledge-base with the facts provided in the database Accepts user input query Responses to questions through the I/O
  • 9. June 24, 2024 Artificial Intelligence, Lecturer #3 9 Inference Process Done in three stages:  match  select  execute  Match : contents of the working memory are compared to the facts and rules contained in the knowledge base  Select: When consistent match found the corresponding rules are placed in the conflict set.  Execute: When all matched rules are placed in the conflict set one of the rules is selected for execution
  • 10. June 24, 2024 Artificial Intelligence, Lecturer #3 10  The Explanation facilities enable the user to ask the expert system how particular conclusion is reached and why a specific fact is needed.  Explanation module trace the chain of rules fired during a consultation with the user (the sequence of rules that led to the conclusion).  Explanation module must be able to explain why certain information is needed by the inference engine to complete a step in the reasoning process Explanation
  • 11. June 24, 2024 Artificial Intelligence, Lecturer #3 11 Editor: Building knowledge base  Special editor used by the developers:  to create new rules for addition to the knowledge base,  to delete outmoded rules, or  to modify existing rules in some way.  Editor of this type is designed to provide consistency test for the newly created rules, to add missing condition to a rule to reformat a newly created rule.
  • 12. June 24, 2024 Artificial Intelligence, Lecturer #3 12 The I/O interface  The external interface allows an expert system to work with external data files and programs written in conventional programming language.  User communicate with the system in a more natural way.  The system must have special prompt and special vocabulary which encompasses the terminology of the given domain of expertise.
  • 13. June 24, 2024 Artificial Intelligence, Lecturer #3 13 Structure: Rule-Based Expert System Knowledge base Rule: IF…THEN Database Fact Inference engine Explanation facilities User interface User
  • 14. June 24, 2024 Artificial Intelligence, Lecturer #3 14 Thermostat: A rule-based Expert System (1 of 3)  The system provides advices on how to select the thermost at setting based on the season of the year, the day of the we ek and time of the day.  It uses seven linguistic objects: month, day, time, today, o peration, season and thermostat_setting.  Example values : month- January….; day- Monday…; time-a fter 5 pm, before 9 am, between 9 am to 5 pm; today-workda y, weekend; season-summer, autumn, winter, spring; Op eration-during business hours, not during business hours; Thermostat_setting- “14 degrees”, “18 degrees”, etc.
  • 15. June 24, 2024 Artificial Intelligence, Lecturer #3 15 Thermostat: A rule-based Expert System (2 of 3)  Options: the final goal of a rule-based system is to produce a solution to the problem based on input data  In THERMOSTAT, the solution is a temperature selected from the list of 8 options: 20, 15, 24, 27, 20, 16, 18, 14  Dialogue: interaction with user  What month is it? August Rule 9:  If month is ‘June’ or ‘July’ or ‘August’ Then the season is ‘winter’ (Australia)
  • 16. June 24, 2024 Artificial Intelligence, Lecturer #3 16 Thermostat: A rule-based Expert System (3 of 3)  What day is it? Friday Rule 1:  If the day is ‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday, Then ‘Today’ is “Workday”  What time is it? Between 9 am and 5 pm Rule 3:  If today is ‘Workday’, and time is ‘between 9 am and 5 pm’, Then ‘operation’ is “During business hours” Rule 17:  If season is ‘Winter’, and ‘operation’ is “During business hours”, Then ‘thermostat_setting’ is “18 degrees”
  • 17. June 24, 2024 Artificial Intelligence, Lecturer #3 17 Rule-Based Expert Systems Advantages & Disadvantages Advantages:  natural knowledge representation,  uniform structure,  separation of knowledge from its processing Disadvantages:  especially opaque relations between rules,  ineffective search strategy and  inability to learn.
  • 18. June 24, 2024 Artificial Intelligence, Lecturer #3 18 Recommended Textbooks  [Negnevitsky, 2001] M. Negnevitsky “ Artificial Intelligence: A guide to Intelligent Systems”, Pearson Education Limited, England, 2002.  [Russel, 2003] S. Russell and P. Norvig Artificial Intelligence: A Modern Approach Prentice Hall, 2003, Second Edition  [Patterson, 1990] D. W. Patterson, “Introduction to Artificial Intelligence and Expert Systems”, Prentice-Hall Inc., Englewood Cliffs, N.J, USA, 19 90.  [Minsky, 1974] M. Minsky “A Framework for Representing Knowledge”, MIT-AI Laboratory Memo 306, 1974.  [Hubel, 1995] David H. Hubel, “Eye, Brain, and Vision”  [Horn, 1986] B. K. P. Horn, Robot Vision, MIT Press, 1986.  [Ballard, 1982] D. H. Ballard and C. M. Brown, “Computer Vision”, Prentice Hall, 1982.
  • 19. June 24, 2024 Artificial Intelligence, Lecturer #3 19 End of Presentation Questions/Suggestions Thanks to all !!!