SlideShare uma empresa Scribd logo
1 de 18
Baixar para ler offline
Abdisalam Issa-Salwe
Taibah University
College of Computer Science & Engineering
Information Systems Department
Abdisalam Issa-Salwe, Taibah University
1
Artificial Intelligence and
Knowledge Base Systems
(Knowledge Base Application CS372)
Lecture 3
2
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
List topics
About Expert System
The Characteristic of Expert System
The Structure of Expert System
The Characteristic of Expert System
Expert System Development Life Cycles
Participants in Expert System
Development
When to Use Expert Systems
Justifying the Problem Domain
3
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
What is an Expert System?
Expert System (ES) is a branch of Artificial Intelligence that attempt to
mimic human experts.
Expert systems can either support decision makers or completely
replace them.
Expert systems are the most widely applied & commercially successful
AI technology.
Artificial Intelligence (AI) refers to enabling computers to perform
tasks that resemble human thinking ability.
Typically computers perform repetitive, logical tasks extremely well,
such as complex arithmetic calculations and database retrieval and
storage.
" . . . An intelligent computer program that uses knowledge and
inference procedures to solve problems that are difficult enough
to require significant human expertise for their solution.“
Prof. Edward Feigenbaum of Stanford University
4
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
Conventional and Expert System
Execution is done by using
heuristics and logic
Execution is done on a step-by-
step (algorithmic) basis
The system can operate with only
a few rules (as a first prototype)
The system operates only when it
is completed
Explanation is a part of most
expert systems
Do not usually explain why input
data are needed or how
conclusions were drawn
Program may make mistakes.Programs do not make mistakes
(only programmers do)
Knowledge base is clearly
separated from the processing
(inference) mechanism (knowledge
rules are separated from the
control)
Knowledge and processing are
combined in one sequential
program
Expert SystemsConventional Systems
5
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
Conventional and Expert System
Easily deals with qualitative dataEasily deals with quantitative data
Effectiveness is a major goalEfficiency is a major goal
Representation and use of
knowledge
Representation and use of data
Effective manipulation of large
knowledge bases
Effective manipulation of large
databases
Can operate with incomplete or
uncertain information
Needs complete information to
operate
Expert SystemsConventional Systems
6
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
The Structure of Expert System
Human Expert Problem solving
Long–Term Memory
Domain Knowledge
Reasoning
Advisee
Case Facts
Conclusion
Short-Term Memory
Case/Inferred Facts
Conclusion
7
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
The Structure of Expert System (cont…)
Expert System problem solving
Knowledge Base
Domain Knowledge
Inference Engine
User
Case Facts
Conclusion
Working Memory
Case/Inferred Facts
Conclusion
8
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
The Structure of Expert System (cont…)
The Knowledge Base (Long Term Memory)
The key bottleneck in developing an expert
system.
Contain everything necessary for understanding,
formulating and solving a problem.
It contains facts and heuristics.
The most popular approach to representing
domain knowledge is using production rules.
9
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
The Structure of Expert System (cont…)
Working Memory (Short Term Memory)
Contains facts about a problem that are
discovered during consultation with the expert
system.
System matches this information with knowledge
contained in the knowledge base to infer new
facts.
The conclusion reach will enter the working
memory.
Thus, working memory contain information
either supplied by user or infer by the system.
10
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
The Structure of Expert System (cont…)
Inference Engine
Knowledge processor which is modeled after the
expert reasoning power.
Processor in an expert system that matches the
facts contained in the working memory with the
domain knowledge contained in the knowledge
base, to draw conclusion about the problems.
It taps the knowledge base and working memory
to derive new information and solve problems
11
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
The Structure of Expert System
The User Interface
The user communicates with the expert system
through the user interface.
It allows the user to query the system, supply
information and receive advice.
The aims are to provide the same form of
communication facilities provided by the expert.
But normally has less capability of
understanding natural language and general
knowledge.
12
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
Characteristics of Expert Systems
1. High-level expertise:
The most useful characteristic of an expert system.
This expertise can represent the best thinking of top experts
in the field, leading to problem solutions that are
imaginative, accurate, and efficient.
2. Adequate response time:
The system must also perform in a reasonable amount of
time, comparable to or better than the time required by an
expert to solve a problem.
3. Permits Inexact Reasoning:
These types of applications are characterized by
information that is uncertain, ambiguous, or unavailable and
by domain knowledge that is inherently inexact.
4. Good Reliability:
The system must be reliable and not prone to crashes
because it will not be used
13
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
Characteristics of Expert Systems
5. Comprehensibility:
The system should be able to explain the steps of its
reasoning while executing so that it is understandable.
The systems should have an explanation capability in
the same way that human experts are suppose to be
able to explain their reasoning.
6. Flexibility:
Because of the large amount of knowledge that an
expert system may have, it is important to have an
efficient mechanism for modifying the knowledge
base.
7. Symbolic Reasoning:
Expert systems represent knowledge symbolically as
sets of symbols that stand for problems concepts.
.
14
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
ES Development Life Cycles
Phase 1
Assessment
Phase 2
Knowledge Acquisition
Phase 3
Design
Phase 4
Test
Phase 5
Documentation
Phase 6
Maintenance
Requirements
Knowledge
Structure
Evaluation
Product
Refinements
Explorations
Reformulations
ES Development Life Cycles (ESDLC)
15
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
Expert System Development Life Cycles
1. Assessment
Determine feasibility & justification of the
problem
Define overall goal and scope of the project
Resources requirement
Sources of knowledge
2. Knowledge Acquisition
Acquire the knowledge of the problem
Involves meetings with expert
Bottleneck in ES development
16
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
Expert System Development Life Cycles
3. Design
Selecting knowledge representations approach and
problem solving strategies
Defined overall structure and organization of system
knowledge
Selection of software tools
Built initial prototype
Iterative process
4. Testing
Continual process throughout the project
Testing and modifying system knowledge
Study the acceptability of the system by end user
Work closely with domain expert that guide the growth of
the knowledge and end user that guide in user interface
design
17
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
Expert System Development Life Cycles
5. Documentation
Compile all the projects information into a document
for the user and developers of the system such as:
User manual
diagrams
Knowledge dictionary
6. Maintenance
Refined and update system knowledge to meet
current needs
18
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
Participants in Expert System Development
The main participants in the process of
building an expert system:
a. The domain expert
b. The knowledge engineer
c. The user
19
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
Participants in Expert System Development
The Domain Expert
Is a person who has the special knowledge,
judgment, experience, skills and methods, to give
advice and solve problems in a manner superior to
others.
Although an expert system usually models one or
more experts, it may also contain expertise from other
sources such as books and journal articles.
Qualifications needed by the Domain Expert:
Has expert knowledge
Has efficient problem-solving skills
Can communicate the knowledge
Can devote time
Must be cooperative
20
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
Participants in Expert System Development
The Knowledge Engineer
A person who designs, builds and tests an
expert systems.
Qualifications needed by Knowledge
Engineer:
Has knowledge engineering skills (art of building
expert system)
Has good communications skills
Can match problems to software
Has expert system programming skills
21
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
Participants in Expert System Development
The User
Is a person who uses the expert system
once it is developed.
Can aid in knowledge acquisition (giving
broad understanding of the problems)
Can aid in system development
22
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
Common Expert System Architecture
User
Knowledge
Engineer
User
Interface
Inference
Engine
Knowledge
Base
User Environment
KE
Tool Kit
KE
Interface
Development Environment
Organization
Systems
Interface
23
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
When to Use Expert Systems
Provide a high potential payoff or significantly
reduced downside risk
Capture and preserve irreplaceable human
expertise
Provide expertise needed at a number of
locations at the same time or in a hostile
environment that is dangerous to human health
24
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
Building Tools
Since mid-1970s, a wide choice of tools and
approaches from developing ES have become
available.
They range from high-level and AI
programming language to shells to ready-to-
use customized packages for industry and
government.
Which tools to adopt depend on:
The nature of the problem
The skill of the builder
The function it is expect to perform (either
diagnoses or monitoring)
25
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
Building Tools
Several levels or categories of tools are
available for building ES such as follows:
Programming languages
Support aids and tools
Specific ES packages
Shells
26
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
The Inference Control Cycle
Three steps characterize a cycle:
1. Match rules with given facts
2. Select the rule that is to be executed
3. Execute the rule by adding the deduced
fact to the working memory
27
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
The figure below illustrates the 4 levels
Includes
domain, rules,
methodology
Knowledge Base
(specific expert system application package)
Shells
Editor/debugger
Inference engine
Explanation facility
(e.g., CLIPS, EXSYS)
Support aids
And tools
Debugging
aids
Menus,
Explanation
facilities
Programs that help
in knowledge acquisition
and knowledge
representation
Programming Languages
Standard procedural
languages (e.g. Pascal, Basic)
Al symbolic languages
(e.g. LISP, PROLOG )
Domain
independent
All you do is
build kb
Preprogrammed
Less
programming
Less flexibility
Ready-to-use;
custom made
More focused
More programming
More flexibility
Build from scratch
Less focused
28
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
Support Aid and Tools
Support aids automate the time
consuming phase of acquisition, improve
effectiveness of representation, ensure
crisp human-machine interface and
debugging aids that traces the reasoning.
Explanation facilities show how the
system arrives at a particular solution
Editing facility ensures that the syntax is
correctly represented in the knowledge
base
29
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
Specific Expert System packages
The easiest product to use from user’s of view
Specific ready-to-use program that advises a
specific user in a specific industry to address a
specific problem domain
For example, a consultation system that
advises student on elective courses to take.
The system essentially plugs in the vital
variable, matches them against established
criteria and determines the courses to take.
30
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
Shells
A shell provides a basic architecture for building ES.
Functions:
1. Assists in building the knowledge base by
allowing the developer to insert knowledge
into knowledge representation structures.
2. Provides methods of inference or deduction
that reason on the basis of information in the
knowledge base and new facts input by the
user.
3. Provides an interface that allows the user to
set up reasoning task and query the system
about its reasoning strategy.
31
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
Designing and Building Expert Systems
Expert System Shells: generic systems that
contain reasoning mechanisms but not the
problem-specific knowledge
Early shells were cumbersome but still
allowed the user to avoid having to
completely program the system from scratch
Modern shells contain two primary modules:
a rule set builder and an inference engine
32
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
Shells
The main 3 components:
1. The knowledge base
2. Inference engine
3. User interface
33
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
Evaluating the Benefits of Expert Systems
Some major benefits:
1. Increased timeliness in decision making
2. Increased productivity of experts
3. Improved consistency in decisions
4. Improved understanding
5. Improved management of uncertainty
6. Formalization of knowledge
34
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
Limitations Associated with ES
One important limitation is that expertise is
difficult to extract and encode.
Another is that human experts adapt
naturally but an ES must be recoded.
Further, human experts better recognize
when a problem is outside the knowledge
domain, but an ES may just keep working
35
Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University
35
Abdisalam Issa-Salwe, Faculty of Computer Science & Engineering, Taibah University
Reference
CBA, University of Illenois, Chicago IDS,
www.uic.edu/classes/idsc/ids422/. 2001
Abdisalam Issa-Salwe, Lecture Notes, Taibah
University, 2010.
George M. Marakas, Decision Support
Systems in the 21st Century, 2nd Edition

