Chapter 3: Methods of Inference Expert Systems: Principles and Programming, Fourth Edition.

Slides:



Advertisements
Similar presentations
Representing Boolean Functions for Symbolic Model Checking Supratik Chakraborty IIT Bombay.
Advertisements

Semantics Static semantics Dynamic semantics attribute grammars
CSC411Artificial Intelligence 1 Chapter 3 Structures and Strategies For Space State Search Contents Graph Theory Strategies for Space State Search Using.
Bayesian Network and Influence Diagram A Guide to Construction And Analysis.
CHAPTER 13 Inference Techniques. Reasoning in Artificial Intelligence n Knowledge must be processed (reasoned with) n Computer program accesses knowledge.
Chapter 4: Reasoning Under Uncertainty
Intelligent systems Lecture 6 Rules, Semantic nets.
Chapter 12: Expert Systems Design Examples
C++ Programming: Program Design Including Data Structures, Third Edition Chapter 21: Graphs.
A Differential Approach to Inference in Bayesian Networks - Adnan Darwiche Jiangbo Dang and Yimin Huang CSCE582 Bayesian Networks and Decision Graph.
Introduction to Expert Systems
1 Trees. 2 Outline –Tree Structures –Tree Node Level and Path Length –Binary Tree Definition –Binary Tree Nodes –Binary Search Trees.
1 Chapter 9 Rules and Expert Systems. 2 Chapter 9 Contents (1) l Rules for Knowledge Representation l Rule Based Production Systems l Forward Chaining.
Rules and Expert Systems
Chapter 3: Methods of Inference
Marakas: Decision Support Systems, 2nd Edition © 2003, Prentice-Hall Chapter Chapter 7: Expert Systems and Artificial Intelligence Decision Support.
1 Structures and Strategies for State Space Search 3 3.0Introduction 3.1Graph Theory 3.2Strategies for State Space Search 3.3Using the State Space to Represent.
Lecture 10 Topics: Sequential circuits Basic concepts Clocks
Tree.
Chapter 11: Artificial Intelligence
Notes for Chapter 12 Logic Programming The AI War Basic Concepts of Logic Programming Prolog Review questions.
Chapter 3: Methods of Inference
13: Inference Techniques
Methods of Inference. 2 Objectives Learn the definitions of trees, lattices, and graphs Learn about state and problem spaces Learn about AND-OR trees.
 Predicate: A sentence that contains a finite number of variables and becomes a statement when values are substituted for the variables. ◦ Domain: the.
