SlideShare uma empresa Scribd logo
1 de 41
Baixar para ler offline
Mansoura University
Faculty of Computers and Information
Course Name: Artificial Intelligence
Lecturer: Amir EL-Ghamry
Topic: Intelligent Agents
Outline
Artificial Intelligence a modern approach
2
— Agents and environments
— Rationality
— PEAS (Performance measure, Environment,
Actuators, Sensors)
Agent
Artificial Intelligence a modern approach
3
CS 561, Lecture 2
Agent
Environment
Agent
percepts
actions
?
Sensors
Actuators
How to design this?
Agent Examples
Artificial Intelligence a modern approach
6
CS 561, Lecture 2
How is an Agent different from other
software?
— Agents are autonomous, that is, they act on behalf of
the user
— Agents contain some level of intelligence, from fixed
rules to learning engines that allow them to adapt to
changes in the environment
— Agents have social ability, that is, they communicate
with the user, the system, and other agents as required
— Agents may also cooperate with other agents to carry
out more complex tasks than they themselves can handle
CS 561, Lecture 2
How is an Agent different from other
software?
— Agents may migrate from one system to another to
access remote resources or even to meet other agents
Agent and Environment
Artificial Intelligence a modern approach
9
CS 561, Lecture 2
Structure of Intelligent Agents
— Agent program: the implementation of f : P* ® A, the
agent’s perception-action mapping
function Skeleton-Agent(Percept) returns Action
memory ¬ UpdateMemory(memory, Percept)
Action ¬ ChooseBestAction(memory)
memory ¬ UpdateMemory(memory, Action)
return Action
— Architecture: a device that can execute the agent
program (e.g., general-purpose computer, specialized
device, etc.)
Vacuum-cleaner world
Artificial Intelligence a modern approach
12
— Percepts: location (A or B) and contents (dirt or not),
e.g., [A,Dirty]
— Actions: Left, Right, Suck, NoOp
— Agent’s function à look-up table
¡ For many agents this is a very large table
Vacuum-cleaner world
Artificial Intelligence a modern approach
13
Agent function – Lookup table
Artificial Intelligence a modern approach
14
Rational Agent
Artificial Intelligence a modern approach
15
Rational agents
Artificial Intelligence a modern approach
16
• Rationality – Good behavior
1. Performance measuring success
2. Agents prior knowledge of environment
3. Actions that agent can perform
4. Agent’s percept sequence to date
• 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.
Back to vacuum cleaner agent
Artificial Intelligence a modern approach
17
Back to vacuum cleaner agent
Artificial Intelligence a modern approach
18
Vacuum cleaner agent - irrational
Artificial Intelligence a modern approach
19
Rationality
Artificial Intelligence a modern approach
21
— Rational is different from omniscience (all knowing
with infinite knowledge)
¡ Percepts may not supply all relevant information
¡ E.g., in card game, don’t know cards of others.
— Rational is different from being perfect
¡ Rationality maximizes expected outcome
¡ Perfection (omniscience) maximizes actual outcome.
The Right Thing = The Rational Action
— Rational Action: The action that maximizes the expected
value of the performance measure given the percept sequence
to date
¡ Rational = Best Yes, to the best of its knowledge
¡ Rational = Optimal Yes, to the best of its abilities (constraints).
¡ Rational ¹ Omniscience
¡ Rational ¹ Successful
Autonomy in Agents
— Extremes
¡ No autonomy – ignores environment/data
¡ Complete autonomy – must act randomly/no program
— Example: baby learning to crawl
— Ideal: design agents to have some autonomy
¡ Possibly become more autonomous with experience
The autonomy of an agent is the extent to which its
behaviour is determined by its own experience,
rather than knowledge of designer.
Specifying the task environment (PEAS)
Artificial Intelligence a modern approach
24
Specifying the task environment (PEAS)
Artificial Intelligence a modern approach
25
PEAS – vacuum cleaner
Artificial Intelligence a modern approach
26
PEAS – Windshield Wiper Agent
PEAS – Windshield Wiper Agent
— Goals: Keep windshields clean & maintain visibility
— Percepts: Raining, Dirty
— Sensors: Camera (moist sensor)
— Actuators: Wipers (left, right, back)
— Actions: Off, Slow, Medium, Fast
— Environment: Inner city, freeways, highways, weather …
PEAS – self driving car
Artificial Intelligence a modern approach
29
PEAS - automated taxi driver
Artificial Intelligence a modern approach
30
PEAS - automated taxi driver
Artificial Intelligence a modern approach
31
• The task of designing an automated taxi driver:
– Performance measure: Safe, fast, legal, comfortable
trip, maximize profits
– Environment: Roads, other traffic, pedestrians,
customers , weather
– Actuators: Steering wheel, accelerator, brake, signal,
horn
– Sensors: Cameras, sonar, speedometer, GPS, odometer,
engine sensors, keyboard
Interacting Agents
Collision Avoidance Agent (CAA)
— Goals: Avoid running into obstacles
— Percepts: Obstacle distance, velocity, trajectory
— Sensors: Vision, proximity sensing
— Actuators: Steering Wheel, Accelerator, Brakes, Horn, Headlights
— Actions: Steer, speed up, brake, blow horn, signal (headlights)
— Environment: Freeway
Lane Keeping Agent (LKA)
• Goals: Stay in current lane
• Percepts: Lane center, lane boundaries
• Sensors: Vision
• Effectors: Steering Wheel, Accelerator, Brakes
• Actions: Steer, speed up, brake
• Environment: Freeway
Conflict Resolution by Action Selection Agents
• Arbitrate: if Obstacle is Close then CAA
else LKA
• Challenges: Doing the right thing
PEAS – medical diagnosis system
Artificial Intelligence a modern approach
34
PEAS – medical diagnosis system
Artificial Intelligence a modern approach
35
PEAS – spam filter
Artificial Intelligence a modern approach
36
PEAS – spam filter
Artificial Intelligence a modern approach
37
PEAS – satellite image analysis system
Artificial Intelligence a modern approach
38
PEAS – satellite image analysis system
Artificial Intelligence a modern approach
39
PEAS - Part-picking robot
Artificial Intelligence a modern approach
40
PEAS - Part-picking robot
Artificial Intelligence a modern approach
41
— Performance measure: Percentage of parts in correct bins
— Environment: Conveyor belt with parts, bins
— Actuators: Jointed arm and hand
— Sensors: Camera, joint angle sensors
PEAS - Interactive English tutor
Artificial Intelligence a modern approach
42
PEAS - Interactive English tutor
Artificial Intelligence a modern approach
43
— Performance measure: Maximize student's score on
test
— Environment: Set of students
— Actuators: Screen display (exercises, suggestions,
corrections)
— Sensors: Keyboard
Questions
Artificial Intelligence a modern approach
44

