SlideShare a Scribd company logo
1 of 29
Download to read offline
EXPERT SYSTEMS
CAMBRIDGE INTERNATIONAL AS & A LEVEL
Anjan Mahanta
anjan.mahanta@satreephuketipc.com
Learning Objectives
● describe the components of an expert system and how expert systems can be used
● explain how expert systems produce possible solutions, including the process of
forward and backward chaining
● analyse the use of different processing systems
● explain how master and transaction files are used
2
What is an expert system?
● Expert systems use a knowledge base and a set of rules to provide a diagnosis or
a recommended course of action. They can be used to solve complex problems
by reasoning, using the knowledge base they are given.
● Expert systems gather data by asking the user questions about the problem. An
initial set of questions can lead to further questions depending on the user’s
responses.
● The expert system reasons what questions it needs to ask, based on the
knowledge it is given. It will use the responses from the user to rule out various
possibilities that will allow it to eventually reach a decision or diagnosis.
3
Expert System
● We rely on expert systems to help us with knowledge and
understanding in a particular field. We use them in the same way as
we do certain experts in our lives.
● For example, we will go to see a doctor if we have a health problem or
we will go to see a car mechanic if our car will not start.
● We can use an expert system in a similar way, it will ask us questions
about our health problem or car problem and provide us with a
diagnosis or course of action.
4
Expert System
Building an expert system is known as knowledge engineering and it is composed of three
main components:
● the knowledge base
● the inference engine
● the user interface.
5
Expert System
6
Knowledge Base
● The developers of the expert system will interview a collection of experts to
build the database of knowledge.
● They will look to gain two types of knowledge from the experts.
● The first is factual knowledge. This is knowledge that is widely shared.
● The second type is heuristic knowledge. This is knowledge that is more
personal and is acquired through a range of experiences and reasoning.
7
Knowledge Base
● Once the knowledge base is built,it can be used by the expert system to inform the
question sit needs to ask and assist in providing the results.
● Part of the knowledge base is the rules base. The rules base is a set of rules that will be
used to produce an output or decision by the expert system. These rules are used by the
inference engine as a base for reasoning, to obtain a solution to a problem ora decision.
● Each rule will contain two parts,the IF and the THEN. A rule can also have multiple IF parts
that will be joined together by Boolean operators including AND and OR.
● Most expert systems will have a knowledge based editor built into them. This allows the
knowledge base to be checked for errors and edited ad updated when needed.
8
Inference Engine
● It will ask the user questions, and based on their answer, it will follow a line of
logic.This may then lead to further questions and eventually a final result.
● The inference engine is mostly a problem-solving tool. It organises and controls
steps to solve the problem. To do this it often uses a chaining method. It chains
together what is known as IF-THEN rules to form a line of reasoning.
● The IF part of the rule is a condition, for example IF I am hungry. The THEN part
of the rule is an action, for example IF I am hungry THEN I will need to eat.
9
Inference Engine
● There are two main methods that can be used to obtain a result.
● The appropriate one will depend on whether the expert system is designed to
produce a final result i.e a diagnosis or course of action, or if it begins with a
known conclusion i.e. a goal.
● If the process starts with a set of conditions and chaining moves towards a final
conclusion, this is called forward chaining.
10
Inference Engine - Forward Chaining
● In a forward chaining system, the expert system will take the data input and
match it to the knowledge and rules it contains.
● It will keep doing this until it can reach an end goal or outcome. A forward
chaining system is data driven.
● Data is gathered about the problem and then the system infers what it can from
the data to reach a conclusion.
11
Inference Engine - Backward Chaining
● If the process starts with a known conclusion, but the path to it is unknown, the
chaining will work in reverse and this is called backward chaining.
● The system in this case has a goal or solution and the inference engine attempts
to find the evidence to prove it.
12
User Interface
● The user interface is the way the user interacts with the expert system.
● They are often graphical in nature and have a range of selection
processes or typing methods to allow the user to provide responses.
13
Expert System
14
Advantages Disadvantages
They provide answers to questions that are outside a
user’s knowledge and experience.
They do not have the addition of common sense that
humans have. This means that their response can only be
a logical one and cannot have a creative approach.
They can aid professionals in areas where their
knowledge and experience are a little weaker.
Errors in the knowledge base or inference engine will
produce errors in the results. Therefore they are only as
good as the data and rules they are given.
As they use a logical process they are consistent in the
answers that they give.
They are not able to automatically adapt to changing
environments. This requires the knowledge base to be
changed.
They will not forget to ask a question, as all the rules and
knowledge is put into place to make sure that all data
needed is gathered.
They are expensive to produce as they require a great
deal of time and effort from experts and developers.
How are expert systems used?
● Medical diagnosis
● Car mechanical diagnosis
● Playing chess
● Providing financial advice
● Troubleshooting computer and printer issues
● Identifying items, for example plants and birds
● Using a telephone help desk
15
16
17
Data Processing Systems
● There are many types of systems that process data, and a variety of ways
the processing can be carried out.
● A system that processes data will have a method to input the data, a
method to process the data and a method to output the data.
● There are three ways data can be processed these are batch, online and
real-time processing systems.
18
Batch Processing System
● The amount of data processed by batch
processing systems is normally quite large. By
storing the data together in batches, it means
that the processing can be carried out at a time
when the system is in less demand.
● This results in less disruption to a system during
the times of the day when it could be in heavy
demand. No user interaction is required to
process the data. The system is automatically
triggered at a set time.
19
Batch Processing System
● There are issues that can occur with a batch
processing system.
● There is a time delay for the data processing, so the
output that will be provided is not always readily
available.
● Also, if there is an error with an input,this will not be
recognised until a later date when the data is
processed.
20
Batch Processing System
21
Online Processing System
● An online processing system is sometimes known as an interactive processing system.
22
Real time Processing System
A real-time processing system processes data as soon as it has been input.
They are normally used when the immediacy of the data is vital.
23
Real time Processing System
24
25
File Types
For data to be processed it is often stored first. This can be for long periods of
time or momentarily. There are two main file types that are used to store data,
master files and transaction files.
26
Master File
● The master file will store all of the more permanent data
about the customer or the employee. Data stored in
master files is normally more permanent in nature.
● A master file is normally a collection of fields about a
main element of a data system,for example a customer
or an employee.
● There will normally be a key field present in a master file,
such as the employee number in the example above. The
key field will be used to match transaction files to the
correct master file. 27
Transaction File
● The data stored in these files is normally used to update
the master file.It is more temporary in nature.
● The key field is again present in the transaction file in
order to allow it to be matched to the correct master file.
● Transaction files are useful as they can act as an audit trail
for a company to see what updates have been made to the
master file at various times.
28
29

