Professional Documents
Culture Documents
Session 3 Slides
What is an Expert system
🠶 An expert system (ES) is a knowledge-based system that
employs knowledge about its application domain and uses
an inferencing (reason) procedure to solve problems that
would otherwise require human competence or expertise.
🠶 The power of expert systems stems primarily from the
specific knowledge about a narrow domain stored in the
expert system's knowledge base.
What is an Expert system?
🠶 It is important to note that expert systems are assistants to
decision makers and not substitutes for them.
🠶 Expert systems do not have human capabilities.
🠶 They use a knowledge base of a particular domain and
bring that knowledge to bear on the facts of the particular
situation at hand.
🠶 The knowledge base of an ES also contains heuristic
knowledge - rules of thumb used by human experts who
work in the domain.
Characteristics of Expert Systems
🠶 High performance
🠶 Understandable
🠶 Reliable
🠶 Highly responsive
.
Capabilities of Expert Systems
🠶 The expert systems are capable of −
🠶 Advising
🠶 Instructing and assisting human in decision making
🠶 Demonstrating
🠶 Deriving a solution
🠶 Diagnosing
🠶 Explaining
🠶 Interpreting input
🠶 Predicting results
🠶 Justifying the conclusion
🠶 Suggesting alternative options to a problem
Capabilities of Expert Systems
🠶 They are incapable of −
🠶 Substituting human decision makers
🠶 Possessing human capabilities
🠶 Producing accurate output for inadequate knowledge base
🠶 Refining their own knowledge
Components of Expert Systems
🠶 The components of ES include −
🠶 Knowledge Base
🠶 Inference Engine
🠶 User Interface
Knowledge representation
🠶 This rule base would be searched and the first rule would be
selected, because its antecedent (If Fritz croaks and eats flies)
matches our data.
🠶 Now the consequents (Then X is a frog) is added to the data.
🠶 The rule base is again searched and this time the third rule is
selected, because its antecedent (If Fritz is a frog) matches our
data that was just confirmed.
🠶 Now the new consequent (Then Fritz is green) is added to our
data
Forward Chaining
Backward Chaining
🠶 With this strategy, an expert system finds out the answer to
the question, “Why this happened?”
🠶 Backward chaining starts from the goal and works
backward through inference rules to find the required facts
that support the goal.
🠶 On the basis of what has already happened, the Inference
Engine tries to find out which conditions could have
happened in the past for this result.
🠶 This strategy is followed for finding out cause or reason.
🠶 For example, diagnosis of blood cancer in humans.
Backward Chaining
User interface
🠶 Materials to assist
🠶 Check the example pdf for your reference
🠶 https://www.javatpoint.com/forward-chaining-and-backward-chaining-in-ai
🠶 Due date: 27 November 2020
🠶 30 marks
PROLOG
🠶 Prolog is a logic programming language associated with artificial intelligence
and computational linguistics.
🠶 Prolog has its roots in first-order logic, a formal logic, and unlike many other
programming languages, Prolog is intended primarily as a declarative
programming language:
🠶 the program logic is expressed in terms of relations, represented as facts and
rules.
🠶 A computation is initiated by running a query over these relations
PROLOG
🠶 Prolog was one of the first logic programming languages, and remains the
most popular among such languages today, with several free and commercial
implementations available.
🠶 The language has been used for theorem proving, expert systems as well as its
original intended field of use, natural language processing.
🠶 Modern Prolog environments support the creation of graphical user interfaces,
as well as administrative and networked applications.