CS261 Data Structures Trees Introduction and Applications.
Chapter 7 Recursion 1CSCI 3333 Data Structures. 2 Recurrent Sequence A recursively defined sequence – First, certain initial values are specified  c.f.,
Introduction Of Tree. Introduction A tree is a non-linear data structure in which items are arranged in sequence. It is used to represent hierarchical.
Lecture 10 Trees –Definiton of trees –Uses of trees –Operations on a tree.
Tree A connected graph that contains no simple circuits is called a tree. Because a tree cannot have a simple circuit, a tree cannot contain multiple.
Chapter 10-A Trees Modified
Chapter 9: Rules and Expert Systems Lora Streeter.
1 CHAPTER 13 Decision Support Systems and Intelligent Systems, Efraim Turban and Jay E. Aronson 6th ed, Copyright 2001, Prentice Hall, Upper Saddle River,
Logical Agents Logic Propositional Logic Summary
Reasoning in Uncertain Situations
CS 415 – A.I. Slide Set 5. Chapter 3 Structures and Strategies for State Space Search – Predicate Calculus: provides a means of describing objects and.
Discrete Structures Lecture 12: Trees Ji Yanyan United International College Thanks to Professor Michael Hvidsten.
TREES. What is a tree ? An Abstract Data Type which emulates a tree structure with a set of linked nodes The nodes within a tree are organized in a hierarchical.
Machine Learning Chapter 5. Artificial IntelligenceChapter 52 Learning 1. Rote learning rote( โรท ) n. วิถีทาง, ทางเดิน, วิธีการตามปกติ, (by rote จากความทรงจำ.
Data Structures TREES.
CS62S: Expert Systems Based on: The Engineering of Knowledge-based Systems: Theory and Practice, A. J. Gonzalez and D. D. Dankel.
DEDUCTIVE VS. INDUCTIVE REASONING. Problem Solving Logic – The science of correct reasoning. Reasoning – The drawing of inferences or conclusions from.
Reasoning Under Uncertainty. 2 Objectives Learn the meaning of uncertainty and explore some theories designed to deal with it Find out what types of errors.
CS 103 Discrete Structures Lecture 13 Induction and Recursion (1)
Chapter 2: The Representation of Knowledge
Trees By P.Naga Srinivasu M.tech,(MBA). Basic Tree Concepts A tree consists of finite set of elements, called nodes, and a finite set of directed lines.
1 CS 385 Fall 2006 Chapter 7 Knowledge Representation 7.1.1, 7.1.5, 7.2.
More Trees Discrete Structures (CS 173)
Data Structures Lakshmish Ramaswamy. Tree Hierarchical data structure Several real-world systems have hierarchical concepts –Physical and biological systems.
Chapter 20: Graphs. Objectives In this chapter, you will: – Learn about graphs – Become familiar with the basic terminology of graph theory – Discover.
Chapter 6 – Trees. Notice that in a tree, there is exactly one path from the root to each node.
Representation and Search The function of a representation is to capture the critical features of the problem domain –and make the information accessible.
Chapter 4: Reasoning Under Uncertainty Expert Systems: Principles and Programming, Fourth Edition Original by Course Technology Modified by Ramin Halavati.
Artificial Intelligence Knowledge Representation.
Explaining and Controlling Reasoning Dr Nicholas Gibbins 32/3077.
Network Management Lecture 13. MACHINE LEARNING TECHNIQUES 2 Dr. Atiq Ahmed Université de Balouchistan.
Methods of Inference 1 Session 5 Course: T0273 – EXPERT SYSTEMS Year: 2014.
Chapter 3: Methods of Inference
Methods of Inference 2 Session 6
The Representation of Knowledge 1 Session 3
Graph Coverage Criteria CS 4501 / 6501 Software Testing
Chapter 3: Methods of Inference
Reasoning Under Uncertainty in Expert System
Knowledge Representation
Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103 Chapter 10 Trees Slides are adopted from “Discrete.
Knowledge Representation
Chapter 14 February 26, 2004.
Basic Search Methods How to solve the control problem in production-rule systems? Basic techniques to find paths through state- nets. For the moment: -
Presentation transcript:

Chapter 3: Methods of Inference Expert Systems: Principles and Programming, Fourth Edition

2 Objectives Learn the definitions of trees, lattices, and graphs Learn about state and problem spaces Learn about AND-OR trees and goals Explore different methods and rules of inference Learn the characteristics of first-order predicate logic and logic systems

Expert Systems: Principles and Programming, Fourth Edition3 Objectives Discuss the resolution rule of inference, resolution systems, and deduction Compare shallow and causal reasoning How to apply resolution to first-order predicate logic Learn the meaning of forward and backward chaining

Expert Systems: Principles and Programming, Fourth Edition4 Objectives Explore additional methods of inference Learn the meaning of Metaknowledge Explore the Markov decision process

Expert Systems: Principles and Programming, Fourth Edition5 Trees A tree is a hierarchical data structure consisting of: –Nodes – store information –Branches – connect the nodes The top node is the root, occupying the highest hierarchy. The leaves are at the bottom, occupying the lowest hierarcy.

Expert Systems: Principles and Programming, Fourth Edition6 Trees Every node, except the root, has exactly one parent. Every node may give rise to zero or more child nodes. A binary tree restricts the number of children per node to a maximum of two. Degenerate trees have only a single pathway from root to its one leaf.

Expert Systems: Principles and Programming, Fourth Edition7 Figure 3.1 Binary Tree

Expert Systems: Principles and Programming, Fourth Edition8 Graphs Graphs are sometimes called a network or net. A graph can have zero or more links between nodes – there is no distinction between parent and child. Sometimes links have weights – weighted graph; or, arrows – directed graph. Simple graphs have no loops – links that come back onto the node itself.

Expert Systems: Principles and Programming, Fourth Edition9 Graphs A circuit (cycle) is a path through the graph beginning and ending with the same node. Acyclic graphs have no cycles. Connected graphs have links to all the nodes. Digraphs are graphs with directed links. Lattice is a directed acyclic graph.

Expert Systems: Principles and Programming, Fourth Edition10 Figure 3.2 Simple Graphs

Expert Systems: Principles and Programming, Fourth Edition11 Making Decisions Trees / lattices are useful for classifying objects in a hierarchical nature. Trees / lattices are useful for making decisions. We refer to trees / lattices as structures. Decision trees are useful for representing and reasoning about knowledge.

Expert Systems: Principles and Programming, Fourth Edition12 Binary Decision Trees Every question takes us down one level in the tree. A binary decision tree having N nodes: –All leaves will be answers. –All internal nodes are questions. –There will be a maximum of 2 N answers for N questions. Decision trees can be self learning. Decision trees can be translated into production rules.

Expert Systems: Principles and Programming, Fourth Edition13 Decision Tree Example

Expert Systems: Principles and Programming, Fourth Edition14 Decision Tree Example

Expert Systems: Principles and Programming, Fourth Edition15 State and Problem Spaces A state space can be used to define an object’s behavior. Different states refer to characteristics that define the status of the object. A state space shows the transitions an object can make in going from one state to another.

Expert Systems: Principles and Programming, Fourth Edition16 Finite State Machine A FSM is a diagram describing the finite number of states of a machine. At any one time, the machine is in one particular state. The machine accepts input and progresses to the next state. FSMs are often used in compilers and validity checking programs.

Expert Systems: Principles and Programming, Fourth Edition17 Using FSM to Solve Problems Characterizing ill-structured problems – one having uncertainties. Well-formed problems: – Explicit problem, goal, and operations are known –Deterministic – we are sure of the next state when an operator is applied to a state. –The problem space is bounded. –The states are discrete.

Expert Systems: Principles and Programming, Fourth Edition18 Figure 3.5 State Diagram for a Soft Drink Vending Machine Accepting Quarters (Q) and Nickels (N)

Expert Systems: Principles and Programming, Fourth Edition19

Expert Systems: Principles and Programming, Fourth Edition20

Expert Systems: Principles and Programming, Fourth Edition21 AND-OR Trees and Goals 1990s, PROLOG was used for commercial applications in business and industry. PROLOG uses backward chaining to divide problems into smaller problems and then solves them. AND-OR trees also use backward chaining. AND-OR-NOT lattices use logic gates to describe problems.

Expert Systems: Principles and Programming, Fourth Edition22 AND-OR Trees and Goals

Expert Systems: Principles and Programming, Fourth Edition23 Types of Logic Deduction – reasoning where conclusions must follow from premises Induction – inference is from the specific case to the general Analogy – inferring conclusions based on similarities with other situations Abduction – reasoning back from a true condition to the premises that may have caused the condition

Expert Systems: Principles and Programming, Fourth Edition24 Types of Logic Default – absence of specific knowledge Autoepistemic – self-knowledge Intuition – no proven theory Heuristics – rules of thumb based on experience Generate and test – trial and error

Expert Systems: Principles and Programming, Fourth Edition25 Deductive Logic Argument – group of statements where the last is justified on the basis of the previous ones Deductive logic can determine the validity of an argument. Syllogism – has two premises and one conclusion Deductive argument – conclusions reached by following true premises must themselves be true

Expert Systems: Principles and Programming, Fourth Edition26 Syllogisms vs. Rules Syllogism: –All basketball players are tall. –Jason is a basketball player. –  Jason is tall. IF-THEN rule: IF All basketball players are tall and Jason is a basketball player THEN Jason is tall.

Expert Systems: Principles and Programming, Fourth Edition27 Figure 3.21 Causal Forward Chaining