More Related Content

What's hot

Knowledge Representation in Artificial intelligence
Knowledge Representation in Artificial intelligence Knowledge Representation in Artificial intelligence
Knowledge Representation in Artificial intelligence Yasir Khan
 
Expert system in computer
Expert system in computer Expert system in computer
Expert system in computer kiran paul
 
Chapter 1- INTRODUCTION TO SYSTEM ANALYSIS AND DESIGN by DEEPA (1).pptx
Chapter 1- INTRODUCTION TO SYSTEM ANALYSIS AND DESIGN by DEEPA (1).pptxChapter 1- INTRODUCTION TO SYSTEM ANALYSIS AND DESIGN by DEEPA (1).pptx
Chapter 1- INTRODUCTION TO SYSTEM ANALYSIS AND DESIGN by DEEPA (1).pptxanumayived
 
Artificial intelligence and knowledge representation
Artificial intelligence and knowledge representationArtificial intelligence and knowledge representation
Artificial intelligence and knowledge representationSajan Sahu
 
information system analysis and design
information system analysis and designinformation system analysis and design
information system analysis and designEndalkachewYazie1
 
Lec 4 expert systems
Lec 4  expert systemsLec 4  expert systems
Lec 4 expert systemsEyob Sisay
 
Introduction and architecture of expert system
Introduction  and architecture of expert systemIntroduction  and architecture of expert system
Introduction and architecture of expert systempremdeshmane
 