Mais conteúdo relacionado

Semelhante a LectureNote2.pdf

Robotics and agents
Robotics and agentsRobotics and agents
Robotics and agentsritahani
 
Lecture 1 about the Agents in AI & .pptx
Lecture 1 about the Agents in AI & .pptxLecture 1 about the Agents in AI & .pptx
Lecture 1 about the Agents in AI & .pptxbk996051
 
Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)mufassirin
 
ai-slides-1233566181695672-2 (1).pdf
ai-slides-1233566181695672-2 (1).pdfai-slides-1233566181695672-2 (1).pdf
ai-slides-1233566181695672-2 (1).pdfShivareddyGangam
 
artificial Intelligence unit1 ppt (1).ppt
artificial Intelligence unit1 ppt (1).pptartificial Intelligence unit1 ppt (1).ppt
artificial Intelligence unit1 ppt (1).pptRamya Nellutla
 
Artificial Intelligence Chapter two agents
Artificial Intelligence Chapter two agentsArtificial Intelligence Chapter two agents
Artificial Intelligence Chapter two agentsEhsan Nowrouzi
 
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
 
Intelligent (Knowledge Based) agent in Artificial Intelligence
Intelligent (Knowledge Based) agent in Artificial IntelligenceIntelligent (Knowledge Based) agent in Artificial Intelligence
Intelligent (Knowledge Based) agent in Artificial IntelligenceKuppusamy P
 
