Artificial Intelligence
Introduction
Unit I
1
• AI
• Intelligent Agents
• Agents
• Agent types
• Good behaviour
• The nature of environments
• structure of agents
• agents and nature of its environment
2
Artificial Intelligent
• Artificial Intelligence is the study of how to make
computers do things at the moment, and do
better
• AI important elements:
1. Systems that think like humans
2. Systems that act like humans
3. Systems that think rationally
4. Systems that act rationally
3
Artificial Intelligent
• Applications of AI
1) Optical character recognition
2) Handwriting recognition
3) Speech recognition
4) Face recognition
5) Gaming
6) Artificial creativity
7) Computer vision, Virtual reality, and Image processing
8) Photo and Video manipulation
9) Diagnosis (artificial intelligence)
4
Intelligent Agent
An agent is anything that can be viewed as perceiving its environment through
sensors and acting upon that environment through actuators shown in Figure[1]
Sensor input
percepts
Environment Agent
action
Figure: Agent interaction with environment
5
Agent Function and Agent Program
• Agent action is decided upon any
input perceived by any agent.
• Agent program is the action taken
against that percept sequence
6
Good behaviour
1. Rationality: Agent selects action which
maximizes the performance
2. Learn: Agent should learn from perceive
sequences
3. Omniscient: Agent should know the
outcome of its actions
4. Autonomous: Agent should compensate
for half/inaccurate knowledge
7
Nature of environments
• Specifying the task environment
• task environment specification
includes the performance measure,
the external environment, the
actuators, and the sensors
8
Nature of environments
• Task performance can be measured
by following parameters
1. PEAS (Performance, Environment,
Actuators, Sensors) description
9
Nature of environments
• Task performance can be measured
by following parameters
1. PEAS (Performance, Environnent,
actuator, sensors) description
10
Example: Taxi Driver
• Taxi Driver = Agent Type
• Safe, fast, legal, comfortable trip, maximize profits
=Performance Measure
• Roads and other traffic, pedestrians,
customers=Environment
• Steering, accelerator, brake, signal horn,
display=Actuators
• Cameras, sonar, speedometer, GPS, odometer,
accelerometer, engine sensors, keyboard =Sensors
11