AI File - 2 PDF
AI File - 2 PDF
Human agent:
eyes, ears, and other organs for sensors; hands, legs, mouth,
and other body parts for actuators
Robotic agent:
cameras and infrared range finders for sensors; various motors
for actuators
Agents and environments
importance of learning
Performance Measure, Environment,
Actuators, Sensors (PEAS)
• To design a rational agent, we must specify task environment which
consists of PEAS (Performance Measure, Environment, Actuators,
Sensors)
• Taxi Driver
– Performance measure : safety, fast, legal, confortable trip,
maximize profits
– Environment : Roads, other traffic, pedestrains, customers
– Actuators : steering, accelerator, brake, signal, horn, display
– Sensors : cameras, sonar, speedometer, GPS, odometer,
accelerometer, engine sensors, keyboard or microphone to
accept destination
PEAS
• Example: Agent = robot driver
– Performance measure:
• Time to complete course
– Environment:
• Roads, other traffic, obstacles
– Actuators:
• Steering wheel, accelerator, brake, signal, horn
– Sensors:
• Optical cameras, lasers, sonar, accelerometer,
speedometer, GPS, odometer, engine sensors,
PEAS
• Agent: Interactive English tutor
• Performance measure:
Maximize student's score on test
• Environment:
Set of students
• Actuators:
Screen display (exercises, suggestions, corrections)
• Sensors:
Keyboard
PEAS
• Agent: Medical diagnosis system
• Performance measure:
Healthy patient, minimize costs, lawsuits
• Environment:
Patient, hospital, staff
• Actuators:
Screen display (questions, tests, diagnoses, treatments, referrals)
Sensors:
Keyboard (entry of symptoms, findings, patient's answers)
Internet Shopping Agent
• Performance Measure :
• Environment :
• Actuators :
• Sensors :
Environment Types
• Fully observable (vs. partially observable):
– An agent's sensors give it access to the complete state of the
environment at each point in time.
Observable ?
Deterministic ?
Episodic ?
Static ?
Discrete ?
Single-agent ?
Structure of Intelligent Agents
perception action
?
Generality
• that keeps track of the world
• Also called model-based reflex agent
– Goal-based agent
– Utility-based agent
• Drawbacks:
– Huge table
– Take a long time to build the table
– No autonomy
– Even with learning, need a long time to learn
the table entries
Simple Reflex Agent
• Characteristics
– no plan, no goal
– do not know what they want to achieve
– do not know what they are doing
• Condition-action rule
– If condition then action
Simple reflex agent (Architecture)
Simple Reflex Agent (Program)
Model-based Reflex Agents
• Characteristics
– Reflex agent with internal state
– Sensor does not provide the complete state of the world.