Mais conteúdo relacionado

Mais procurados

Chapter 6 expert system
Chapter 6 expert systemChapter 6 expert system
Chapter 6 expert systemwahab khan
 
Expert systems
Expert systemsExpert systems
Expert systemsJithin Zcs
 
Expert system
Expert systemExpert system
Expert systemkhair20
 
Artificial Intelligence Notes Unit 5
Artificial Intelligence Notes Unit 5Artificial Intelligence Notes Unit 5
Artificial Intelligence Notes Unit 5DigiGurukul
 
Expert system prepared by fikirte and hayat im assignment
Expert system prepared by fikirte and hayat im assignmentExpert system prepared by fikirte and hayat im assignment
Expert system prepared by fikirte and hayat im assignmentfikir getachew
 
Expert systems in artificial intelegence
Expert systems in artificial intelegenceExpert systems in artificial intelegence
Expert systems in artificial intelegenceAnna Aquarian
 
MIS 07 Expert Systems
MIS 07  Expert SystemsMIS 07  Expert Systems
MIS 07 Expert SystemsTushar B Kute
 
what is Expert System?
what is Expert System?what is Expert System?
what is Expert System?Noman Ahmad
 
Presentation on "Knowledge acquisition & validation"
  Presentation on "Knowledge acquisition & validation"  Presentation on "Knowledge acquisition & validation"
