Top Banner
Artificial Intelligence and Expert Systems Leroy Garcia 1
48

Artificial Intelligence and Expert Systems

Feb 23, 2016

Download

Documents

Hiền

Leroy Garcia. Artificial Intelligence and Expert Systems. Definition of AI. Artificial Intelligence is the branch of computer science that is concerned with the automation of intelligent behavior (Luger, 2008). . Different Approaches to AI. History. Aristotle Rene Descartes Frances Bacon - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Artificial Intelligence and Expert Systems

Artificial Intelligence and Expert Systems

Leroy Garcia

1

Page 2: Artificial Intelligence and Expert Systems

Definition of AI

Artificial Intelligence is the branch of computer science that is concerned with the automation of intelligent behavior (Luger, 2008).

2

Page 3: Artificial Intelligence and Expert Systems

Different Approaches to AI

Systems that think like humans

Systems that think rational

Systems that act like humans Systems that act rational

3

Page 4: Artificial Intelligence and Expert Systems

History

Aristotle Rene Descartes Frances Bacon John Locke David Hume Ludwig Wittgenstein Bertrand Russell Rudolf Carnap Carl Hempel Alan Turing

4

Page 5: Artificial Intelligence and Expert Systems

Alan Turing

Wrote “Computer Machinery and Intelligence”.

The Turing Test

5

Page 6: Artificial Intelligence and Expert Systems

Dartmouth 1956

Automatic ComputersHow can computers be programmed

to use a language?Neuron NetsTheory of the Size of a CalculationSelf-Improvement (Machine

Learning)AbstractionsRandomness and Creativity

6

Page 7: Artificial Intelligence and Expert Systems

Acting Human

Natural Language ProcessingKnowledge RepresentationAutomated ReasoningMachine Learning

7

Page 8: Artificial Intelligence and Expert Systems

Rational Agents

Anything that can be viewed as perceiving it’s environment through sensors and acting upon it’s environment through actuators.

(Russell & Norvig, 2003)

8

Page 9: Artificial Intelligence and Expert Systems

Rational Agents cont.

9

Page 10: Artificial Intelligence and Expert Systems

PEAS

Performance Measure EnvironmentActuatorsSensors

Task Environment Made up of PEAS.

10

Page 11: Artificial Intelligence and Expert Systems

Examples of Agent Types and PEAS

11

Page 12: Artificial Intelligence and Expert Systems

Dimensions of a Task EnvironmentFully Observable vs. Partially

ObservableDeterministic vs. StochasticEpisodic vs. SequentialStatic vs. DynamicDiscrete vs. ContinuousSingle Agent vs. Multiagent

12

Page 13: Artificial Intelligence and Expert Systems

Fully Observable vs. Partially Observable

Fully Observable Sensors must provide a complete state

of environment.

Partially Observable Usually due to poor an inaccurate

sensors or if parts of the world are missing the sensor’s data.

13

Page 14: Artificial Intelligence and Expert Systems

Deterministic vs. StochasticDeterministic

The action of the next state depends on the action of the previous state.

Stochastic Actions do not depend on previous state.

14

Page 15: Artificial Intelligence and Expert Systems

Episodic vs. Sequential

Episodic Single actions are performed.

Sequential Future decisions are determined by the

current action.

15

Page 16: Artificial Intelligence and Expert Systems

Static vs. Dynamic

Static Does not change during an agent’s

deliberation.

Dynamic Able to change during an agent’s

deliberation.

16

Page 17: Artificial Intelligence and Expert Systems

Discrete vs. Continuous

Discrete Contains finite number of distinct states

and a discrete state of percepts and actions.

Continuous Contains a range of continuous values

17

Page 18: Artificial Intelligence and Expert Systems

Single Agent vs. MultiagentSingle Agent

One agent is needed to execute an action on a given environment.

Multiagent More than one agent is needed to

execute an action on a given environment.

18

Page 19: Artificial Intelligence and Expert Systems

Examples of Agents and Task Environments

19

Page 20: Artificial Intelligence and Expert Systems

Types of Agents

Simple Reflex AgentModel Based Reflex AgentGoal Based AgentUtility AgentLearning AgentProblem Solving Agent

20

Page 21: Artificial Intelligence and Expert Systems

Simple Reflex Agent

Selects action based on the current percept and pays no attention to any previous percept.

21

Page 22: Artificial Intelligence and Expert Systems

Model Based Reflex Agent Maintains at least some form of internal state

that depends on the percept history and thereby reflects some of the unobserved aspects of the current state.

22

Page 23: Artificial Intelligence and Expert Systems

Goal Based Agent

Performs actions based on a specific goal.

23

