0% found this document useful (0 votes)
49 views

Expert Systems Notes

The document defines and describes expert systems. It provides information on: - What expert systems are and how they mimic human experts through knowledge bases - The components of expert systems including the knowledge base, inference engine, and user interface - How expert systems are created through interviewing human experts - Capabilities of expert systems such as diagnosis and advice-giving - Types of reasoning used by inference engines including forward and backward chaining - Real-world examples of expert systems like medical diagnosis and financial advice systems

Uploaded by

Mai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views

Expert Systems Notes

The document defines and describes expert systems. It provides information on: - What expert systems are and how they mimic human experts through knowledge bases - The components of expert systems including the knowledge base, inference engine, and user interface - How expert systems are created through interviewing human experts - Capabilities of expert systems such as diagnosis and advice-giving - Types of reasoning used by inference engines including forward and backward chaining - Real-world examples of expert systems like medical diagnosis and financial advice systems

Uploaded by

Mai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

- expert systems -

expert systems definition.


an expert system is an application that seeks to mimic the knowledge and
experience of a human expert. an expert system is designed to provide
reasonable answers when given a set of conditions about the problem in hand

what is an expert system?

- special databases designed to copy the expertise and knowledge of a


human expert
- knowledge from human experts is entered into the system and stored
- people using the expert system can then question it and access this stored
knowledge
- the system searches its stored data for anything that provides an answer to
the information that a user has input

how are expert systems created?


a group of experts in a specific field are interviewed and questioned and
information is gathered therefore, the knowledge base is created and the
interview gives information for the knowledge base to be searched by the user.
afterwards, the interface engine is created which allows the user to look up the
knowledge and the interface engine asks questions to the users then uses a set of
rules that are programmed to analyze the responses. after that, the user
interference is created which presents questions to the user. lastly, testing is used
to evaluate and test the functions in the expert systems.

capabilities of an expert system.

- playing chess
- diagnosis
- providing advice
- car mechanical diagnosis
- explaining conclusions
- giving solutions
components of an expert system.

knowledge base

this is the part of the system that holds all the knowledge of the system. it
contains facts and rules about the 'task domain'. task domain is the area of
expertise that the expert system is designed to work within. facts and rules are
captured by methods such as interviewing human experts to garner their
knowledge or completing detailed questionnaires. this process is called
knowledge engineering. extra rules and facts may be added to the knowledge
base as time passes and users provide feedback about the quality of the answers.

inference engine

this is the part of the expert system that works out a reasonable solution when
given a set of answers from the user by applying logical rules to the knowledge
base to deduce new information.

the inference engine will ask the user questions and based on the answer, it will
follow a line of logic;

chaining method:
chains together what is known as IF-THEN rules to form a line of reasoning

IF <condition> THEN <action>

IF <I am hungry> THEN <I will eat>


there are two types of chaining that include

* forward chaining:

- starts with the facts and apply the rules inference


- continue until no new can be made.
- generally useful when you don’t have a specific goal and all the facts.

* back chaining:

- start with the goal(s)


- apply the rules in backwards fashion
- attempts to find evidence to prove the goal
- ask the user or database for additional information
- useful when there are few goals (e.g one of 10 diseases)

what is the difference between forward and backward chaining?

the difference is that forward chaining starts with facts then looks through the
forward rules to find a desired goal; however, backward chaining begins with a
goal and then looks back through the interference rules to find facts that may
support the goal.
user interface

the expert system will present its questions and the user provides the answers.
this is the system that allows a non-expert user to query (question) the expert
system, and to receive advice. the user-interface is designed to be a simple to
use as possible

knowledge engineering description.


knowledge engineering is a field of artificial intelligence (AI) that tries to
emulate the judgment and behavior of a human expert in a given field.
knowledge engineering is the technology behind the creation of expert systems
to assist with issues related to their programmed field of knowledge.

the purpose of an expert system

- to contain the knowledge of a human expert


- to be able to present the knowledge in a useful way
- to be able to describe how it came to its conclusions
- in other words, to mimic a human expert

