SlideShare uma empresa Scribd logo
1 de 40
Chapter 2: Intelligent Agents
Outline
2
CS 420: Artificial Intelligence
Last class, introduced AI and rational agent
Today’s class, focus on intelligent agents
Agent and environments
Nature of environments influences agent design
Basic “skeleton” agent designs
Outline
3
CS 420: Artificial Intelligence
Last class, introduced AI and rational agent
Today’s class, focus on intelligent agents
Agent and environments
Nature of environments influences agent design
Basic “skeleton” agent designs
Agents
An agent is anything that can be viewed as
perceiving its environment through sensors and
acting upon that environment through actuators
Examples:
Human agent
Robotic agent
Software agent
4
CS 420: Artificial Intelligence
Terminologies
5
CS 420: Artificial Intelligence
Percept: the agent’s perceptual inputs
Percept sequence: the complete history of
everything the agent has perceived
Agent function maps any given percept sequence to
an action [f: p* A]
The agent program runs on the physical architecture
to produce f
Agent = architecture + program
Questions
6
CS 420: Artificial Intelligence
Can there be more than one agent program
that implements a given agent function?
Given a fixed machine architecture, does
each agent program implement exactly one
agent function?
Vacuum-Cleaner World
Percepts: location and contents, e.g., [A, dirty]
Actions: Left, Right, Suck, NoOp
7
CS 420: Artificial Intelligence
A Simple Agent Function
Percept sequence Action
[A, Clean]
[A, Dirty]
[B, Clean]
[B, Dirty]
[A, Clean], [A, Clean]
[A, Clean], [A, Dirty]
…
[A, Clean], [A, Clean], [A, Clean]
[A, Clean], [A, Clean], [A, Dirty]
…
Right
Suck
Left
Suck
Right
Suck
…
Right
Suck
…
8
CS 420: Artificial Intelligence
Rationality
9
CS 420: Artificial Intelligence
An agent should "do the right thing", based on what it can
perceive and the actions it can perform. The right action is the
one that will cause the agent to be most successful
Performance measure: An objective criterion for success of an
agent's behavior
Back to the vacuum-cleaner example
Amount of dirt cleaned within certain time
+1 credit for each clean square per unit time
General rule: measure what one wants rather than how one
thinks the agent should behave
Rational Agent
10
CS 420: Artificial Intelligence
Definition:
For each possible percept sequence, a rational
agent should select an action that is expected to
maximize its performance measure, given the
evidence provided by the percept sequence and
whatever built-in knowledge the agent has.
Rational Agent
11
CS 420: Artificial Intelligence
Definition:
For each possible percept sequence, a rational
agent should select an action that is expected to
maximize its performance measure, given the
evidence provided by the percept sequence and
whatever built-in knowledge the agent has.
Vacuum–Cleaner Example
12
CS 420: Artificial Intelligence
A simple agent that cleans a square if it is dirty and
moves to the other square if not
Is it rational?
Assumption:
performance measure: 1 point for each clean square at each
time step
environment is known a priori
actions = {left, right, suck, no-op}
agent is able to perceive the location and dirt in that location
Given different assumption, it might not be rational
anymore
Omniscience, Learning and Autonomy
13
CS 420: Artificial Intelligence
Distinction between rationality and omniscience
expected performance vs. actual performance
Agents can perform actions in order to modify future
percepts so as to obtain useful information
(information gathering, exploration)
An agent can also learn from what it perceives
An agent is autonomous if its behavior is determined
by its own experience (with ability to learn and
adapt)
Questions
14
CS 420: Artificial Intelligence
Given the assumption on slide 12. Describe a
rational agent function for the modified
performance measure that deducts one point
for each movement. Does the agent program
require internal state?
Discuss possible agent designs for the cases
in which clean squares can become dirty and
the geography of the environment is
unknown.
Outline
15
CS 420: Artificial Intelligence
Last class, introduced AI and rational agent
Today’s class, focus on intelligent agents
Agent and environments
Nature of environments influences agent design
Basic “skeleton” agent designs
PEAS
16
CS 420: Artificial Intelligence
Specifying the task environment is always
the first step in designing agent
PEAS:
Performance, Environment, Actuators, Sensors
CS 420: Artificial Intelligence
17
Taxi Driver Example
Performance
Measure
Environment Actuators Sensors
safe, fast,
roads, other
traffic,
pedestrians,
customers
steering,
accelerator,
brake,
signal, horn,
display
camera,
sonar,
speedometer,
GPS,
odometer,
engine
sensors,
keyboard,
accelerator
legal,
comfortable
trip,
maximize
profits
DARPA urban challenge 07:
http://www.youtube.com/watch?v=SQFEmR50HAk
Medical Diagnosis System
Performance
Measure
Environment Actuators Sensors
healthy
patient,
minimize
costs, lawsuits
patient,
hospital, staff
display
questions,
tests,
diagnosis,
treatments,
referrals
keyboard
entry of
symptoms,
findings,
patient’s
answers
18
CS 420: Artificial Intelligence
Mushroom-Picking Robot
Performance
Measure
Environment Actuators Sensors
Percentage of
good
mushrooms in
correct bins
Conveyor belt
with
mushrooms,
bins
Jointed arm
and hand
camera, joint
angle sensors
19
CS 420: Artificial Intelligence
Properties of Task Environments
20
CS 420: Artificial Intelligence
Fully observable (vs. partially observable):
An agent's sensors give it access to the complete state of
the environment at each point in time
Deterministic (vs. stochastic):
next state of the env. determined by current state and the
agent’s action
If the environment is deterministic except for the actions of
other agents, then the environment is strategic
Episodic (vs. sequential):
Agent's experience is divided into atomic "episodes"
Choice of action in each episode depends only on the
episode itself
Properties of Task Environments
21
CS 420: Artificial Intelligence
Static (vs. dynamic):
The environment is unchanged while an agent is deliberating
Semidynamic if the environment itself doesn’t change with
time but the agent's performance score does
Discrete (vs. continuous):
A limited number of distinct, clearly defined percepts and
actions
Single agent (vs. multiagent):
An agent operating by itself in an environment
Competitive vs. cooperative
Examples
22
CS 420: Artificial Intelligence
The environment type largely determines the agent design
The real world is (of course) partially observable, stochastic,
sequential, dynamic, continuous, multi-agent
Task Environment Oberservable Deterministic Episodic Static Discrete Agents
Crossword puzzle fully deterministic sequential static discrete single
Chess with a clock fully strategic sequential semi discrete multi
Taxi driver partially stochastic sequential dynamic conti. multi
mushroom-picking partially stochastic episodic dynamic conti. single
Exercises
23
CS 420: Artificial Intelligence
Develop PEAS description for the following
task environment:
Robot soccer player
Shopping for used AI books on the Internet
Analyze the properties of the above
environments
True/False Questions
24
CS 420: Artificial Intelligence
An agent that senses only partial information about
the state cannot be perfectly rational.
Suppose an agent selects its action uniformly at
random from the set of possible actions. There exists
a deterministic task environment in which this agent
is rational.
It is possible for a given agent to be perfectly
rational in two distinct task environments.
A perfectly rational poker-playing agent never loses.
Outline
25
CS 420: Artificial Intelligence
Last class, introduced AI and rational agent
Today’s class, focus on intelligent agents
Agent and environments
Nature of environments influences agent design
Basic “skeleton” agent designs
Agent = Architecture + Program
26
CS 420: Artificial Intelligence
The job of AI is to design the agent program
that implements the agent function mapping
percepts to actions
Aim: find a way to implement the rational
agent function concisely
Same skeleton for agent program: it takes
the current percept as input from the sensors
and returns an action to the actuators
Agent Program vs. Agent Function
27
CS 420: Artificial Intelligence
Agent program takes the current percept as
input
Nothing is available from the environment
Agent function takes the entire percept
history
To do this, remember all the percepts
Table-Driven Agent
28
CS 420: Artificial Intelligence
Designer needs to construct a table that
contains the appropriate action for
every possible percept sequence
Drawbacks?
huge table
take a long time to construct such a table
no autonomy
Even with learning, need a long time to
learn the table entries
Five Basic Agent Types
29
CS 420: Artificial Intelligence
Arranged in order of increasing generality:
Simple reflex agents
Model-based reflex agents
Goal-based agents
Utility-based agents; and
Learning agents
Simple Reflex Agent
30
CS 420: Artificial Intelligence
Pseudo-Code
Example: write a simple reflex agent for the vacuum
cleaner example
31
CS 420: Artificial Intelligence
Infinite loops are often unavoidable for simple reflex
agent operating in partially observable environments
No location sensor
32
CS 420: Artificial Intelligence
Randomization will help
A randomized simple relfex agent might outperform
a deterministic simple reflex agent
Better way: keep track of the part of the world it
can’t see now
Maintain internal states
Model-Based Reflex Agent
33
CS 420: Artificial Intelligence
Pseudo-Code
34
CS 420: Artificial Intelligence
Goal-Based Agent
35
CS 420: Artificial Intelligence
Utility-Based Agent
36
CS 420: Artificial Intelligence
Utility Function
37
CS 420: Artificial Intelligence
Utility function maps a state or a sequence of
states onto a real number degree of
happiness
Conflicting goals
Speed and safety
Multiple goals
Learning Agent
Determines
performance
Suggest
exploratory
actions
Selects the
Best action
Making
improvements
38
CS 420: Artificial Intelligence
Exercise
39
CS 420: Artificial Intelligence
Select a suitable agent design for:
Robot soccer player
Shopping for used AI books on the Internet
Summary
40
CS 420: Artificial Intelligence
Agent, agent function, agent program
Rational agent and its performance measure
PEAS
Five major agent program skeletons
Next, solving problems by searching