Lecture 06 production system
Lecture 06 production systemLecture 06 production system
Lecture 06 production systemHema Kashyap
 
System concepts, elements and types of systems ppt
System concepts, elements and types of systems pptSystem concepts, elements and types of systems ppt
System concepts, elements and types of systems pptShobhit Sharma
 
5.-Knowledge-Representation-in-AI_010824.pdf
5.-Knowledge-Representation-in-AI_010824.pdf5.-Knowledge-Representation-in-AI_010824.pdf
5.-Knowledge-Representation-in-AI_010824.pdfSakshiSingh770619
 
Types o f information systems
Types o f information systemsTypes o f information systems
Types o f information systemsBimbashree K.G
 
Memory management
Memory managementMemory management
Memory managementcpjcollege
 
Inductive bias
Inductive biasInductive bias
Inductive biasswapnac12
 
system analysis and design chapter 1 Kendall & Kendall
system analysis and design chapter 1 Kendall & Kendallsystem analysis and design chapter 1 Kendall & Kendall
system analysis and design chapter 1 Kendall & KendallDana dia
 
Distributed Operating Systems
Distributed Operating SystemsDistributed Operating Systems
Distributed Operating SystemsUmmiya Mohammedi
 
Knowledge based systems
Knowledge based systemsKnowledge based systems
Knowledge based systemsYowan Rdotexe
 

What's hot (20)

Knowledge Representation in Artificial intelligence
Knowledge Representation in Artificial intelligence Knowledge Representation in Artificial intelligence
Knowledge Representation in Artificial intelligence
 
Expert system in computer
Expert system in computer Expert system in computer
Expert system in computer
 
Fuzzy expert system
Fuzzy expert systemFuzzy expert system
Fuzzy expert system
 
Chapter 1- INTRODUCTION TO SYSTEM ANALYSIS AND DESIGN by DEEPA (1).pptx
Chapter 1- INTRODUCTION TO SYSTEM ANALYSIS AND DESIGN by DEEPA (1).pptxChapter 1- INTRODUCTION TO SYSTEM ANALYSIS AND DESIGN by DEEPA (1).pptx
Chapter 1- INTRODUCTION TO SYSTEM ANALYSIS AND DESIGN by DEEPA (1).pptx
 
Artificial intelligence and knowledge representation
Artificial intelligence and knowledge representationArtificial intelligence and knowledge representation
Artificial intelligence and knowledge representation
 
information system analysis and design
information system analysis and designinformation system analysis and design
information system analysis and design
 
Lec 4 expert systems
Lec 4  expert systemsLec 4  expert systems
Lec 4 expert systems
 
Introduction and architecture of expert system
Introduction  and architecture of expert systemIntroduction  and architecture of expert system
Introduction and architecture of expert system
 
Lec1,2
Lec1,2Lec1,2
Lec1,2
 
Expert Systems
Expert SystemsExpert Systems
Expert Systems
 
Lecture 06 production system
Lecture 06 production systemLecture 06 production system
Lecture 06 production system
 
System concepts, elements and types of systems ppt
System concepts, elements and types of systems pptSystem concepts, elements and types of systems ppt
System concepts, elements and types of systems ppt
 
5.-Knowledge-Representation-in-AI_010824.pdf
5.-Knowledge-Representation-in-AI_010824.pdf5.-Knowledge-Representation-in-AI_010824.pdf
5.-Knowledge-Representation-in-AI_010824.pdf
 
Types o f information systems
Types o f information systemsTypes o f information systems
Types o f information systems
 
Memory management
Memory managementMemory management
Memory management
 
Expert Systems
Expert SystemsExpert Systems
Expert Systems
 
Inductive bias
Inductive biasInductive bias
Inductive bias
 
system analysis and design chapter 1 Kendall & Kendall
system analysis and design chapter 1 Kendall & Kendallsystem analysis and design chapter 1 Kendall & Kendall
system analysis and design chapter 1 Kendall & Kendall
 
Distributed Operating Systems
Distributed Operating SystemsDistributed Operating Systems
Distributed Operating Systems
 