Presentation on "Knowledge acquisition & validation"Aditya Sarkar
 
Finding new framework for resolving problems in various dimensions by the use...
Finding new framework for resolving problems in various dimensions by the use...Finding new framework for resolving problems in various dimensions by the use...
Finding new framework for resolving problems in various dimensions by the use...Alexander Decker
 
Report-An Expert System for Car Failure Diagnosis-Report
Report-An Expert System for Car Failure Diagnosis-ReportReport-An Expert System for Car Failure Diagnosis-Report
Report-An Expert System for Car Failure Diagnosis-ReportViralkumar Jayswal
 
Sep2009 Introduction to Medical Expert Decision Support Systems for Mayo Clinic
Sep2009 Introduction to Medical Expert Decision Support Systems for Mayo ClinicSep2009 Introduction to Medical Expert Decision Support Systems for Mayo Clinic
Sep2009 Introduction to Medical Expert Decision Support Systems for Mayo Clinicdoc_vogt
 
Artificial intelligence and expert system.ppt
Artificial intelligence and expert system.pptArtificial intelligence and expert system.ppt
Artificial intelligence and expert system.pptJiwaji university
 
helbredte
helbredtehelbredte
helbredtebutest
 

Mais procurados (20)

Chapter 6 expert system
Chapter 6 expert systemChapter 6 expert system
Chapter 6 expert system
 