explain how an expert system chooses which answer to give to a particular


query.
based on the data entered in the knowledge base, the expert system takes the
information needed from the user and runs it through the knowledge base for
reasoning and facts.

real-world examples of expert systems in place.

- online booking system: data about the customer will be collected for an
example in aeroplane ticket booking system, the information gathered
would be about the customers flight and plane number will be collected in
the transaction. a ticket will be provided and with this information it will
avoid having the same seat double booked.
- computer games: computer games require a very fast response when
imputed by the user so that the game can be controlled therefore, it needs
to have a real time processing system.
- financial advice: this would contain suggestions on how to manage debts,
reduce the total of income tax as well as suggesting the value of the
insurance. the user has to input their financial information so the expert
system could give them advice that would be useful to their situation.
- planning and scheduling: you can use the expert system for planning and
scheduling to make sure to achieve all tasks set and not miss anything.

expert systems advatages and disadvantages.

*advantages*

- they provide answers to questions that are outside a user’s


knowledge/experience
- they can aid professionals in areas where their knowledge /experience are
weak
- they are consistent in the given answer
- they will not forget to ask a question
- can be accessed 24/7
- they can reduce the time taken to solve a problem
- less skilled workforce is needed

*disadvantages*

- they do not have common sense


- errors in the knowledge base/inference engine will produce errors in
results
- they are not able automatically to adapt to changing environments
- they are expensive to produce (time/effort)

model answer: impact of people having the ability to self diagnose their medical
issues using an expert system

on one hand, for many people, visiting an expert could be extremely expensive and
unaffordable, especially that healthcare costs have increased massively in many
countries. however, accessing a self diagnosis online is cheap and many websites do it
for free. moreover, if a doctor checks the patient diagnosis online and agreed with it
after checking their health that could speed up the process giving the patients to
receive a treatment quickly and that could speed up the recovery. on the other hand,
the user could wrongly diagnose themselves which would lead to false results due to
maybe not being able to fully recognize the symptoms or the lack of some medical
information and medical checkups that need to be provided. this could endanger many
patients if they have serious conditions that were not found out. In addition to that, the
user could get overwhelmed by the amount of diagnosis the system could provide and
then they would not be able to decide which of those match their symptoms most and
that could delay the recovery and their situation could worsen.

master file definition.

A collection of records pertaining to one of the main subjects of an


information system, such as customers, employees, products and vendors.
Master files contain descriptive data, such as name and address, as well as
summary information, such as amount due and year-to-date sales.

transaction file definition.

A collection of transaction records. The data in transaction files is used to


update the master files. Transaction files also serve as audit trails and history
for the organization. Where before they were transferred to offline storage
after some period of time, they are increasingly being kept online for routine
analyses. See data warehouse, transaction processing and information system.

data processing system definition.

a data processing system is a combination of machines, people, and processes


that for a set of inputs produces a defined set of outputs.

types of data processing systems.


*batch processing*

it is often not desirable to deal with a set of data inputs until a certain number
have occurred or a set time has passed. so they are stored until the system
comes online to process the data in one 'batch'. after loading the data into the
system, batch processing does not usually require any further interaction on the
part of the user. therefore the user interface is often code-based. the user enters
the parameters of the batch run then leaves it to carry on.

*online processing*

interactive processing takes place one transaction at a time. once the transaction
is accepted, the database will be updated. for example, if you use an online
system to book a hotel room, you will fill in a web form, submit it and it will
come back to inform you of the room you have booked. the user interface is
very important with interactive processing. it must be clear, intuitive, easy to
use and responsive. usually a fair bit of data validation also takes place to ensure
the correct input data is present. for instance, the form may check that you have
entered an address or telephone number.

*real-time processing*

real time processing is usually found in systems that use computer control. this
processing method is used when it is essential that the input request is dealt with
quickly enough so as to be able to control an output properly. real time
processing has to be programmed very carefully to ensure that no input events
are missed. the user interface of a real-time system may use specialist input
devices to provide data input. for example, a gamer may be using a joystick or
hand held control to interact with the real-time game.

You might also like