CS 3491 Artificial Intelligence and Machine Learning Unit I Problem Solving
CS 3491 Artificial Intelligence and Machine Learning Unit I Problem SolvingCS 3491 Artificial Intelligence and Machine Learning Unit I Problem Solving
CS 3491 Artificial Intelligence and Machine Learning Unit I Problem SolvingBalamuruganV28
 
intelligent agent (1).pptx
intelligent agent (1).pptxintelligent agent (1).pptx
intelligent agent (1).pptxShivareddyGangam
 
IT201 Basics of Intelligent Systems-1.pptx
IT201 Basics of Intelligent Systems-1.pptxIT201 Basics of Intelligent Systems-1.pptx
IT201 Basics of Intelligent Systems-1.pptxshashankbhadouria4
 

Semelhante a LectureNote2.pdf (20)

Robotics and agents
Robotics and agentsRobotics and agents
Robotics and agents
 
Lecture 1 about the Agents in AI & .pptx
Lecture 1 about the Agents in AI & .pptxLecture 1 about the Agents in AI & .pptx
Lecture 1 about the Agents in AI & .pptx
 
Unit 1.ppt
Unit 1.pptUnit 1.ppt
Unit 1.ppt
 
agents.pdf
agents.pdfagents.pdf
agents.pdf
 
Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)
 
ai-slides-1233566181695672-2 (1).pdf
ai-slides-1233566181695672-2 (1).pdfai-slides-1233566181695672-2 (1).pdf
ai-slides-1233566181695672-2 (1).pdf
 
Slide01 - Intelligent Agents.ppt
Slide01 - Intelligent Agents.pptSlide01 - Intelligent Agents.ppt
Slide01 - Intelligent Agents.ppt
 
Artificial Intelligent Agents
Artificial Intelligent AgentsArtificial Intelligent Agents
Artificial Intelligent Agents
 
artificial Intelligence unit1 ppt (1).ppt
artificial Intelligence unit1 ppt (1).pptartificial Intelligence unit1 ppt (1).ppt
artificial Intelligence unit1 ppt (1).ppt
 
Artificial Intelligence Chapter two agents
Artificial Intelligence Chapter two agentsArtificial Intelligence Chapter two agents
Artificial Intelligence Chapter two agents
 
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
 
Ai u1
Ai u1Ai u1
Ai u1
 
AIES Unit I(2022).pptx
AIES Unit I(2022).pptxAIES Unit I(2022).pptx
AIES Unit I(2022).pptx
 
Lec 2 agents
Lec 2 agentsLec 2 agents
Lec 2 agents
 
Intelligent (Knowledge Based) agent in Artificial Intelligence
Intelligent (Knowledge Based) agent in Artificial IntelligenceIntelligent (Knowledge Based) agent in Artificial Intelligence
Intelligent (Knowledge Based) agent in Artificial Intelligence
 
CS 3491 Artificial Intelligence and Machine Learning Unit I Problem Solving
CS 3491 Artificial Intelligence and Machine Learning Unit I Problem SolvingCS 3491 Artificial Intelligence and Machine Learning Unit I Problem Solving
CS 3491 Artificial Intelligence and Machine Learning Unit I Problem Solving
 
intelligent agent (1).pptx
intelligent agent (1).pptxintelligent agent (1).pptx
intelligent agent (1).pptx
 
Agents_AI.ppt
Agents_AI.pptAgents_AI.ppt
Agents_AI.ppt
 
IT201 Basics of Intelligent Systems-1.pptx
IT201 Basics of Intelligent Systems-1.pptxIT201 Basics of Intelligent Systems-1.pptx
IT201 Basics of Intelligent Systems-1.pptx
 

Mais de AmirMohamedNabilSale (18)