Expert systems
Expert systemsExpert systems
Expert systems
 
Expert system
Expert systemExpert system
Expert system
 
Artificial Intelligence Notes Unit 5
Artificial Intelligence Notes Unit 5Artificial Intelligence Notes Unit 5
Artificial Intelligence Notes Unit 5
 
Expert system prepared by fikirte and hayat im assignment
Expert system prepared by fikirte and hayat im assignmentExpert system prepared by fikirte and hayat im assignment
Expert system prepared by fikirte and hayat im assignment
 
expert systems
expert systemsexpert systems
expert systems
 
Expert systems in artificial intelegence
Expert systems in artificial intelegenceExpert systems in artificial intelegence
Expert systems in artificial intelegence
 
MIS 07 Expert Systems
MIS 07  Expert SystemsMIS 07  Expert Systems
MIS 07 Expert Systems
 
Robotics and expert systems
Robotics and expert systemsRobotics and expert systems
Robotics and expert systems
 
what is Expert System?
what is Expert System?what is Expert System?
what is Expert System?
 
Presentation on "Knowledge acquisition & validation"
  Presentation on "Knowledge acquisition & validation"  Presentation on "Knowledge acquisition & validation"
Presentation on "Knowledge acquisition & validation"
 
Itm 3
Itm 3Itm 3
Itm 3
 
Finding new framework for resolving problems in various dimensions by the use...
Finding new framework for resolving problems in various dimensions by the use...Finding new framework for resolving problems in various dimensions by the use...
Finding new framework for resolving problems in various dimensions by the use...
 
Report-An Expert System for Car Failure Diagnosis-Report
Report-An Expert System for Car Failure Diagnosis-ReportReport-An Expert System for Car Failure Diagnosis-Report
Report-An Expert System for Car Failure Diagnosis-Report
 
Expert Systems - IK
Expert Systems - IKExpert Systems - IK
Expert Systems - IK
 
Sep2009 Introduction to Medical Expert Decision Support Systems for Mayo Clinic
Sep2009 Introduction to Medical Expert Decision Support Systems for Mayo ClinicSep2009 Introduction to Medical Expert Decision Support Systems for Mayo Clinic
Sep2009 Introduction to Medical Expert Decision Support Systems for Mayo Clinic
 
Artificial intelligence and expert system.ppt
Artificial intelligence and expert system.pptArtificial intelligence and expert system.ppt
Artificial intelligence and expert system.ppt
 
Acca 11(information systemsdevelopmentprocess)
Acca 11(information systemsdevelopmentprocess)Acca 11(information systemsdevelopmentprocess)
Acca 11(information systemsdevelopmentprocess)
 
Topic 8 expert system
Topic 8 expert systemTopic 8 expert system
Topic 8 expert system
 
helbredte
helbredtehelbredte
helbredte
 

Semelhante a Lecture7(CS372-AI&KnowledgeBaseSystems)

AI_Module_4_lecture_1.pptx
AI_Module_4_lecture_1.pptxAI_Module_4_lecture_1.pptx
AI_Module_4_lecture_1.pptxadityab33
 
AAI expert system and their usecases.ppt
AAI expert system and their usecases.pptAAI expert system and their usecases.ppt
AAI expert system and their usecases.pptPriyadarshini648418
 
Applied Artificial Intelligence presenttt
Applied Artificial Intelligence presentttApplied Artificial Intelligence presenttt
Applied Artificial Intelligence presentttPriyadarshini648418
 
Introduction to Expert Systems {Artificial Intelligence}
Introduction to Expert Systems {Artificial Intelligence}Introduction to Expert Systems {Artificial Intelligence}
Introduction to Expert Systems {Artificial Intelligence}FellowBuddy.com
 
Expert System - Artificial intelligence
Expert System - Artificial intelligenceExpert System - Artificial intelligence
Expert System - Artificial intelligenceDr. Abdul Ahad Abro
 
Introduction and architecture of expert system
Introduction  and architecture of expert systemIntroduction  and architecture of expert system
Introduction and architecture of expert systempremdeshmane
 
Artificial-Intelligence--AI And ES Nowledge Base Systems
Artificial-Intelligence--AI And ES Nowledge Base SystemsArtificial-Intelligence--AI And ES Nowledge Base Systems
Artificial-Intelligence--AI And ES Nowledge Base SystemsJim Webb
 
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS KNOWLEDGE-BASED SYSTEMS TEACHING ...
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS  KNOWLEDGE-BASED SYSTEMS TEACHING ...ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS  KNOWLEDGE-BASED SYSTEMS TEACHING ...
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS KNOWLEDGE-BASED SYSTEMS TEACHING ...Arlene Smith
 