Mais conteúdo relacionado

Mais procurados

Artificial Intelligence Chapter two agents
Artificial Intelligence Chapter two agentsArtificial Intelligence Chapter two agents
Artificial Intelligence Chapter two agentsEhsan Nowrouzi
 
Introduction Artificial Intelligence a modern approach by Russel and Norvig 1
Introduction Artificial Intelligence a modern approach by Russel and Norvig 1Introduction Artificial Intelligence a modern approach by Russel and Norvig 1
Introduction Artificial Intelligence a modern approach by Russel and Norvig 1Garry D. Lasaga
 
Intelligent mobile Robotics & Perception SystemsIntelligent mobile Robotics ...
Intelligent mobile Robotics  & Perception SystemsIntelligent mobile Robotics ...Intelligent mobile Robotics  & Perception SystemsIntelligent mobile Robotics ...
Intelligent mobile Robotics & Perception SystemsIntelligent mobile Robotics ...Gouasmia Zakaria
 
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCEIntelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCEKhushboo Pal
 
Artificial intelligence introduction
Artificial intelligence introductionArtificial intelligence introduction
Artificial intelligence introductionmelchismel
 
Hand gesture recognition
Hand gesture recognitionHand gesture recognition
Hand gesture recognitionBhawana Singh
 
Reinforcement Learning
Reinforcement LearningReinforcement Learning
Reinforcement Learningbutest
 
