Chapter 3: Methods of Inference

Slides:



Advertisements
Similar presentations
CSC411Artificial Intelligence 1 Chapter 3 Structures and Strategies For Space State Search Contents Graph Theory Strategies for Space State Search Using.
Advertisements

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
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
Chapter 3: Methods of Inference Expert Systems: Principles and Programming, Fourth Edition.
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.
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.
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,
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.
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.
Chapter 2: The Representation of Knowledge
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.
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.
Knowledge Engineering. Sources of Knowledge - Books - Journals - Manuals - Reports - Films - Databases - Pictures - Audio and Video Tapes - Flow Diagram.
Explaining and Controlling Reasoning Dr Nicholas Gibbins 32/3077.
Methods of Inference 1 Session 5 Course: T0273 – EXPERT SYSTEMS Year: 2014.
Knowledge Representation
Knowledge Representation Techniques
Deductive Reasoning, Postulates, and Proofs
Valid and Invalid Arguments
Data Structures and Design in Java © Rick Mercer
1.3 Finite State Machines.
Methods of Inference 2 Session 6
The Representation of Knowledge 1 Session 3
Graph Coverage Criteria CS 4501 / 6501 Software Testing
CS 367 – Introduction to Data Structures
Chapter 3: Methods of Inference
Reasoning Under Uncertainty in Expert System
Argumentation and Persuasion
Structural testing, Path Testing
Knowledge Representation
i206: Lecture 13: Recursion, continued Trees
Chapter 1.
Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103 Chapter 10 Trees Slides are adopted from “Discrete.
Logical architecture refinement
Inductive and Deductive Logic
CSCI-2400 Models of Computation.
Graph Coverage Criteria CS 4501 / 6501 Software Testing
Lecture 36 Section 12.2 Mon, Apr 23, 2007
Copyright © Cengage Learning. All rights reserved.
Knowledge Representation
Graphs.
Important Problem Types and Fundamental Data Structures
Two – One Problem Legal Moves: Slide Rules: 1s’ move right Hop
Two – One Problem Legal Moves: Slide Rules: 1s’ move right Hop
Propositional Logic 1) Introduction Copyright 2008, Scott Gray.
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

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 Edition

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 Edition

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

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 Edition

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 Edition

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

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 Edition

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 Edition

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

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 Edition

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 2N answers for N questions. Decision trees can be self learning. Decision trees can be translated into production rules. Expert Systems: Principles and Programming, Fourth Edition

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

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

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 Edition

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 Edition

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 Edition

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

Expert Systems: Principles and Programming, Fourth Edition

Expert Systems: Principles and Programming, Fourth Edition

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 Edition

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

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 Edition

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 Edition

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 Edition

Syllogisms vs. Rules Syllogism: IF-THEN rule: 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 Edition

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