LecccccccccccccProgrammingLecture-09.pdf
LecccccccccccccProgrammingLecture-09.pdfLecccccccccccccProgrammingLecture-09.pdf
LecccccccccccccProgrammingLecture-09.pdf
 
p1.pdf
p1.pdfp1.pdf
p1.pdf
 
9.b-CMPS 403-F20-Session 9-Intro to ML II.pdf
9.b-CMPS 403-F20-Session 9-Intro to ML II.pdf9.b-CMPS 403-F20-Session 9-Intro to ML II.pdf
9.b-CMPS 403-F20-Session 9-Intro to ML II.pdf
 
6.c-CMPS 403-F19-Session 6-Resolution.pdf
6.c-CMPS 403-F19-Session 6-Resolution.pdf6.c-CMPS 403-F19-Session 6-Resolution.pdf
6.c-CMPS 403-F19-Session 6-Resolution.pdf
 
3.b-CMPS 403-F20-Session 3-Solving CSP I.pdf
3.b-CMPS 403-F20-Session 3-Solving CSP I.pdf3.b-CMPS 403-F20-Session 3-Solving CSP I.pdf
3.b-CMPS 403-F20-Session 3-Solving CSP I.pdf
 
2.a-CMPS 403-F20-Session 2-Search Problems.pdf
2.a-CMPS 403-F20-Session 2-Search Problems.pdf2.a-CMPS 403-F20-Session 2-Search Problems.pdf
2.a-CMPS 403-F20-Session 2-Search Problems.pdf
 
Lecture_1_matrix_operations.pdf
Lecture_1_matrix_operations.pdfLecture_1_matrix_operations.pdf
Lecture_1_matrix_operations.pdf
 
ML_1.pdf
ML_1.pdfML_1.pdf
ML_1.pdf
 
232021-211025052822.pdf
232021-211025052822.pdf232021-211025052822.pdf
232021-211025052822.pdf
 
9a52019-211025074532.pdf
9a52019-211025074532.pdf9a52019-211025074532.pdf
9a52019-211025074532.pdf
 
random-211016153637.pdf
random-211016153637.pdfrandom-211016153637.pdf
random-211016153637.pdf
 
Linux.pdf
Linux.pdfLinux.pdf
Linux.pdf
 
Linux_Commands.pdf
Linux_Commands.pdfLinux_Commands.pdf
Linux_Commands.pdf
 
AI in covid 19 (1).pptx
AI in covid 19 (1).pptxAI in covid 19 (1).pptx
AI in covid 19 (1).pptx
 
COVID-19 PowerPoint.pptx
COVID-19 PowerPoint.pptxCOVID-19 PowerPoint.pptx
COVID-19 PowerPoint.pptx
 
Edu week2022.pptx
Edu week2022.pptxEdu week2022.pptx
Edu week2022.pptx
 
ML_DT.pdf
ML_DT.pdfML_DT.pdf
ML_DT.pdf
 
2.pdf
2.pdf2.pdf
2.pdf
 

Último

Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPirithiRaju
 
9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Servicenishacall1
 
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...ssuser79fe74
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksSérgio Sacani
 
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencyHire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencySheetal Arora
 
module for grade 9 for distance learning
module for grade 9 for distance learningmodule for grade 9 for distance learning
module for grade 9 for distance learninglevieagacer
 
Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.Silpa
 
SAMASTIPUR CALL GIRL 7857803690 LOW PRICE ESCORT SERVICE
SAMASTIPUR CALL GIRL 7857803690  LOW PRICE  ESCORT SERVICESAMASTIPUR CALL GIRL 7857803690  LOW PRICE  ESCORT SERVICE
SAMASTIPUR CALL GIRL 7857803690 LOW PRICE ESCORT SERVICEayushi9330
 
Bacterial Identification and Classifications
Bacterial Identification and ClassificationsBacterial Identification and Classifications
Bacterial Identification and ClassificationsAreesha Ahmad
 
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPirithiRaju
 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticssakshisoni2385
 
GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)Areesha Ahmad
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Sérgio Sacani
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)Areesha Ahmad
 
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRLKochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRLkantirani197
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)Areesha Ahmad
 
GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)Areesha Ahmad
 
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑Damini Dixit
 

Último (20)

Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
 
9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service
 
Clean In Place(CIP).pptx .
Clean In Place(CIP).pptx                 .Clean In Place(CIP).pptx                 .
Clean In Place(CIP).pptx .
 
CELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdfCELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdf
 
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disks
 
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencyHire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
 
module for grade 9 for distance learning
module for grade 9 for distance learningmodule for grade 9 for distance learning
module for grade 9 for distance learning
 
Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.
 
SAMASTIPUR CALL GIRL 7857803690 LOW PRICE ESCORT SERVICE
SAMASTIPUR CALL GIRL 7857803690  LOW PRICE  ESCORT SERVICESAMASTIPUR CALL GIRL 7857803690  LOW PRICE  ESCORT SERVICE
SAMASTIPUR CALL GIRL 7857803690 LOW PRICE ESCORT SERVICE
 
Bacterial Identification and Classifications
Bacterial Identification and ClassificationsBacterial Identification and Classifications
Bacterial Identification and Classifications
 
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
 
GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)
 
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRLKochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)
 
GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)
 
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
 