Knowledge based systems
Knowledge based systemsKnowledge based systems
Knowledge based systems
 

Similar to Expert Systems

1_Expertsystems.ppt
1_Expertsystems.ppt1_Expertsystems.ppt
1_Expertsystems.pptRISHI643981
 
Expert system (mis)
Expert system (mis)Expert system (mis)
Expert system (mis)Aamir Kiyani
 
Cmsc411(Pascuappt Report)
Cmsc411(Pascuappt Report)Cmsc411(Pascuappt Report)
Cmsc411(Pascuappt Report)Mannilou Pascua
 
Library mangement system project srs documentation.doc
Library mangement system project srs documentation.docLibrary mangement system project srs documentation.doc
Library mangement system project srs documentation.docjimmykhan
 
Online Crime Management System.ppt.pptx
Online Crime Management System.ppt.pptxOnline Crime Management System.ppt.pptx
Online Crime Management System.ppt.pptxAshutoshmahale3
 
4 IT Interview Question.pdf
4 IT Interview Question.pdf4 IT Interview Question.pdf
4 IT Interview Question.pdfTendaiZulu
 
Decision Support System & Group Decision Support System
Decision Support System & Group Decision Support SystemDecision Support System & Group Decision Support System
Decision Support System & Group Decision Support SystemNaresh Rupareliya
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligenceKitty Soso
 
Applicaton of Expert Systems In Business
Applicaton of Expert  Systems In BusinessApplicaton of Expert  Systems In Business
Applicaton of Expert Systems In BusinessAbinash Panda
 
Artificial Intelligence Chapter 9 Negnevitsky
Artificial Intelligence Chapter 9 NegnevitskyArtificial Intelligence Chapter 9 Negnevitsky
Artificial Intelligence Chapter 9 Negnevitskylopanath
 
Systems for Experts of all that is known
Systems for Experts of all that is knownSystems for Experts of all that is known
Systems for Experts of all that is knownKingLupa
 

Similar to Expert Systems (20)

Expert Systems
Expert SystemsExpert Systems
Expert Systems
 
Expert system
Expert systemExpert system
Expert system
 
1_Expertsystems.ppt
1_Expertsystems.ppt1_Expertsystems.ppt
1_Expertsystems.ppt
 
5.11 expert system
5.11 expert system5.11 expert system
5.11 expert system
 
1 Expert System.ppt
1 Expert System.ppt1 Expert System.ppt
1 Expert System.ppt
 
Expert system design
Expert system designExpert system design
Expert system design
 
Expert system (mis)
Expert system (mis)Expert system (mis)
Expert system (mis)
 
Cmsc411(Pascuappt Report)
Cmsc411(Pascuappt Report)Cmsc411(Pascuappt Report)
Cmsc411(Pascuappt Report)
 
Library doc
Library docLibrary doc
Library doc
 
Library mangement system project srs documentation.doc
Library mangement system project srs documentation.docLibrary mangement system project srs documentation.doc
Library mangement system project srs documentation.doc
 
Online Crime Management System.ppt.pptx
Online Crime Management System.ppt.pptxOnline Crime Management System.ppt.pptx
Online Crime Management System.ppt.pptx
 
4 IT Interview Question.pdf
4 IT Interview Question.pdf4 IT Interview Question.pdf
4 IT Interview Question.pdf
 
I217076
I217076I217076
I217076
 
Decision Support System & Group Decision Support System
Decision Support System & Group Decision Support SystemDecision Support System & Group Decision Support System
Decision Support System & Group Decision Support System
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Applicaton of Expert Systems In Business
Applicaton of Expert  Systems In BusinessApplicaton of Expert  Systems In Business
Applicaton of Expert Systems In Business
 
Building cbis, mis, csvtu
Building cbis, mis, csvtuBuilding cbis, mis, csvtu
Building cbis, mis, csvtu
 
Artificial Intelligence Chapter 9 Negnevitsky
Artificial Intelligence Chapter 9 NegnevitskyArtificial Intelligence Chapter 9 Negnevitsky
Artificial Intelligence Chapter 9 Negnevitsky
 