Page 24: Artificial Intelligence and Expert Systems

Utility Based Agent

Takes into account it’s current environment and decides to act on an action that simply makes it happier.

24

Page 25: Artificial Intelligence and Expert Systems

Learning Agent

Learning ElementPerformance ElementCriticProblem Generator

25

Page 26: Artificial Intelligence and Expert Systems

Learning Agent cont.

26

Page 27: Artificial Intelligence and Expert Systems

Problem Solving Agent

State Space Initial StateSuccessor FunctionGoal TestPath Cost

27

Page 28: Artificial Intelligence and Expert Systems

Example of States

28

Page 29: Artificial Intelligence and Expert Systems

Searching for Solutions

Search Tree States Parent Node Action Path Cost Depth

29

Page 30: Artificial Intelligence and Expert Systems

Evaluation of a Search

CompletenessOptimalityTime ComplexitySpace Complexity

30

Page 31: Artificial Intelligence and Expert Systems

Various Types of SearchesBreadth-First SearchUniform-Cost SearchDepth-First SearchDepth-Limited Search Iterative Deepening Depth-First

Search

31

Page 32: Artificial Intelligence and Expert Systems

Breadth-First Search

Expands the root node first, then all the root node successors are expanded followed by other successors.

32

Page 33: Artificial Intelligence and Expert Systems

Uniform-Cost Search

Expands a node with the lowest path cost.

Only cares about the total cost and does not care about the number of steps a path has.

33

Page 34: Artificial Intelligence and Expert Systems

Depth-First Search Expands the deepest node and the current fringe

of the search tree. Implements a last-in-first-out methodology.

34

Page 35: Artificial Intelligence and Expert Systems

Depth-Limited Search

Solves infinite path problems and can be implemented as a single modification to the general tree search algorithm by setting a depth limit.

35

Page 36: Artificial Intelligence and Expert Systems

Iterative Deepening Depth-First Search

Is used to find the best Depth Limit.A goal is found when a Depth Limit

reaches the depth of the shallowest node.

36

Page 37: Artificial Intelligence and Expert Systems

Iterative Deepening Depth-First Search cont.

37

Page 38: Artificial Intelligence and Expert Systems

Questions?

Any Questions on AI?

38

Page 39: Artificial Intelligence and Expert Systems

Expert Systems

Definition “An expert system is an interactive

computer-based decision tool that uses both facts and heuristics to solve difficult decision problems based on the knowledge acquired from an expert.”(The Fundamentals of Expert Systems)

39

Page 40: Artificial Intelligence and Expert Systems

Types of Expert Systems

Interpreting and IdentifyingPredictingDiagnosingDesigningPlanningMonitoringDebugging and Testing Instructing and TrainingControlling

40

Page 41: Artificial Intelligence and Expert Systems

Creating an Expert System

41

Page 42: Artificial Intelligence and Expert Systems

Expert System Programming Languages

PROLOGLISP

42

Page 43: Artificial Intelligence and Expert Systems

Mandatory Characteristics

Efficient mix of integer and real variables Good memory-management procedures Extensive data-manipulation routines Incremental compilation Tagged memory architecture Optimization of the systems

environment Efficient search procedures

43

Page 44: Artificial Intelligence and Expert Systems

Levels of an Expert System Knowledge base

Problem-solving rules, procedures, and intrinsic data relevant to the problem domain.

Working memory Task-specific data for the problem under

consideration.   Inference engine

Generic control mechanism that applies the axiomatic knowledge in the knowledge base to the task-specific data to arrive at some solution or conclusion.

44

Page 45: Artificial Intelligence and Expert Systems

Expert Systems Organizational and Operating Environment

45

Page 46: Artificial Intelligence and Expert Systems

Data Flow of an Expert System

46

Page 47: Artificial Intelligence and Expert Systems

References  Expert Systems: Wikipedia. (n.d.). Retrieved October 18, 2008, from

Wikipedia: wikipedia - http://en.wikipedia.org/wiki/Expert_system  Fogel, D. B. (2002). Blondie24: Playing at the Edge of AI. San

Fransisco,CA: Morgan Kaufman Publishers.  Luger, G. F. (2008). Artificial Intelligence. Boston: Pearson Addison

Wesley.  Russell, S., & Norvig, P. (2003). Artificial Intelligence: A Modern

Approach. Upper Saddle River, NJ: Pearson Education Inc.

The Fundamentals of Expert Systems. (n.d.). Retrieved November 13, 2008, from http://media.wiley.com/product_data/excerpt/18/04712933/0471293318.pdf

47

Page 48: Artificial Intelligence and Expert Systems

The End

Any Questions?

48