Expert Systems and Decision–Making
Expert Systems and Decision–MakingExpert Systems and Decision–Making
Expert Systems and Decision–MakingYogeshIJTSRD
 
A-Hospital-Management-System Shanto , waliul , Turjo , Munna- FULL update 2 ...
A-Hospital-Management-System Shanto  , waliul , Turjo , Munna- FULL update 2 ...A-Hospital-Management-System Shanto  , waliul , Turjo , Munna- FULL update 2 ...
A-Hospital-Management-System Shanto , waliul , Turjo , Munna- FULL update 2 ...ShahriaShanto
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligencesanjay_asati
 

Semelhante a Lecture7(CS372-AI&KnowledgeBaseSystems) (20)

Artificial intelligance
Artificial intelliganceArtificial intelligance
Artificial intelligance
 
Expert system
Expert system Expert system
Expert system
 
AI_Module_4_lecture_1.pptx
AI_Module_4_lecture_1.pptxAI_Module_4_lecture_1.pptx
AI_Module_4_lecture_1.pptx
 
AAI expert system and their usecases.ppt
AAI expert system and their usecases.pptAAI expert system and their usecases.ppt
AAI expert system and their usecases.ppt
 
Applied Artificial Intelligence presenttt
Applied Artificial Intelligence presentttApplied Artificial Intelligence presenttt
Applied Artificial Intelligence presenttt
 
Introduction to Expert Systems {Artificial Intelligence}
Introduction to Expert Systems {Artificial Intelligence}Introduction to Expert Systems {Artificial Intelligence}
Introduction to Expert Systems {Artificial Intelligence}
 
Expert System - Artificial intelligence
Expert System - Artificial intelligenceExpert System - Artificial intelligence
Expert System - Artificial intelligence
 
Unit 4(nlp _neural_network)
Unit 4(nlp _neural_network)Unit 4(nlp _neural_network)
Unit 4(nlp _neural_network)
 
Introduction and architecture of expert system
Introduction  and architecture of expert systemIntroduction  and architecture of expert system
Introduction and architecture of expert system
 
Expert systems
Expert systemsExpert systems
Expert systems
 
Lab 06-sol
Lab 06-solLab 06-sol
Lab 06-sol
 
Student report
Student reportStudent report
Student report
 
Artificial-Intelligence--AI And ES Nowledge Base Systems
Artificial-Intelligence--AI And ES Nowledge Base SystemsArtificial-Intelligence--AI And ES Nowledge Base Systems
Artificial-Intelligence--AI And ES Nowledge Base Systems
 
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS KNOWLEDGE-BASED SYSTEMS TEACHING ...
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS  KNOWLEDGE-BASED SYSTEMS TEACHING ...ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS  KNOWLEDGE-BASED SYSTEMS TEACHING ...
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS KNOWLEDGE-BASED SYSTEMS TEACHING ...
 
Expert Systems and Decision–Making
Expert Systems and Decision–MakingExpert Systems and Decision–Making
Expert Systems and Decision–Making
 
A-Hospital-Management-System Shanto , waliul , Turjo , Munna- FULL update 2 ...
A-Hospital-Management-System Shanto  , waliul , Turjo , Munna- FULL update 2 ...A-Hospital-Management-System Shanto  , waliul , Turjo , Munna- FULL update 2 ...
A-Hospital-Management-System Shanto , waliul , Turjo , Munna- FULL update 2 ...
 
Lecture2 is353-ea(the zachma framework)
Lecture2 is353-ea(the zachma framework)Lecture2 is353-ea(the zachma framework)
Lecture2 is353-ea(the zachma framework)
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Expert System
Expert SystemExpert System
Expert System
 
Mis 009
Mis 009Mis 009
Mis 009
 

Mais de Taibah University, College of Computer Science & Engineering

Mais de Taibah University, College of Computer Science & Engineering (20)

Lecture 1- Computer Organization and Architecture.pdf
Lecture 1- Computer Organization and Architecture.pdfLecture 1- Computer Organization and Architecture.pdf
Lecture 1- Computer Organization and Architecture.pdf
 
The paper the welfare state of the somali nation - a possible solution to t...
The paper   the welfare state of the somali nation - a possible solution to t...The paper   the welfare state of the somali nation - a possible solution to t...
The paper the welfare state of the somali nation - a possible solution to t...
 
Colonial intrusion and_the_somali_resistance
Colonial intrusion and_the_somali_resistanceColonial intrusion and_the_somali_resistance
Colonial intrusion and_the_somali_resistance
 
Lecture 3 (Contemporary approaches to Information Systems)
Lecture 3 (Contemporary approaches to Information Systems)Lecture 3 (Contemporary approaches to Information Systems)
Lecture 3 (Contemporary approaches to Information Systems)
 