LectureNote2.pdf

  • 1. Mansoura University Faculty of Computers and Information Course Name: Artificial Intelligence Lecturer: Amir EL-Ghamry Topic: Intelligent Agents
  • 2. Outline Artificial Intelligence a modern approach 2 — Agents and environments — Rationality — PEAS (Performance measure, Environment, Actuators, Sensors)
  • 4. CS 561, Lecture 2 Agent Environment Agent percepts actions ? Sensors Actuators How to design this?
  • 6. CS 561, Lecture 2 How is an Agent different from other software? — Agents are autonomous, that is, they act on behalf of the user — Agents contain some level of intelligence, from fixed rules to learning engines that allow them to adapt to changes in the environment — Agents have social ability, that is, they communicate with the user, the system, and other agents as required — Agents may also cooperate with other agents to carry out more complex tasks than they themselves can handle
  • 7. CS 561, Lecture 2 How is an Agent different from other software? — Agents may migrate from one system to another to access remote resources or even to meet other agents
  • 8. Agent and Environment Artificial Intelligence a modern approach 9
  • 9. CS 561, Lecture 2 Structure of Intelligent Agents — Agent program: the implementation of f : P* ® A, the agent’s perception-action mapping function Skeleton-Agent(Percept) returns Action memory ¬ UpdateMemory(memory, Percept) Action ¬ ChooseBestAction(memory) memory ¬ UpdateMemory(memory, Action) return Action — Architecture: a device that can execute the agent program (e.g., general-purpose computer, specialized device, etc.)
  • 10. Vacuum-cleaner world Artificial Intelligence a modern approach 12 — Percepts: location (A or B) and contents (dirt or not), e.g., [A,Dirty] — Actions: Left, Right, Suck, NoOp — Agent’s function à look-up table ¡ For many agents this is a very large table
  • 12. Agent function – Lookup table Artificial Intelligence a modern approach 14
  • 14. Rational agents Artificial Intelligence a modern approach 16 • Rationality – Good behavior 1. Performance measuring success 2. Agents prior knowledge of environment 3. Actions that agent can perform 4. Agent’s percept sequence to date • 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.
  • 15. Back to vacuum cleaner agent Artificial Intelligence a modern approach 17
  • 16. Back to vacuum cleaner agent Artificial Intelligence a modern approach 18
  • 17. Vacuum cleaner agent - irrational Artificial Intelligence a modern approach 19
  • 18. Rationality Artificial Intelligence a modern approach 21 — Rational is different from omniscience (all knowing with infinite knowledge) ¡ Percepts may not supply all relevant information ¡ E.g., in card game, don’t know cards of others. — Rational is different from being perfect ¡ Rationality maximizes expected outcome ¡ Perfection (omniscience) maximizes actual outcome.
  • 19. The Right Thing = The Rational Action — Rational Action: The action that maximizes the expected value of the performance measure given the percept sequence to date ¡ Rational = Best Yes, to the best of its knowledge ¡ Rational = Optimal Yes, to the best of its abilities (constraints). ¡ Rational ¹ Omniscience ¡ Rational ¹ Successful
  • 20. Autonomy in Agents — Extremes ¡ No autonomy – ignores environment/data ¡ Complete autonomy – must act randomly/no program — Example: baby learning to crawl — Ideal: design agents to have some autonomy ¡ Possibly become more autonomous with experience The autonomy of an agent is the extent to which its behaviour is determined by its own experience, rather than knowledge of designer.
  • 21. Specifying the task environment (PEAS) Artificial Intelligence a modern approach 24
  • 22. Specifying the task environment (PEAS) Artificial Intelligence a modern approach 25
  • 23. PEAS – vacuum cleaner Artificial Intelligence a modern approach 26
  • 24. PEAS – Windshield Wiper Agent
  • 25. PEAS – Windshield Wiper Agent — Goals: Keep windshields clean & maintain visibility — Percepts: Raining, Dirty — Sensors: Camera (moist sensor) — Actuators: Wipers (left, right, back) — Actions: Off, Slow, Medium, Fast — Environment: Inner city, freeways, highways, weather …
  • 26. PEAS – self driving car Artificial Intelligence a modern approach 29
  • 27. PEAS - automated taxi driver Artificial Intelligence a modern approach 30
  • 28. PEAS - automated taxi driver Artificial Intelligence a modern approach 31 • The task of designing an automated taxi driver: – Performance measure: Safe, fast, legal, comfortable trip, maximize profits – Environment: Roads, other traffic, pedestrians, customers , weather – Actuators: Steering wheel, accelerator, brake, signal, horn – Sensors: Cameras, sonar, speedometer, GPS, odometer, engine sensors, keyboard
  • 29. Interacting Agents Collision Avoidance Agent (CAA) — Goals: Avoid running into obstacles — Percepts: Obstacle distance, velocity, trajectory — Sensors: Vision, proximity sensing — Actuators: Steering Wheel, Accelerator, Brakes, Horn, Headlights — Actions: Steer, speed up, brake, blow horn, signal (headlights) — Environment: Freeway Lane Keeping Agent (LKA) • Goals: Stay in current lane • Percepts: Lane center, lane boundaries • Sensors: Vision • Effectors: Steering Wheel, Accelerator, Brakes • Actions: Steer, speed up, brake • Environment: Freeway
  • 30. Conflict Resolution by Action Selection Agents • Arbitrate: if Obstacle is Close then CAA else LKA • Challenges: Doing the right thing
  • 31. PEAS – medical diagnosis system Artificial Intelligence a modern approach 34
  • 32. PEAS – medical diagnosis system Artificial Intelligence a modern approach 35
  • 33. PEAS – spam filter Artificial Intelligence a modern approach 36
  • 34. PEAS – spam filter Artificial Intelligence a modern approach 37
  • 35. PEAS – satellite image analysis system Artificial Intelligence a modern approach 38
  • 36. PEAS – satellite image analysis system Artificial Intelligence a modern approach 39
  • 37. PEAS - Part-picking robot Artificial Intelligence a modern approach 40
  • 38. PEAS - Part-picking robot Artificial Intelligence a modern approach 41 — Performance measure: Percentage of parts in correct bins — Environment: Conveyor belt with parts, bins — Actuators: Jointed arm and hand — Sensors: Camera, joint angle sensors
  • 39. PEAS - Interactive English tutor Artificial Intelligence a modern approach 42
  • 40. PEAS - Interactive English tutor Artificial Intelligence a modern approach 43 — Performance measure: Maximize student's score on test — Environment: Set of students — Actuators: Screen display (exercises, suggestions, corrections) — Sensors: Keyboard