



















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




















Lecture # 02 1 February 2019 Spring 2019 FAST – NUCES, Faisalabad Campus
Today’sTopics Rational agent Agents and environments Nature of environments ◦ PEAS ◦ Properties
Agents and Environments An agent is an entity that perceives its environment through sensors and acts upon it through actuators.
Agents and Environments Sou rc e: (^) S. (^) Ru ss ell (^) & (^) P. (^) No rvig
Few terminologies Percept: agent’s perceptual input at any given stage Percept sequence: complete history of everything the agent has ever perceived Agent function: describes agent’s behavior
Agent Function & Agent Program Abstractly, an agent is a function from percept histories to actions: f : P ***** → A
Agent program is a concrete implementation of agent function
7
Rational Agent An agent which does the right thing. Performance measure evaluates the behavior of an agent in the environment. Rational agent acts to maximize the expected value of performance measure.
Rational Agent 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 agent
Vacuum cleaner agent
Few terminologies Information gathering/Exploration: doing actions in order to modify future percepts Omniscience: knowing the actual outcome of action(s) Learning: not restricting the agent for information gathering only but to make it learn as much as possible from what it perceives Autonomy: ability to learn & adapt something (based on its own experience) other than prior knowledge
Task Environments These are essentially the “problems” to which rational agents are the“solutions” In designing an agent, the first step must always be to specify the task environment (PEAS) as fully as possible
Task Environments PEAS Performance Environment Actuators Sensors