Lecture 7 (business-level strategy and the value chain model)
Lecture 7  (business-level strategy and the value chain model)Lecture 7  (business-level strategy and the value chain model)
Lecture 7 (business-level strategy and the value chain model)
 
Lecture 4 (using information technology for competitive advantage)
Lecture 4 (using information technology for competitive advantage)Lecture 4 (using information technology for competitive advantage)
Lecture 4 (using information technology for competitive advantage)
 
Lecture 2 (major types of information systems in organizations)
Lecture 2 (major types of information systems in organizations)Lecture 2 (major types of information systems in organizations)
Lecture 2 (major types of information systems in organizations)
 
Practical session 1 (critical path analaysis)
Practical session 1 (critical path analaysis)Practical session 1 (critical path analaysis)
Practical session 1 (critical path analaysis)
 
Chapter 2 modeling the process and life-cycle
Chapter 2  modeling the process and life-cycleChapter 2  modeling the process and life-cycle
Chapter 2 modeling the process and life-cycle
 
Historical Perspective on the Challenge Facing the Somali Sacral Unity
Historical Perspective on the Challenge Facing the Somali Sacral UnityHistorical Perspective on the Challenge Facing the Somali Sacral Unity
Historical Perspective on the Challenge Facing the Somali Sacral Unity
 
Colonial intrusion and the Somali Resistance
Colonial intrusion and the Somali ResistanceColonial intrusion and the Somali Resistance
Colonial intrusion and the Somali Resistance
 
Lecture 8 (information systems and strategy planning)
Lecture 8  (information systems and strategy planning)Lecture 8  (information systems and strategy planning)
Lecture 8 (information systems and strategy planning)
 
Lecture 4 (using information technology for competitive advantage)
Lecture 4 (using information technology for competitive advantage)Lecture 4 (using information technology for competitive advantage)
Lecture 4 (using information technology for competitive advantage)
 
Lecture1 data structure(introduction)
Lecture1 data structure(introduction)Lecture1 data structure(introduction)
Lecture1 data structure(introduction)
 
Lecture2 is331 data&infomanag(databaseenv)
Lecture2 is331 data&infomanag(databaseenv)Lecture2 is331 data&infomanag(databaseenv)
Lecture2 is331 data&infomanag(databaseenv)
 
Lecture1 is322 data&infomanag(introduction)(old curr)
Lecture1 is322 data&infomanag(introduction)(old curr)Lecture1 is322 data&infomanag(introduction)(old curr)
Lecture1 is322 data&infomanag(introduction)(old curr)
 
Lecture6 is353(ea&data viewpoint )
Lecture6 is353(ea&data viewpoint )Lecture6 is353(ea&data viewpoint )
Lecture6 is353(ea&data viewpoint )
 
Lecture4 is353-ea(fea)
Lecture4 is353-ea(fea)Lecture4 is353-ea(fea)
Lecture4 is353-ea(fea)
 
Lecture3 is353-ea(togaf)
Lecture3 is353-ea(togaf)Lecture3 is353-ea(togaf)
Lecture3 is353-ea(togaf)
 
Lecture2 is353-ea(the zachma framework)
Lecture2 is353-ea(the zachma framework)Lecture2 is353-ea(the zachma framework)
Lecture2 is353-ea(the zachma framework)
 

Último

Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 

Último (20)

Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 

