Professional Documents
Culture Documents
We declare that this work, submitted to Dr. Alicia Tang as a partial fulfilment of the
requirements for the CSNB234 (Artificial Intelligence) course has not been loaned to
other groups for copying purposes. We also certify that the work described in the
report is entirely our own effort except for summaries or paragraphs whose sources
are appropriately cited in the bibliography or references.
The use of Inference engine also known as rule interpreter is to interpret and evaluate
the facts in the knowledge base in order to provide an answer. Its a main processing
element of the expert system. The inference engine chooses the rules from agenda to
fire. If there is no rules in the agenda, the inference engine have to obtain information
from the user in order to add more rules to the agenda. This will make use of knowledge
base, in order to draw conclusions for situations. The inference engines responsible is
to gather the information from the user and ask various questions and apply it wherever
necessary. Inference engine operates by using modus ponen rule. The control strategy
determines the order in which rules are applied.
Inference engine work primarily in one of two modes which are forward chaining and
backward chaining. Forward chaining starts with the known facts and asserts new
facts. However backward chaining takes goals to prove and works backward
determining what must be true to assert the goals.
Shows you how the components of an expert system interact to provide advice.
The Explanation facility in an expert system
Explanation facility explains the reasoning of the system to the user that allows the user
to ask why it asked some question and how it reached some conclusion. The questions
are answered by referring to the system goals, the rules being used, and any existing
problem data. Giving such an explanation facility includes, at least, recording what rules
are used in drawing conclusions, and using these records to compose explanations.
Giving simple explanations is not very difficult because the answers always have a
simple set form and is sometimes quite useful. Besides that, the explanation facilities in
expert systems are often not widely used, and where used not viewed as acceptable by
their users. There are a whole lot of reasons for this, motivating current research in the
area. One reason is that the explanations just reference the ``surface'' knowledge
encoded in the rules, rather than the ``deep'' knowledge about the domain which
originally motivated the rules (but which is usually not represented). So, the system will
say that it concluded X because of rule23, but not explain what rule23 is all about.
Another stated reason for the frequent failure of explanation facilities is the fact that, if
the user fails to understand or accept the explanation, the system can't re-explain in
another way (as people can). Explanation generation is a fairly large (and fascinating)
area of research, concerned with effective communication: how to we present things so
that people are really satisfied with the explanation, and what implications does this
have for how we represent the underlying knowledge.
Question 2:
a) A=Load_weight
B=Water_Amount
C=Detergent_amount
D=Wash_Amount
E=Spinning_speed F=Wash_type
b) A=Load_weight [light,medium,heavy]
B=Water_Amount [small,medium,large]
C=Detergent_amount [small,medium,large]
D=Wash_Amount [light,medium,heavy]
E=Spinning_speed [slow,normal,fast]
F=Temperature[cold,medium, warm,hot]
F=Wash_type [light color, bright color, nylon, cotton]
a)
Genetic algorithm is a search heuristic that mimics the process of natural selection.
This heuristic is routinely used to generate useful solutions to optimization and search
problems.Genetic algorithms belong to the larger class of evolutionary algorithms,which
generate solutions to optimization problems using techniques inspired by natural
evolution, such as inheritance, mutation, selection, and crossover.
b)
Reference link:
http://en.wikipedia.org/wiki/Fitness_function
http://en.wikipedia.org/wiki/Genetic_algorithm
http://en.wikipedia.org/wiki/Inference_engine
http://cinuresearch.tripod.com/ai/www-cee-hw-ac-
uk/_alison/ai3notes/subsection2_5_3_2.html
http://expertise2go.com/webesie/tutorials/inference/