AI Agents, Agents in Artificial Intelligence
AI Agents, Agents in Artificial IntelligenceAI Agents, Agents in Artificial Intelligence
AI Agents, Agents in Artificial IntelligenceKirti Verma
 
Ai 02 intelligent_agents(1)
Ai 02 intelligent_agents(1)Ai 02 intelligent_agents(1)
Ai 02 intelligent_agents(1)Mohammed Romi
 
Introduction to Artificial Intelligence and Machine Learning
Introduction to Artificial Intelligence and Machine Learning Introduction to Artificial Intelligence and Machine Learning
Introduction to Artificial Intelligence and Machine Learning Emad Nabil
 
best presentation Artitficial Intelligence
best presentation Artitficial Intelligencebest presentation Artitficial Intelligence
best presentation Artitficial Intelligencejennifer joe
 
Artificial Intelligence PEAS
Artificial Intelligence PEASArtificial Intelligence PEAS
Artificial Intelligence PEASMUDASIRABBAS9
 

Mais procurados (20)

AI - Intelligent Agents
AI - Intelligent AgentsAI - Intelligent Agents
AI - Intelligent Agents
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Artificial Intelligence Chapter two agents
Artificial Intelligence Chapter two agentsArtificial Intelligence Chapter two agents
Artificial Intelligence Chapter two agents
 
Introduction Artificial Intelligence a modern approach by Russel and Norvig 1
Introduction Artificial Intelligence a modern approach by Russel and Norvig 1Introduction Artificial Intelligence a modern approach by Russel and Norvig 1
Introduction Artificial Intelligence a modern approach by Russel and Norvig 1
 
Intelligent mobile Robotics & Perception SystemsIntelligent mobile Robotics ...
Intelligent mobile Robotics  & Perception SystemsIntelligent mobile Robotics ...Intelligent mobile Robotics  & Perception SystemsIntelligent mobile Robotics ...
Intelligent mobile Robotics & Perception SystemsIntelligent mobile Robotics ...
 
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCEIntelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
 