Systems for Experts of all that is known
Systems for Experts of all that is knownSystems for Experts of all that is known
Systems for Experts of all that is known
 
Expert system
Expert system Expert system
Expert system
 

More from Anjan Mahanta

Paper 2 – Exam Revision Notes.pdf
Paper 2 – Exam Revision Notes.pdfPaper 2 – Exam Revision Notes.pdf
Paper 2 – Exam Revision Notes.pdfAnjan Mahanta
 
Project management part 2
Project management part 2Project management part 2
Project management part 2Anjan Mahanta
 
Project management part 1
Project management part 1Project management part 1
Project management part 1Anjan Mahanta
 
13.03 - Satellite communication systems
13.03 - Satellite communication systems13.03 - Satellite communication systems
13.03 - Satellite communication systemsAnjan Mahanta
 
13.02 Network Security
13.02   Network Security13.02   Network Security
13.02 Network SecurityAnjan Mahanta
 
13.01 Network Components
13.01   Network Components13.01   Network Components
13.01 Network ComponentsAnjan Mahanta
 
The role and impact of IT in society
The role and impact of IT in societyThe role and impact of IT in society
The role and impact of IT in societyAnjan Mahanta
 
Emerging Technologies
Emerging TechnologiesEmerging Technologies
Emerging TechnologiesAnjan Mahanta
 
Conditional statistical functions
Conditional statistical functionsConditional statistical functions
Conditional statistical functionsAnjan Mahanta
 
Spreadsheet if and nested if function
Spreadsheet if and nested if functionSpreadsheet if and nested if function
Spreadsheet if and nested if functionAnjan Mahanta
 
Spreadsheet lookup functions
Spreadsheet lookup functionsSpreadsheet lookup functions
Spreadsheet lookup functionsAnjan Mahanta
 
Spreadsheet text functions
Spreadsheet text functionsSpreadsheet text functions
Spreadsheet text functionsAnjan Mahanta
 
Spreadsheet Date & Time Functions
Spreadsheet Date & Time FunctionsSpreadsheet Date & Time Functions
Spreadsheet Date & Time FunctionsAnjan Mahanta
 
Networks and the effects of using them
Networks and the effects of using themNetworks and the effects of using them
Networks and the effects of using themAnjan Mahanta
 
Storage devices and media
Storage devices and mediaStorage devices and media
Storage devices and mediaAnjan Mahanta
 
Chapter 4 E-Safety and Health & Safety
Chapter 4 E-Safety and Health & SafetyChapter 4 E-Safety and Health & Safety
Chapter 4 E-Safety and Health & SafetyAnjan Mahanta
 
Chapter 3 Monitoring and Control
Chapter 3 Monitoring and ControlChapter 3 Monitoring and Control
Chapter 3 Monitoring and ControlAnjan Mahanta
 

More from Anjan Mahanta (20)

Paper 2 – Exam Revision Notes.pdf
Paper 2 – Exam Revision Notes.pdfPaper 2 – Exam Revision Notes.pdf
Paper 2 – Exam Revision Notes.pdf
 
Project management part 2
Project management part 2Project management part 2
Project management part 2
 
Project management part 1
Project management part 1Project management part 1
Project management part 1
 
13.03 - Satellite communication systems
13.03 - Satellite communication systems13.03 - Satellite communication systems
13.03 - Satellite communication systems
 
13.02 Network Security
13.02   Network Security13.02   Network Security
13.02 Network Security
 
13.01 Network Components
13.01   Network Components13.01   Network Components
13.01 Network Components
 
The role and impact of IT in society
The role and impact of IT in societyThe role and impact of IT in society
The role and impact of IT in society
 
Emerging Technologies
Emerging TechnologiesEmerging Technologies
Emerging Technologies
 
Conditional statistical functions
Conditional statistical functionsConditional statistical functions
Conditional statistical functions
 
Spreadsheet if and nested if function
Spreadsheet if and nested if functionSpreadsheet if and nested if function
Spreadsheet if and nested if function
 
