It 9626 CH7
It 9626 CH7
Once the knowledge base is built, it can be used by the expert system to inform the
questions it needs to ask and assist in providing the results.
Rule 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 or a 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.
Inference Engine:
The inference engine is the part of the expert system that makes judgements and
reasoning using the knowledge base and user responses. It is designed to produce
reasoning based on a set of rules.
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.
Advantages Disadvantages
They provide answers to questions They do not have the addition of
that are outside a user’s knowledge common sense that humans have. This
and experience. means that their response can only be
a logical one
and cannot have a creative approach.
They can aid professionals in areas Errors in the knowledge base or
where their knowledge and experience inference engine will produce errors in
are a little the results. Therefore, they are only as
weaker. good as the data and rules, they are
given.
As they use a logical process, they are They are not able to automatically
consistent in the answers that they adapt to
give. changing environments. This requires
the knowledge base to be changed.
They can be accessed on a 24/7 basis. They are expensive to produce as they
require a great deal of time and effort
from experts and developers.
They can often reduce the time taken
to
solve a problem and the questioning
and reasoning process may be much
quicker than
an interaction between humans.
Using expert systems reached. may
mean that a less skilled workforce is
needed, as the
system will provide the knowledge and
experience they need.
1. First of all, the geologist enters data about the types of rocks and geological
structure as well as the minerals to be found at the site under
consideration.
2. The expert system’s knowledge base will store models of successful drilling
sites and their associated minerals together with a rules base.
3. The inference engine then compares this data with the models in the
knowledge base using the IF…THEN rules in the rules base.
4. The system may well ask the geologist further questions through the user
interface and the resulting percentage probabilities of finding the mineral
at this site are produced.
Investment Analysis
Expert systems have been developed which act as assistants to financial advisors at
many banks. The financial advisor still makes the final decision, but the expert
system proves to be a very useful tool in helping the advisor make
recommendations to would-be investors. When making a decision, it is important
for the financial advisor to know four things about the investor:
1. The user interface asks questions in the everyday language of the investor
based on the above factors.
2. Depending on the answers to the questions, the system may ask further
questions through the user interface.
3. The database of facts will consist of all the information the bank has gathered
over the years about the performance and stability of different companies.
4. The rules in the rules base will have been originally created by an expert
investor.
5. The inference engine will search the database of facts using the rules from
the rules base.
6. The expert system will then produce recommendations for purchasing stocks
or shares in a company, together with the reasons for recommending these
particular stocks and shares.
Financial Planning
Personal financial planning has become so complex that it is extremely difficult for
one human expert to deal with it. The result is a need for computerized expert
systems to assist in the process. There are so many variables to deal with that only
a few can be considered by one person in the time usually available.
Insurance Planning
Life insurance is taken out against an individual’s life. Should the person die then
his or her relatives receive a fixed amount of money. Car insurance is when a person
insures their car against damage or theft. Property insurance involves safeguarding
against damage or destruction to property.
1. In order to set up an expert system, insurance experts would be interviewed
by the knowledge engineer and all the policies that the banks currently offers
would be examined.
2. The results would then be used to create the knowledge base, including the
rules based on those used by the experts when arriving at their decision.
3. The process of calculating life or health insurance premiums (monthly
payments) involves the consideration of a number of factors, such as the
individual’s age, gender, whether or not they smoke, and their general
health.
4. An insurance expert system’s user interface will ask questions of the user and
based on their responses will, through the use of the inference engine,
compare these inputs with the facts in the knowledge base. Using the rules
which have been created, it will produce a recommendation for the cost of
the individual’s premium.
5. It may, of course, recommend that the application be rejected. Many banks
use human insurance consultants who will use the expert system’s
recommendations to make a final decision.
Like any type of mechanical equipment, motor vehicle engines can develop faults.
When this happens, the driver has to seek the help of a mechanic (expert) who
knows a lot about vehicle engines. A systematic approach to the diagnosis of faults
is required, as the amount of knowledge required is so vast and there are many
steps which need to be followed in order to identify the fault.
1. The use of expert systems is often based on the expert system’s user
interface asking questions regarding the problems with the car and the
mechanic typing in the symptoms.
2. The expert system would then supply a list of possible causes of the problem
and the mechanic would decide which of the suggestions are most likely.
expert systems have been developed in which the readings from the sensors
are used by an inference engine, after comparison with those in the
knowledge base, to produce a list of possible faults.
3. Although, again, with this system, the mechanic makes the final decision.
Route Scheduling for Delivery Vehicles
For most manufacturing companies, the cost of transport is a major part of their
outgoings. Therefore, it is essential that companies use their transport vehicles as
efficiently as possible. For example, a company which manufactures washing
machines might have to deliver these washing machines to distribution points at
the cheapest cost. If the company is situated in a country which occupies a large
area, this makes the problem rather difficult. It could be that it has several
distribution points in different parts of the country, each with several delivery
vehicles, each of which may be a different size and may be available at different
times. The problem then becomes, how do you ensure that the available vehicles
provide coverage of all the distribution points but travel the least number of miles?
1. An expert system can have the locations of each distribution point in its
database of facts, together with the type and speed of the vehicle being
used, the total available time and perhaps other constraints such as the
topology or terrain of each road, whether it is mountainous or flat for
example.
2. The expert system would examine the orders for the day, total the weights
for the order for each location and the inference engine would match those
against the available types of vehicle.
3. The expert system would suggest an allocation of orders to each vehicle and
suggest a list of machines in reverse order so that each vehicle had the first
order loaded on to the vehicle last.
4. The company’s vehicle scheduler would take these suggestions from the
expert system and decide on the number of vehicles needed and would know
the total time to be taken.
There are many hundreds of thousands of different species of plants and the
number of different species of animals runs into millions. Identification of
either plants or animals can prove difficult, particularly with rare species, but
it has become extremely important with climate change affecting the existence
of certain species.
1. When considering plant or animal identification then, an expert system
would be helpful. The inference engine would use a series of IF…THEN rules.
Plants can be possibly divided into whether they are woody or herbaceous.
2. IF they are woody the system, through the user interface, could ask another
question, such as whether they have a single trunk, which would lead in turn
to other questions based on the shape/type of leaf and so on.
3. The database of facts, which would be interrogated by the inference engine,
would include the data regarding all knowledge about as many species as
possible.
4. This type of system would ask questions rather than inviting the expert to
type in details about the plant. Animal classification or identification follows
a similar pattern.
Backward Chaining
Backward chaining is often referred to as goal-driven. This is because it starts with
a goal or set of goals that basically establish which rules are to be followed. It works
backwards from the goals. As we said earlier, the rules in an expert system are
based on the IF…THEN construct. When an inference engine uses backward
chaining, it explores the rules the system has been given until it finds one which
has a THEN part that matches a required goal. If the IF part of that rule is known to
be true, then it is added to the list of goals.
Forward Chaining
We are now going to compare the above method of reasoning with forward
chaining. Forward chaining is often referred to as data-driven, because the data
entered into the system determines which rules are selected and used. When an
inference engine uses forward chaining, it explores the rules the system has been
given until it finds one which has an IF part that is true. It takes the THEN part to
add new facts. This process is repeated until a goal is achieved.