Agents_AI.ppt
Agents_AI.pptAgents_AI.ppt
Agents_AI.ppt
 
Artificial intelligence introduction
Artificial intelligence introductionArtificial intelligence introduction
Artificial intelligence introduction
 
Hand gesture recognition
Hand gesture recognitionHand gesture recognition
Hand gesture recognition
 
Reinforcement Learning
Reinforcement LearningReinforcement Learning
Reinforcement Learning
 
AI Agents, Agents in Artificial Intelligence
AI Agents, Agents in Artificial IntelligenceAI Agents, Agents in Artificial Intelligence
AI Agents, Agents in Artificial Intelligence
 
Ai 02 intelligent_agents(1)
Ai 02 intelligent_agents(1)Ai 02 intelligent_agents(1)
Ai 02 intelligent_agents(1)
 
(Ch#1) artificial intelligence
(Ch#1) artificial intelligence(Ch#1) artificial intelligence
(Ch#1) artificial intelligence
 
Blue eye technology
Blue eye technologyBlue eye technology
Blue eye technology
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Ambient intelligence
Ambient intelligenceAmbient intelligence
Ambient intelligence
 
Introduction to Artificial Intelligence and Machine Learning
Introduction to Artificial Intelligence and Machine Learning Introduction to Artificial Intelligence and Machine Learning
Introduction to Artificial Intelligence and Machine Learning
 
Agent architectures
Agent architecturesAgent architectures
Agent architectures
 
best presentation Artitficial Intelligence
best presentation Artitficial Intelligencebest presentation Artitficial Intelligence
best presentation Artitficial Intelligence
 
Artificial Intelligence PEAS
Artificial Intelligence PEASArtificial Intelligence PEAS
Artificial Intelligence PEAS
 

Semelhante a intelligent agent (1).pptx

ai-slides-1233566181695672-2 (1).pdf
ai-slides-1233566181695672-2 (1).pdfai-slides-1233566181695672-2 (1).pdf
ai-slides-1233566181695672-2 (1).pdfShivareddyGangam
 
AI_02_Intelligent Agents.pptx
AI_02_Intelligent Agents.pptxAI_02_Intelligent Agents.pptx
AI_02_Intelligent Agents.pptxYousef Aburawi
 
chapter2-(Intelligent Agents).ppt
chapter2-(Intelligent Agents).pptchapter2-(Intelligent Agents).ppt
chapter2-(Intelligent Agents).pptssuser99ca78
 
Agents-and-Problem-Solving-20022024-094442am.pdf
Agents-and-Problem-Solving-20022024-094442am.pdfAgents-and-Problem-Solving-20022024-094442am.pdf
Agents-and-Problem-Solving-20022024-094442am.pdfsyedhasanali293
 
Jarrar.lecture notes.aai.2011s.ch2.intelligentagents
Jarrar.lecture notes.aai.2011s.ch2.intelligentagentsJarrar.lecture notes.aai.2011s.ch2.intelligentagents
Jarrar.lecture notes.aai.2011s.ch2.intelligentagentsPalGov
 
Jarrar.lecture notes.aai.2011s.ch2.intelligentagents
Jarrar.lecture notes.aai.2011s.ch2.intelligentagentsJarrar.lecture notes.aai.2011s.ch2.intelligentagents
Jarrar.lecture notes.aai.2011s.ch2.intelligentagentsPalGov
 
www.funFruit.com Intelligent Agent www.funFruit.co.docx
www.funFruit.com Intelligent Agent www.funFruit.co.docxwww.funFruit.com Intelligent Agent www.funFruit.co.docx
www.funFruit.com Intelligent Agent www.funFruit.co.docxericbrooks84875
 
Expert System Lecture Notes Chapter 1,2,3,4,5 - Dr.J.VijiPriya
 Expert System Lecture Notes Chapter 1,2,3,4,5 - Dr.J.VijiPriya Expert System Lecture Notes Chapter 1,2,3,4,5 - Dr.J.VijiPriya
Expert System Lecture Notes Chapter 1,2,3,4,5 - Dr.J.VijiPriyaVijiPriya Jeyamani
 
chapter2.pptx
chapter2.pptxchapter2.pptx
chapter2.pptxjpradha86
 
Introduction To Artificial Intelligence
Introduction To Artificial IntelligenceIntroduction To Artificial Intelligence
Introduction To Artificial IntelligenceNeHal VeRma
 
Introduction To Artificial Intelligence
Introduction To Artificial IntelligenceIntroduction To Artificial Intelligence
Introduction To Artificial IntelligenceNeHal VeRma
 

Semelhante a intelligent agent (1).pptx (20)

ai-slides-1233566181695672-2 (1).pdf
ai-slides-1233566181695672-2 (1).pdfai-slides-1233566181695672-2 (1).pdf
ai-slides-1233566181695672-2 (1).pdf
 
AI_02_Intelligent Agents.pptx
AI_02_Intelligent Agents.pptxAI_02_Intelligent Agents.pptx
AI_02_Intelligent Agents.pptx
 
chapter2-(Intelligent Agents).ppt
chapter2-(Intelligent Agents).pptchapter2-(Intelligent Agents).ppt
chapter2-(Intelligent Agents).ppt
 
chapter2.ppt
chapter2.pptchapter2.ppt
chapter2.ppt
 
chapter2.ppt
chapter2.pptchapter2.ppt
chapter2.ppt
 
Lecture 02-agents
Lecture 02-agentsLecture 02-agents
Lecture 02-agents
 
2.pdf
2.pdf2.pdf
2.pdf
 
Unit 1.ppt
Unit 1.pptUnit 1.ppt
Unit 1.ppt
 
AI_Ch2.pptx
AI_Ch2.pptxAI_Ch2.pptx
AI_Ch2.pptx
 
Agents-and-Problem-Solving-20022024-094442am.pdf
Agents-and-Problem-Solving-20022024-094442am.pdfAgents-and-Problem-Solving-20022024-094442am.pdf
Agents-and-Problem-Solving-20022024-094442am.pdf
 
Lecture1
Lecture1Lecture1
Lecture1
 
Jarrar.lecture notes.aai.2011s.ch2.intelligentagents
Jarrar.lecture notes.aai.2011s.ch2.intelligentagentsJarrar.lecture notes.aai.2011s.ch2.intelligentagents
Jarrar.lecture notes.aai.2011s.ch2.intelligentagents
 
Jarrar.lecture notes.aai.2011s.ch2.intelligentagents
Jarrar.lecture notes.aai.2011s.ch2.intelligentagentsJarrar.lecture notes.aai.2011s.ch2.intelligentagents
Jarrar.lecture notes.aai.2011s.ch2.intelligentagents
 
LectureNote2.pdf
LectureNote2.pdfLectureNote2.pdf
LectureNote2.pdf
 
www.funFruit.com Intelligent Agent www.funFruit.co.docx
www.funFruit.com Intelligent Agent www.funFruit.co.docxwww.funFruit.com Intelligent Agent www.funFruit.co.docx
www.funFruit.com Intelligent Agent www.funFruit.co.docx
 
Expert System Lecture Notes Chapter 1,2,3,4,5 - Dr.J.VijiPriya
 Expert System Lecture Notes Chapter 1,2,3,4,5 - Dr.J.VijiPriya Expert System Lecture Notes Chapter 1,2,3,4,5 - Dr.J.VijiPriya
Expert System Lecture Notes Chapter 1,2,3,4,5 - Dr.J.VijiPriya
 
CH1_AI_Lecture1.ppt
CH1_AI_Lecture1.pptCH1_AI_Lecture1.ppt
CH1_AI_Lecture1.ppt
 
chapter2.pptx
chapter2.pptxchapter2.pptx
chapter2.pptx
 
Introduction To Artificial Intelligence
Introduction To Artificial IntelligenceIntroduction To Artificial Intelligence
Introduction To Artificial Intelligence
 
Introduction To Artificial Intelligence
Introduction To Artificial IntelligenceIntroduction To Artificial Intelligence
Introduction To Artificial Intelligence
 

Mais de ShivareddyGangam

Student Voting Application for Election – Using SMS (1).pptx
Student Voting Application for Election – Using SMS (1).pptxStudent Voting Application for Election – Using SMS (1).pptx
Student Voting Application for Election – Using SMS (1).pptxShivareddyGangam
 
Project Management (2).pdf
Project Management (2).pdfProject Management (2).pdf
Project Management (2).pdfShivareddyGangam
 
The Product and Process(1).pdf
The Product and Process(1).pdfThe Product and Process(1).pdf
The Product and Process(1).pdfShivareddyGangam
 
Unit24_TopologicalSort (2).ppt
Unit24_TopologicalSort (2).pptUnit24_TopologicalSort (2).ppt
Unit24_TopologicalSort (2).pptShivareddyGangam
 
artificialintelligencea-200326090832.pdf
artificialintelligencea-200326090832.pdfartificialintelligencea-200326090832.pdf
artificialintelligencea-200326090832.pdfShivareddyGangam
 
Software Project Risks Management (1).pdf
Software Project Risks Management (1).pdfSoftware Project Risks Management (1).pdf
Software Project Risks Management (1).pdfShivareddyGangam
 
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptxOS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptxShivareddyGangam
 
machinelearningengineeringslideshare-160909192132 (1).pdf
machinelearningengineeringslideshare-160909192132 (1).pdfmachinelearningengineeringslideshare-160909192132 (1).pdf
machinelearningengineeringslideshare-160909192132 (1).pdfShivareddyGangam
 
ARCHITECTURE OF DBMS (1).ppt
ARCHITECTURE OF DBMS (1).pptARCHITECTURE OF DBMS (1).ppt
ARCHITECTURE OF DBMS (1).pptShivareddyGangam
 

Mais de ShivareddyGangam (20)

Student Voting Application for Election – Using SMS (1).pptx
Student Voting Application for Election – Using SMS (1).pptxStudent Voting Application for Election – Using SMS (1).pptx
Student Voting Application for Election – Using SMS (1).pptx
 
Project Management (2).pdf
Project Management (2).pdfProject Management (2).pdf
Project Management (2).pdf
 
pca.ppt
pca.pptpca.ppt
pca.ppt
 
The Product and Process(1).pdf
The Product and Process(1).pdfThe Product and Process(1).pdf
The Product and Process(1).pdf
 
Unit24_TopologicalSort (2).ppt
Unit24_TopologicalSort (2).pptUnit24_TopologicalSort (2).ppt
Unit24_TopologicalSort (2).ppt
 
Lecture1_jps (1).ppt
Lecture1_jps (1).pptLecture1_jps (1).ppt
Lecture1_jps (1).ppt
 
2 semai.pptx
2 semai.pptx2 semai.pptx
2 semai.pptx
 
artificialintelligencea-200326090832.pdf
artificialintelligencea-200326090832.pdfartificialintelligencea-200326090832.pdf
artificialintelligencea-200326090832.pdf
 
Software Project Risks Management (1).pdf
Software Project Risks Management (1).pdfSoftware Project Risks Management (1).pdf
Software Project Risks Management (1).pdf
 
Introduction (1).pdf
Introduction (1).pdfIntroduction (1).pdf
Introduction (1).pdf
 
Unit 3 (1) (1).pdf
Unit 3 (1) (1).pdfUnit 3 (1) (1).pdf
Unit 3 (1) (1).pdf
 
Unit 1 (1).pdf
Unit 1 (1).pdfUnit 1 (1).pdf
Unit 1 (1).pdf
 
Strassen.ppt
Strassen.pptStrassen.ppt
Strassen.ppt
 
Notion of Algorithms.pdf
Notion of Algorithms.pdfNotion of Algorithms.pdf
Notion of Algorithms.pdf
 
11_Automated_Testing.ppt
11_Automated_Testing.ppt11_Automated_Testing.ppt
11_Automated_Testing.ppt
 
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptxOS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
 
Project Management.pdf
Project Management.pdfProject Management.pdf
Project Management.pdf
 
PP
PPPP
PP
 
machinelearningengineeringslideshare-160909192132 (1).pdf
machinelearningengineeringslideshare-160909192132 (1).pdfmachinelearningengineeringslideshare-160909192132 (1).pdf
machinelearningengineeringslideshare-160909192132 (1).pdf
 
ARCHITECTURE OF DBMS (1).ppt
ARCHITECTURE OF DBMS (1).pptARCHITECTURE OF DBMS (1).ppt
ARCHITECTURE OF DBMS (1).ppt
 

Último

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 

Último (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

intelligent agent (1).pptx

  • 2. Outline 2 CS 420: Artificial Intelligence Last class, introduced AI and rational agent Today’s class, focus on intelligent agents Agent and environments Nature of environments influences agent design Basic “skeleton” agent designs
  • 3. Outline 3 CS 420: Artificial Intelligence Last class, introduced AI and rational agent Today’s class, focus on intelligent agents Agent and environments Nature of environments influences agent design Basic “skeleton” agent designs
  • 4. Agents An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment through actuators Examples: Human agent Robotic agent Software agent 4 CS 420: Artificial Intelligence
  • 5. Terminologies 5 CS 420: Artificial Intelligence Percept: the agent’s perceptual inputs Percept sequence: the complete history of everything the agent has perceived Agent function maps any given percept sequence to an action [f: p* A] The agent program runs on the physical architecture to produce f Agent = architecture + program
  • 6. Questions 6 CS 420: Artificial Intelligence Can there be more than one agent program that implements a given agent function? Given a fixed machine architecture, does each agent program implement exactly one agent function?
  • 7. Vacuum-Cleaner World Percepts: location and contents, e.g., [A, dirty] Actions: Left, Right, Suck, NoOp 7 CS 420: Artificial Intelligence
  • 8. A Simple Agent Function Percept sequence Action [A, Clean] [A, Dirty] [B, Clean] [B, Dirty] [A, Clean], [A, Clean] [A, Clean], [A, Dirty] … [A, Clean], [A, Clean], [A, Clean] [A, Clean], [A, Clean], [A, Dirty] … Right Suck Left Suck Right Suck … Right Suck … 8 CS 420: Artificial Intelligence
  • 9. Rationality 9 CS 420: Artificial Intelligence An agent should "do the right thing", based on what it can perceive and the actions it can perform. The right action is the one that will cause the agent to be most successful Performance measure: An objective criterion for success of an agent's behavior Back to the vacuum-cleaner example Amount of dirt cleaned within certain time +1 credit for each clean square per unit time General rule: measure what one wants rather than how one thinks the agent should behave
  • 10. Rational Agent 10 CS 420: Artificial Intelligence Definition: For each possible percept sequence, a rational agent should select an action that is expected to maximize its performance measure, given the evidence provided by the percept sequence and whatever built-in knowledge the agent has.
  • 11. Rational Agent 11 CS 420: Artificial Intelligence Definition: For each possible percept sequence, a rational agent should select an action that is expected to maximize its performance measure, given the evidence provided by the percept sequence and whatever built-in knowledge the agent has.
  • 12. Vacuum–Cleaner Example 12 CS 420: Artificial Intelligence A simple agent that cleans a square if it is dirty and moves to the other square if not Is it rational? Assumption: performance measure: 1 point for each clean square at each time step environment is known a priori actions = {left, right, suck, no-op} agent is able to perceive the location and dirt in that location Given different assumption, it might not be rational anymore
  • 13. Omniscience, Learning and Autonomy 13 CS 420: Artificial Intelligence Distinction between rationality and omniscience expected performance vs. actual performance Agents can perform actions in order to modify future percepts so as to obtain useful information (information gathering, exploration) An agent can also learn from what it perceives An agent is autonomous if its behavior is determined by its own experience (with ability to learn and adapt)
  • 14. Questions 14 CS 420: Artificial Intelligence Given the assumption on slide 12. Describe a rational agent function for the modified performance measure that deducts one point for each movement. Does the agent program require internal state? Discuss possible agent designs for the cases in which clean squares can become dirty and the geography of the environment is unknown.
  • 15. Outline 15 CS 420: Artificial Intelligence Last class, introduced AI and rational agent Today’s class, focus on intelligent agents Agent and environments Nature of environments influences agent design Basic “skeleton” agent designs
  • 16. PEAS 16 CS 420: Artificial Intelligence Specifying the task environment is always the first step in designing agent PEAS: Performance, Environment, Actuators, Sensors
  • 17. CS 420: Artificial Intelligence 17 Taxi Driver Example Performance Measure Environment Actuators Sensors safe, fast, roads, other traffic, pedestrians, customers steering, accelerator, brake, signal, horn, display camera, sonar, speedometer, GPS, odometer, engine sensors, keyboard, accelerator legal, comfortable trip, maximize profits DARPA urban challenge 07: http://www.youtube.com/watch?v=SQFEmR50HAk
  • 18. Medical Diagnosis System Performance Measure Environment Actuators Sensors healthy patient, minimize costs, lawsuits patient, hospital, staff display questions, tests, diagnosis, treatments, referrals keyboard entry of symptoms, findings, patient’s answers 18 CS 420: Artificial Intelligence
  • 19. Mushroom-Picking Robot Performance Measure Environment Actuators Sensors Percentage of good mushrooms in correct bins Conveyor belt with mushrooms, bins Jointed arm and hand camera, joint angle sensors 19 CS 420: Artificial Intelligence
  • 20. Properties of Task Environments 20 CS 420: Artificial Intelligence Fully observable (vs. partially observable): An agent's sensors give it access to the complete state of the environment at each point in time Deterministic (vs. stochastic): next state of the env. determined by current state and the agent’s action If the environment is deterministic except for the actions of other agents, then the environment is strategic Episodic (vs. sequential): Agent's experience is divided into atomic "episodes" Choice of action in each episode depends only on the episode itself
  • 21. Properties of Task Environments 21 CS 420: Artificial Intelligence Static (vs. dynamic): The environment is unchanged while an agent is deliberating Semidynamic if the environment itself doesn’t change with time but the agent's performance score does Discrete (vs. continuous): A limited number of distinct, clearly defined percepts and actions Single agent (vs. multiagent): An agent operating by itself in an environment Competitive vs. cooperative
  • 22. Examples 22 CS 420: Artificial Intelligence The environment type largely determines the agent design The real world is (of course) partially observable, stochastic, sequential, dynamic, continuous, multi-agent Task Environment Oberservable Deterministic Episodic Static Discrete Agents Crossword puzzle fully deterministic sequential static discrete single Chess with a clock fully strategic sequential semi discrete multi Taxi driver partially stochastic sequential dynamic conti. multi mushroom-picking partially stochastic episodic dynamic conti. single
  • 23. Exercises 23 CS 420: Artificial Intelligence Develop PEAS description for the following task environment: Robot soccer player Shopping for used AI books on the Internet Analyze the properties of the above environments
  • 24. True/False Questions 24 CS 420: Artificial Intelligence An agent that senses only partial information about the state cannot be perfectly rational. Suppose an agent selects its action uniformly at random from the set of possible actions. There exists a deterministic task environment in which this agent is rational. It is possible for a given agent to be perfectly rational in two distinct task environments. A perfectly rational poker-playing agent never loses.
  • 25. Outline 25 CS 420: Artificial Intelligence Last class, introduced AI and rational agent Today’s class, focus on intelligent agents Agent and environments Nature of environments influences agent design Basic “skeleton” agent designs
  • 26. Agent = Architecture + Program 26 CS 420: Artificial Intelligence The job of AI is to design the agent program that implements the agent function mapping percepts to actions Aim: find a way to implement the rational agent function concisely Same skeleton for agent program: it takes the current percept as input from the sensors and returns an action to the actuators
  • 27. Agent Program vs. Agent Function 27 CS 420: Artificial Intelligence Agent program takes the current percept as input Nothing is available from the environment Agent function takes the entire percept history To do this, remember all the percepts
  • 28. Table-Driven Agent 28 CS 420: Artificial Intelligence Designer needs to construct a table that contains the appropriate action for every possible percept sequence Drawbacks? huge table take a long time to construct such a table no autonomy Even with learning, need a long time to learn the table entries
  • 29. Five Basic Agent Types 29 CS 420: Artificial Intelligence Arranged in order of increasing generality: Simple reflex agents Model-based reflex agents Goal-based agents Utility-based agents; and Learning agents
  • 30. Simple Reflex Agent 30 CS 420: Artificial Intelligence
  • 31. Pseudo-Code Example: write a simple reflex agent for the vacuum cleaner example 31 CS 420: Artificial Intelligence
  • 32. Infinite loops are often unavoidable for simple reflex agent operating in partially observable environments No location sensor 32 CS 420: Artificial Intelligence Randomization will help A randomized simple relfex agent might outperform a deterministic simple reflex agent Better way: keep track of the part of the world it can’t see now Maintain internal states
  • 33. Model-Based Reflex Agent 33 CS 420: Artificial Intelligence
  • 35. Goal-Based Agent 35 CS 420: Artificial Intelligence
  • 36. Utility-Based Agent 36 CS 420: Artificial Intelligence
  • 37. Utility Function 37 CS 420: Artificial Intelligence Utility function maps a state or a sequence of states onto a real number degree of happiness Conflicting goals Speed and safety Multiple goals
  • 38. Learning Agent Determines performance Suggest exploratory actions Selects the Best action Making improvements 38 CS 420: Artificial Intelligence
  • 39. Exercise 39 CS 420: Artificial Intelligence Select a suitable agent design for: Robot soccer player Shopping for used AI books on the Internet
  • 40. Summary 40 CS 420: Artificial Intelligence Agent, agent function, agent program Rational agent and its performance measure PEAS Five major agent program skeletons Next, solving problems by searching