Spreadsheet lookup functions
Spreadsheet lookup functionsSpreadsheet lookup functions
Spreadsheet lookup functions
 
Spreadsheet text functions
Spreadsheet text functionsSpreadsheet text functions
Spreadsheet text functions
 
Spreadsheet Date & Time Functions
Spreadsheet Date & Time FunctionsSpreadsheet Date & Time Functions
Spreadsheet Date & Time Functions
 
Networks and the effects of using them
Networks and the effects of using themNetworks and the effects of using them
Networks and the effects of using them
 
Scratch Animation
Scratch AnimationScratch Animation
Scratch Animation
 
Storage devices and media
Storage devices and mediaStorage devices and media
Storage devices and media
 
Using Network
Using NetworkUsing Network
Using Network
 
The Digital Divide
The Digital DivideThe Digital Divide
The Digital Divide
 
Chapter 4 E-Safety and Health & Safety
Chapter 4 E-Safety and Health & SafetyChapter 4 E-Safety and Health & Safety
Chapter 4 E-Safety and Health & Safety
 
Chapter 3 Monitoring and Control
Chapter 3 Monitoring and ControlChapter 3 Monitoring and Control
Chapter 3 Monitoring and Control
 

Recently uploaded

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
 
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
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
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
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
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
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
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
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
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
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
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
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 

Recently uploaded (20)

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
 
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
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
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
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
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
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
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_...
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
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
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
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
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 