Lecture7(CS372-AI&KnowledgeBaseSystems)

  • 1. Abdisalam Issa-Salwe Taibah University College of Computer Science & Engineering Information Systems Department Abdisalam Issa-Salwe, Taibah University 1 Artificial Intelligence and Knowledge Base Systems (Knowledge Base Application CS372) Lecture 3 2 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University List topics About Expert System The Characteristic of Expert System The Structure of Expert System The Characteristic of Expert System Expert System Development Life Cycles Participants in Expert System Development When to Use Expert Systems Justifying the Problem Domain
  • 2. 3 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University What is an Expert System? Expert System (ES) is a branch of Artificial Intelligence that attempt to mimic human experts. Expert systems can either support decision makers or completely replace them. Expert systems are the most widely applied & commercially successful AI technology. Artificial Intelligence (AI) refers to enabling computers to perform tasks that resemble human thinking ability. Typically computers perform repetitive, logical tasks extremely well, such as complex arithmetic calculations and database retrieval and storage. " . . . An intelligent computer program that uses knowledge and inference procedures to solve problems that are difficult enough to require significant human expertise for their solution.“ Prof. Edward Feigenbaum of Stanford University 4 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University Conventional and Expert System Execution is done by using heuristics and logic Execution is done on a step-by- step (algorithmic) basis The system can operate with only a few rules (as a first prototype) The system operates only when it is completed Explanation is a part of most expert systems Do not usually explain why input data are needed or how conclusions were drawn Program may make mistakes.Programs do not make mistakes (only programmers do) Knowledge base is clearly separated from the processing (inference) mechanism (knowledge rules are separated from the control) Knowledge and processing are combined in one sequential program Expert SystemsConventional Systems
  • 3. 5 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University Conventional and Expert System Easily deals with qualitative dataEasily deals with quantitative data Effectiveness is a major goalEfficiency is a major goal Representation and use of knowledge Representation and use of data Effective manipulation of large knowledge bases Effective manipulation of large databases Can operate with incomplete or uncertain information Needs complete information to operate Expert SystemsConventional Systems 6 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University The Structure of Expert System Human Expert Problem solving Long–Term Memory Domain Knowledge Reasoning Advisee Case Facts Conclusion Short-Term Memory Case/Inferred Facts Conclusion
  • 4. 7 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University The Structure of Expert System (cont…) Expert System problem solving Knowledge Base Domain Knowledge Inference Engine User Case Facts Conclusion Working Memory Case/Inferred Facts Conclusion 8 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University The Structure of Expert System (cont…) The Knowledge Base (Long Term Memory) The key bottleneck in developing an expert system. Contain everything necessary for understanding, formulating and solving a problem. It contains facts and heuristics. The most popular approach to representing domain knowledge is using production rules.
  • 5. 9 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University The Structure of Expert System (cont…) Working Memory (Short Term Memory) Contains facts about a problem that are discovered during consultation with the expert system. System matches this information with knowledge contained in the knowledge base to infer new facts. The conclusion reach will enter the working memory. Thus, working memory contain information either supplied by user or infer by the system. 10 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University The Structure of Expert System (cont…) Inference Engine Knowledge processor which is modeled after the expert reasoning power. Processor in an expert system that matches the facts contained in the working memory with the domain knowledge contained in the knowledge base, to draw conclusion about the problems. It taps the knowledge base and working memory to derive new information and solve problems
  • 6. 11 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University The Structure of Expert System The User Interface The user communicates with the expert system through the user interface. It allows the user to query the system, supply information and receive advice. The aims are to provide the same form of communication facilities provided by the expert. But normally has less capability of understanding natural language and general knowledge. 12 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University Characteristics of Expert Systems 1. High-level expertise: The most useful characteristic of an expert system. This expertise can represent the best thinking of top experts in the field, leading to problem solutions that are imaginative, accurate, and efficient. 2. Adequate response time: The system must also perform in a reasonable amount of time, comparable to or better than the time required by an expert to solve a problem. 3. Permits Inexact Reasoning: These types of applications are characterized by information that is uncertain, ambiguous, or unavailable and by domain knowledge that is inherently inexact. 4. Good Reliability: The system must be reliable and not prone to crashes because it will not be used
  • 7. 13 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University Characteristics of Expert Systems 5. Comprehensibility: The system should be able to explain the steps of its reasoning while executing so that it is understandable. The systems should have an explanation capability in the same way that human experts are suppose to be able to explain their reasoning. 6. Flexibility: Because of the large amount of knowledge that an expert system may have, it is important to have an efficient mechanism for modifying the knowledge base. 7. Symbolic Reasoning: Expert systems represent knowledge symbolically as sets of symbols that stand for problems concepts. . 14 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University ES Development Life Cycles Phase 1 Assessment Phase 2 Knowledge Acquisition Phase 3 Design Phase 4 Test Phase 5 Documentation Phase 6 Maintenance Requirements Knowledge Structure Evaluation Product Refinements Explorations Reformulations ES Development Life Cycles (ESDLC)
  • 8. 15 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University Expert System Development Life Cycles 1. Assessment Determine feasibility & justification of the problem Define overall goal and scope of the project Resources requirement Sources of knowledge 2. Knowledge Acquisition Acquire the knowledge of the problem Involves meetings with expert Bottleneck in ES development 16 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University Expert System Development Life Cycles 3. Design Selecting knowledge representations approach and problem solving strategies Defined overall structure and organization of system knowledge Selection of software tools Built initial prototype Iterative process 4. Testing Continual process throughout the project Testing and modifying system knowledge Study the acceptability of the system by end user Work closely with domain expert that guide the growth of the knowledge and end user that guide in user interface design
  • 9. 17 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University Expert System Development Life Cycles 5. Documentation Compile all the projects information into a document for the user and developers of the system such as: User manual diagrams Knowledge dictionary 6. Maintenance Refined and update system knowledge to meet current needs 18 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University Participants in Expert System Development The main participants in the process of building an expert system: a. The domain expert b. The knowledge engineer c. The user
  • 10. 19 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University Participants in Expert System Development The Domain Expert Is a person who has the special knowledge, judgment, experience, skills and methods, to give advice and solve problems in a manner superior to others. Although an expert system usually models one or more experts, it may also contain expertise from other sources such as books and journal articles. Qualifications needed by the Domain Expert: Has expert knowledge Has efficient problem-solving skills Can communicate the knowledge Can devote time Must be cooperative 20 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University Participants in Expert System Development The Knowledge Engineer A person who designs, builds and tests an expert systems. Qualifications needed by Knowledge Engineer: Has knowledge engineering skills (art of building expert system) Has good communications skills Can match problems to software Has expert system programming skills
  • 11. 21 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University Participants in Expert System Development The User Is a person who uses the expert system once it is developed. Can aid in knowledge acquisition (giving broad understanding of the problems) Can aid in system development 22 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University Common Expert System Architecture User Knowledge Engineer User Interface Inference Engine Knowledge Base User Environment KE Tool Kit KE Interface Development Environment Organization Systems Interface
  • 12. 23 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University When to Use Expert Systems Provide a high potential payoff or significantly reduced downside risk Capture and preserve irreplaceable human expertise Provide expertise needed at a number of locations at the same time or in a hostile environment that is dangerous to human health 24 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University Building Tools Since mid-1970s, a wide choice of tools and approaches from developing ES have become available. They range from high-level and AI programming language to shells to ready-to- use customized packages for industry and government. Which tools to adopt depend on: The nature of the problem The skill of the builder The function it is expect to perform (either diagnoses or monitoring)
  • 13. 25 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University Building Tools Several levels or categories of tools are available for building ES such as follows: Programming languages Support aids and tools Specific ES packages Shells 26 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University The Inference Control Cycle Three steps characterize a cycle: 1. Match rules with given facts 2. Select the rule that is to be executed 3. Execute the rule by adding the deduced fact to the working memory
  • 14. 27 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University The figure below illustrates the 4 levels Includes domain, rules, methodology Knowledge Base (specific expert system application package) Shells Editor/debugger Inference engine Explanation facility (e.g., CLIPS, EXSYS) Support aids And tools Debugging aids Menus, Explanation facilities Programs that help in knowledge acquisition and knowledge representation Programming Languages Standard procedural languages (e.g. Pascal, Basic) Al symbolic languages (e.g. LISP, PROLOG ) Domain independent All you do is build kb Preprogrammed Less programming Less flexibility Ready-to-use; custom made More focused More programming More flexibility Build from scratch Less focused 28 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University Support Aid and Tools Support aids automate the time consuming phase of acquisition, improve effectiveness of representation, ensure crisp human-machine interface and debugging aids that traces the reasoning. Explanation facilities show how the system arrives at a particular solution Editing facility ensures that the syntax is correctly represented in the knowledge base
  • 15. 29 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University Specific Expert System packages The easiest product to use from user’s of view Specific ready-to-use program that advises a specific user in a specific industry to address a specific problem domain For example, a consultation system that advises student on elective courses to take. The system essentially plugs in the vital variable, matches them against established criteria and determines the courses to take. 30 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University Shells A shell provides a basic architecture for building ES. Functions: 1. Assists in building the knowledge base by allowing the developer to insert knowledge into knowledge representation structures. 2. Provides methods of inference or deduction that reason on the basis of information in the knowledge base and new facts input by the user. 3. Provides an interface that allows the user to set up reasoning task and query the system about its reasoning strategy.
  • 16. 31 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University Designing and Building Expert Systems Expert System Shells: generic systems that contain reasoning mechanisms but not the problem-specific knowledge Early shells were cumbersome but still allowed the user to avoid having to completely program the system from scratch Modern shells contain two primary modules: a rule set builder and an inference engine 32 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University Shells The main 3 components: 1. The knowledge base 2. Inference engine 3. User interface
  • 17. 33 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University Evaluating the Benefits of Expert Systems Some major benefits: 1. Increased timeliness in decision making 2. Increased productivity of experts 3. Improved consistency in decisions 4. Improved understanding 5. Improved management of uncertainty 6. Formalization of knowledge 34 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University Limitations Associated with ES One important limitation is that expertise is difficult to extract and encode. Another is that human experts adapt naturally but an ES must be recoded. Further, human experts better recognize when a problem is outside the knowledge domain, but an ES may just keep working
  • 18. 35 Abdisalam Issa-Salwe, College of Computer Science & Engineering, Taibah University 35 Abdisalam Issa-Salwe, Faculty of Computer Science & Engineering, Taibah University Reference CBA, University of Illenois, Chicago IDS, www.uic.edu/classes/idsc/ids422/. 2001 Abdisalam Issa-Salwe, Lecture Notes, Taibah University, 2010. George M. Marakas, Decision Support Systems in the 21st Century, 2nd Edition