Expert Systems

  • 1. EXPERT SYSTEMS CAMBRIDGE INTERNATIONAL AS & A LEVEL Anjan Mahanta anjan.mahanta@satreephuketipc.com
  • 2. Learning Objectives ● describe the components of an expert system and how expert systems can be used ● explain how expert systems produce possible solutions, including the process of forward and backward chaining ● analyse the use of different processing systems ● explain how master and transaction files are used 2
  • 3. What is an expert system? ● Expert systems use a knowledge base and a set of rules to provide a diagnosis or a recommended course of action. They can be used to solve complex problems by reasoning, using the knowledge base they are given. ● Expert systems gather data by asking the user questions about the problem. An initial set of questions can lead to further questions depending on the user’s responses. ● The expert system reasons what questions it needs to ask, based on the knowledge it is given. It will use the responses from the user to rule out various possibilities that will allow it to eventually reach a decision or diagnosis. 3
  • 4. Expert System ● We rely on expert systems to help us with knowledge and understanding in a particular field. We use them in the same way as we do certain experts in our lives. ● For example, we will go to see a doctor if we have a health problem or we will go to see a car mechanic if our car will not start. ● We can use an expert system in a similar way, it will ask us questions about our health problem or car problem and provide us with a diagnosis or course of action. 4
  • 5. Expert System Building an expert system is known as knowledge engineering and it is composed of three main components: ● the knowledge base ● the inference engine ● the user interface. 5
  • 7. Knowledge Base ● The developers of the expert system will interview a collection of experts to build the database of knowledge. ● They will look to gain two types of knowledge from the experts. ● The first is factual knowledge. This is knowledge that is widely shared. ● The second type is heuristic knowledge. This is knowledge that is more personal and is acquired through a range of experiences and reasoning. 7
  • 8. Knowledge Base ● Once the knowledge base is built,it can be used by the expert system to inform the question sit needs to ask and assist in providing the results. ● Part of the knowledge base is the rules base. The rules base is a set of rules that will be used to produce an output or decision by the expert system. These rules are used by the inference engine as a base for reasoning, to obtain a solution to a problem ora decision. ● Each rule will contain two parts,the IF and the THEN. A rule can also have multiple IF parts that will be joined together by Boolean operators including AND and OR. ● Most expert systems will have a knowledge based editor built into them. This allows the knowledge base to be checked for errors and edited ad updated when needed. 8
  • 9. Inference Engine ● It will ask the user questions, and based on their answer, it will follow a line of logic.This may then lead to further questions and eventually a final result. ● The inference engine is mostly a problem-solving tool. It organises and controls steps to solve the problem. To do this it often uses a chaining method. It chains together what is known as IF-THEN rules to form a line of reasoning. ● The IF part of the rule is a condition, for example IF I am hungry. The THEN part of the rule is an action, for example IF I am hungry THEN I will need to eat. 9
  • 10. Inference Engine ● There are two main methods that can be used to obtain a result. ● The appropriate one will depend on whether the expert system is designed to produce a final result i.e a diagnosis or course of action, or if it begins with a known conclusion i.e. a goal. ● If the process starts with a set of conditions and chaining moves towards a final conclusion, this is called forward chaining. 10
  • 11. Inference Engine - Forward Chaining ● In a forward chaining system, the expert system will take the data input and match it to the knowledge and rules it contains. ● It will keep doing this until it can reach an end goal or outcome. A forward chaining system is data driven. ● Data is gathered about the problem and then the system infers what it can from the data to reach a conclusion. 11
  • 12. Inference Engine - Backward Chaining ● If the process starts with a known conclusion, but the path to it is unknown, the chaining will work in reverse and this is called backward chaining. ● The system in this case has a goal or solution and the inference engine attempts to find the evidence to prove it. 12
  • 13. User Interface ● The user interface is the way the user interacts with the expert system. ● They are often graphical in nature and have a range of selection processes or typing methods to allow the user to provide responses. 13
  • 14. Expert System 14 Advantages Disadvantages They provide answers to questions that are outside a user’s knowledge and experience. They do not have the addition of common sense that humans have. This means that their response can only be a logical one and cannot have a creative approach. They can aid professionals in areas where their knowledge and experience are a little weaker. Errors in the knowledge base or inference engine will produce errors in the results. Therefore they are only as good as the data and rules they are given. As they use a logical process they are consistent in the answers that they give. They are not able to automatically adapt to changing environments. This requires the knowledge base to be changed. They will not forget to ask a question, as all the rules and knowledge is put into place to make sure that all data needed is gathered. They are expensive to produce as they require a great deal of time and effort from experts and developers.
  • 15. How are expert systems used? ● Medical diagnosis ● Car mechanical diagnosis ● Playing chess ● Providing financial advice ● Troubleshooting computer and printer issues ● Identifying items, for example plants and birds ● Using a telephone help desk 15
  • 16. 16
  • 17. 17
  • 18. Data Processing Systems ● There are many types of systems that process data, and a variety of ways the processing can be carried out. ● A system that processes data will have a method to input the data, a method to process the data and a method to output the data. ● There are three ways data can be processed these are batch, online and real-time processing systems. 18
  • 19. Batch Processing System ● The amount of data processed by batch processing systems is normally quite large. By storing the data together in batches, it means that the processing can be carried out at a time when the system is in less demand. ● This results in less disruption to a system during the times of the day when it could be in heavy demand. No user interaction is required to process the data. The system is automatically triggered at a set time. 19
  • 20. Batch Processing System ● There are issues that can occur with a batch processing system. ● There is a time delay for the data processing, so the output that will be provided is not always readily available. ● Also, if there is an error with an input,this will not be recognised until a later date when the data is processed. 20
  • 22. Online Processing System ● An online processing system is sometimes known as an interactive processing system. 22
  • 23. Real time Processing System A real-time processing system processes data as soon as it has been input. They are normally used when the immediacy of the data is vital. 23
  • 24. Real time Processing System 24
  • 25. 25
  • 26. File Types For data to be processed it is often stored first. This can be for long periods of time or momentarily. There are two main file types that are used to store data, master files and transaction files. 26
  • 27. Master File ● The master file will store all of the more permanent data about the customer or the employee. Data stored in master files is normally more permanent in nature. ● A master file is normally a collection of fields about a main element of a data system,for example a customer or an employee. ● There will normally be a key field present in a master file, such as the employee number in the example above. The key field will be used to match transaction files to the correct master file. 27
  • 28. Transaction File ● The data stored in these files is normally used to update the master file.It is more temporary in nature. ● The key field is again present in the transaction file in order to allow it to be matched to the correct master file. ● Transaction files are useful as they can act as an audit trail for a company to see what updates have been made to the master file at various times. 28
  • 29. 29