SlideShare ist ein Scribd-Unternehmen logo
1 von 16
THE STRUCTURE OF AGENTS K.MAHALAKSHMI.,AP/CSE APEC
THE STRUCTURE OF AGENTS Agent Program: It implements the agent function mapping percepts to actions ,[object Object],Agent program will run on some sort of computing device with physical sensors called architecture. Agent=architecture+program K.MAHALAKSHMI.,AP/CSE
THE STRUCTURE OF AGENTS Agent programs: ,[object Object]
The agent program takes just the current percept as input because nothing more is available from the envirnoment.
If the agent’s actions depend on the entire percept sequence, the agent will have to remember the percepts.K.MAHALAKSHMI.,AP/CSE
Continue… Four kinds of agent programs: ,[object Object]
Model based reflex agents
Goal-based agents
Utility based agentsK.MAHALAKSHMI.,AP/CSE
Simple reflex agents ,[object Object]
The agent program for a simple reflex agent in 2 state vacuum environment is as followsfunction Reflex-Vacuum-Agent( [location,status]) returns an action if status = Dirty then return Suck else if location = A then return Right else if location = B then return Left K.MAHALAKSHMI.,AP/CSE
Simple reflex agentsfig: schematic diagram of a simplex reflex agent K.MAHALAKSHMI.,AP/CSE
[object Object]
Escape from infinite loops is possible if the agent can randomize its actions.K.MAHALAKSHMI.,AP/CSE
Model based reflex agents K.MAHALAKSHMI.,AP/CSE
Model based reflex agents The most effective way to handle partial observability is for the agent to keep track of the part of the world it can’t see now. The agent should maintain some sort of internal state that depends on the percept history and thereby reflects at least some of the unobserved aspects of the current state Model based agent The knowledge about “how the world works” whether implemented in simple boolean circuits or in complete scientific theories is called model of the world. The agent that uses such a model is called a model-based agent K.MAHALAKSHMI.,AP/CSE

Weitere ähnliche Inhalte

Was ist angesagt?

Reinforcement learning, Q-Learning
Reinforcement learning, Q-LearningReinforcement learning, Q-Learning
Reinforcement learning, Q-LearningKuppusamy P
 
Congestion avoidance in TCP
Congestion avoidance in TCPCongestion avoidance in TCP
Congestion avoidance in TCPselvakumar_b1985
 
Production system in ai
Production system in aiProduction system in ai
Production system in aisabin kafle
 
Uncertain Knowledge and Reasoning in Artificial Intelligence
Uncertain Knowledge and Reasoning in Artificial IntelligenceUncertain Knowledge and Reasoning in Artificial Intelligence
Uncertain Knowledge and Reasoning in Artificial IntelligenceExperfy
 
Cyrus beck line clipping algorithm
Cyrus beck line clipping algorithmCyrus beck line clipping algorithm
Cyrus beck line clipping algorithmPooja Dixit
 
Knowledge representation in AI
Knowledge representation in AIKnowledge representation in AI
Knowledge representation in AIVishal Singh
 
Artificial Intelligence_ Knowledge Representation
Artificial Intelligence_ Knowledge RepresentationArtificial Intelligence_ Knowledge Representation
Artificial Intelligence_ Knowledge RepresentationThenmozhiK5
 
Artificial Intelligence Searching Techniques
Artificial Intelligence Searching TechniquesArtificial Intelligence Searching Techniques
Artificial Intelligence Searching TechniquesDr. C.V. Suresh Babu
 
Analytical learning
Analytical learningAnalytical learning
Analytical learningswapnac12
 
Lecture 21 problem reduction search ao star search
Lecture 21 problem reduction search ao star searchLecture 21 problem reduction search ao star search
Lecture 21 problem reduction search ao star searchHema Kashyap
 
Histogram Processing
Histogram ProcessingHistogram Processing
Histogram ProcessingAmnaakhaan
 

Was ist angesagt? (20)

Structured Knowledge Representation
Structured Knowledge RepresentationStructured Knowledge Representation
Structured Knowledge Representation
 
Part Picking Robot
Part Picking RobotPart Picking Robot
Part Picking Robot
 
Agent architectures
Agent architecturesAgent architectures
Agent architectures
 
Reinforcement learning, Q-Learning
Reinforcement learning, Q-LearningReinforcement learning, Q-Learning
Reinforcement learning, Q-Learning
 
Congestion avoidance in TCP
Congestion avoidance in TCPCongestion avoidance in TCP
Congestion avoidance in TCP
 
Production system in ai
Production system in aiProduction system in ai
Production system in ai
 
Uncertainty in AI
Uncertainty in AIUncertainty in AI
Uncertainty in AI
 
AI Lecture 3 (solving problems by searching)
AI Lecture 3 (solving problems by searching)AI Lecture 3 (solving problems by searching)
AI Lecture 3 (solving problems by searching)
 
Uncertain Knowledge and Reasoning in Artificial Intelligence
Uncertain Knowledge and Reasoning in Artificial IntelligenceUncertain Knowledge and Reasoning in Artificial Intelligence
Uncertain Knowledge and Reasoning in Artificial Intelligence
 
A* Algorithm
A* AlgorithmA* Algorithm
A* Algorithm
 
Learning in AI
Learning in AILearning in AI
Learning in AI
 
Cyrus beck line clipping algorithm
Cyrus beck line clipping algorithmCyrus beck line clipping algorithm
Cyrus beck line clipping algorithm
 
Ontology engineering
Ontology engineering Ontology engineering
Ontology engineering
 
Knowledge representation in AI
Knowledge representation in AIKnowledge representation in AI
Knowledge representation in AI
 
Artificial Intelligence_ Knowledge Representation
Artificial Intelligence_ Knowledge RepresentationArtificial Intelligence_ Knowledge Representation
Artificial Intelligence_ Knowledge Representation
 
Artificial Intelligence Searching Techniques
Artificial Intelligence Searching TechniquesArtificial Intelligence Searching Techniques
Artificial Intelligence Searching Techniques
 
Analytical learning
Analytical learningAnalytical learning
Analytical learning
 
AI: AI & Problem Solving
AI: AI & Problem SolvingAI: AI & Problem Solving
AI: AI & Problem Solving
 
Lecture 21 problem reduction search ao star search
Lecture 21 problem reduction search ao star searchLecture 21 problem reduction search ao star search
Lecture 21 problem reduction search ao star search
 
Histogram Processing
Histogram ProcessingHistogram Processing
Histogram Processing
 

Andere mochten auch

Machine Learning in a Flash: An Introduction to Natural Language Processing
Machine Learning in a Flash: An Introduction to Natural Language ProcessingMachine Learning in a Flash: An Introduction to Natural Language Processing
Machine Learning in a Flash: An Introduction to Natural Language ProcessingKory Becker
 
Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)mufassirin
 
Reinforcement learning
Reinforcement learning Reinforcement learning
Reinforcement learning Chandra Meena
 
Reinforcement Learning : A Beginners Tutorial
Reinforcement Learning : A Beginners TutorialReinforcement Learning : A Beginners Tutorial
Reinforcement Learning : A Beginners TutorialOmar Enayet
 
Artificial Intelligence Chapter two agents
Artificial Intelligence Chapter two agentsArtificial Intelligence Chapter two agents
Artificial Intelligence Chapter two agentsEhsan Nowrouzi
 
A very easy explanation to understanding machine learning (Supervised & Unsup...
A very easy explanation to understanding machine learning (Supervised & Unsup...A very easy explanation to understanding machine learning (Supervised & Unsup...
A very easy explanation to understanding machine learning (Supervised & Unsup...Ryo Onozuka
 
Unsupervised learning
Unsupervised learningUnsupervised learning
Unsupervised learningamalalhait
 
Presentation on supervised learning
Presentation on supervised learningPresentation on supervised learning
Presentation on supervised learningTonmoy Bhagawati
 

Andere mochten auch (12)

Intelligent agent
Intelligent agentIntelligent agent
Intelligent agent
 
Intelligent agents
Intelligent agentsIntelligent agents
Intelligent agents
 
Machine Learning in a Flash: An Introduction to Natural Language Processing
Machine Learning in a Flash: An Introduction to Natural Language ProcessingMachine Learning in a Flash: An Introduction to Natural Language Processing
Machine Learning in a Flash: An Introduction to Natural Language Processing
 
Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)
 
Ai Slides
Ai SlidesAi Slides
Ai Slides
 
Theories of Learning
Theories of LearningTheories of Learning
Theories of Learning
 
Reinforcement learning
Reinforcement learning Reinforcement learning
Reinforcement learning
 
Reinforcement Learning : A Beginners Tutorial
Reinforcement Learning : A Beginners TutorialReinforcement Learning : A Beginners Tutorial
Reinforcement Learning : A Beginners Tutorial
 
Artificial Intelligence Chapter two agents
Artificial Intelligence Chapter two agentsArtificial Intelligence Chapter two agents
Artificial Intelligence Chapter two agents
 
A very easy explanation to understanding machine learning (Supervised & Unsup...
A very easy explanation to understanding machine learning (Supervised & Unsup...A very easy explanation to understanding machine learning (Supervised & Unsup...
A very easy explanation to understanding machine learning (Supervised & Unsup...
 
Unsupervised learning
Unsupervised learningUnsupervised learning
Unsupervised learning
 
Presentation on supervised learning
Presentation on supervised learningPresentation on supervised learning
Presentation on supervised learning
 

Ähnlich wie The structure of agents

Lecture 04 intelligent agents
Lecture 04 intelligent agentsLecture 04 intelligent agents
Lecture 04 intelligent agentsHema Kashyap
 
AI_02_Intelligent Agents.pptx
AI_02_Intelligent Agents.pptxAI_02_Intelligent Agents.pptx
AI_02_Intelligent Agents.pptxYousef Aburawi
 
Goal based and utility based agents
Goal based and utility based agentsGoal based and utility based agents
Goal based and utility based agentsMegha Sharma
 
Software requirement analysis enhancements byprioritizing re
Software requirement analysis enhancements byprioritizing reSoftware requirement analysis enhancements byprioritizing re
Software requirement analysis enhancements byprioritizing reAlleneMcclendon878
 
reqsforlearningagents.ppt
reqsforlearningagents.pptreqsforlearningagents.ppt
reqsforlearningagents.pptbutest
 
IRJET- A Review on Deep Reinforcement Learning Induced Autonomous Driving Fra...
IRJET- A Review on Deep Reinforcement Learning Induced Autonomous Driving Fra...IRJET- A Review on Deep Reinforcement Learning Induced Autonomous Driving Fra...
IRJET- A Review on Deep Reinforcement Learning Induced Autonomous Driving Fra...IRJET Journal
 
intelligentagent-140313053301-phpapp01 (1).pdf
intelligentagent-140313053301-phpapp01 (1).pdfintelligentagent-140313053301-phpapp01 (1).pdf
intelligentagent-140313053301-phpapp01 (1).pdfShivareddyGangam
 
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
 
Enhanced Feature Analysis Framework for Comparative Analysis & Evaluation of ...
Enhanced Feature Analysis Framework for Comparative Analysis & Evaluation of ...Enhanced Feature Analysis Framework for Comparative Analysis & Evaluation of ...
Enhanced Feature Analysis Framework for Comparative Analysis & Evaluation of ...IJCSIS Research Publications
 
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
 
Car Showroom management System in c++
Car Showroom management System in c++Car Showroom management System in c++
Car Showroom management System in c++PUBLIVE
 
Effectiveness of software product metrics for mobile application
Effectiveness of software product metrics for mobile application Effectiveness of software product metrics for mobile application
Effectiveness of software product metrics for mobile application tanveer ahmad
 
Decision Making and Autonomic Computing
Decision Making and Autonomic ComputingDecision Making and Autonomic Computing
Decision Making and Autonomic ComputingIOSR Journals
 

Ähnlich wie The structure of agents (20)

Lecture 04 intelligent agents
Lecture 04 intelligent agentsLecture 04 intelligent agents
Lecture 04 intelligent agents
 
AI_02_Intelligent Agents.pptx
AI_02_Intelligent Agents.pptxAI_02_Intelligent Agents.pptx
AI_02_Intelligent Agents.pptx
 
Goal based and utility based agents
Goal based and utility based agentsGoal based and utility based agents
Goal based and utility based agents
 
Week 3.pdf
Week 3.pdfWeek 3.pdf
Week 3.pdf
 
Software requirement analysis enhancements byprioritizing re
Software requirement analysis enhancements byprioritizing reSoftware requirement analysis enhancements byprioritizing re
Software requirement analysis enhancements byprioritizing re
 
reqsforlearningagents.ppt
reqsforlearningagents.pptreqsforlearningagents.ppt
reqsforlearningagents.ppt
 
IRJET- A Review on Deep Reinforcement Learning Induced Autonomous Driving Fra...
IRJET- A Review on Deep Reinforcement Learning Induced Autonomous Driving Fra...IRJET- A Review on Deep Reinforcement Learning Induced Autonomous Driving Fra...
IRJET- A Review on Deep Reinforcement Learning Induced Autonomous Driving Fra...
 
intelligentagent-140313053301-phpapp01 (1).pdf
intelligentagent-140313053301-phpapp01 (1).pdfintelligentagent-140313053301-phpapp01 (1).pdf
intelligentagent-140313053301-phpapp01 (1).pdf
 
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
 
Enhanced Feature Analysis Framework for Comparative Analysis & Evaluation of ...
Enhanced Feature Analysis Framework for Comparative Analysis & Evaluation of ...Enhanced Feature Analysis Framework for Comparative Analysis & Evaluation of ...
Enhanced Feature Analysis Framework for Comparative Analysis & Evaluation of ...
 
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
 
Car Showroom management System in c++
Car Showroom management System in c++Car Showroom management System in c++
Car Showroom management System in c++
 
Lecture 4 (1).pptx
Lecture 4 (1).pptxLecture 4 (1).pptx
Lecture 4 (1).pptx
 
Effectiveness of software product metrics for mobile application
Effectiveness of software product metrics for mobile application Effectiveness of software product metrics for mobile application
Effectiveness of software product metrics for mobile application
 
Slide01 - Intelligent Agents.ppt
Slide01 - Intelligent Agents.pptSlide01 - Intelligent Agents.ppt
Slide01 - Intelligent Agents.ppt
 
AI: Learning in AI 2
AI: Learning in AI 2AI: Learning in AI 2
AI: Learning in AI 2
 
AI: Learning in AI 2
AI: Learning in AI  2AI: Learning in AI  2
AI: Learning in AI 2
 
Intelligent agents part ii
Intelligent agents part iiIntelligent agents part ii
Intelligent agents part ii
 
Decision Making and Autonomic Computing
Decision Making and Autonomic ComputingDecision Making and Autonomic Computing
Decision Making and Autonomic Computing
 

The structure of agents

  • 1. THE STRUCTURE OF AGENTS K.MAHALAKSHMI.,AP/CSE APEC
  • 2.
  • 3.
  • 4. The agent program takes just the current percept as input because nothing more is available from the envirnoment.
  • 5. If the agent’s actions depend on the entire percept sequence, the agent will have to remember the percepts.K.MAHALAKSHMI.,AP/CSE
  • 6.
  • 10.
  • 11. The agent program for a simple reflex agent in 2 state vacuum environment is as followsfunction Reflex-Vacuum-Agent( [location,status]) returns an action if status = Dirty then return Suck else if location = A then return Right else if location = B then return Left K.MAHALAKSHMI.,AP/CSE
  • 12. Simple reflex agentsfig: schematic diagram of a simplex reflex agent K.MAHALAKSHMI.,AP/CSE
  • 13.
  • 14. Escape from infinite loops is possible if the agent can randomize its actions.K.MAHALAKSHMI.,AP/CSE
  • 15. Model based reflex agents K.MAHALAKSHMI.,AP/CSE
  • 16. Model based reflex agents The most effective way to handle partial observability is for the agent to keep track of the part of the world it can’t see now. The agent should maintain some sort of internal state that depends on the percept history and thereby reflects at least some of the unobserved aspects of the current state Model based agent The knowledge about “how the world works” whether implemented in simple boolean circuits or in complete scientific theories is called model of the world. The agent that uses such a model is called a model-based agent K.MAHALAKSHMI.,AP/CSE
  • 18. Goal: The agent needs some sort of goal information that describes situations that are desirable. Example: being at the passenger’s destination The agent program can combine this information about the results of possible actions inorder to choose actions that achieve the goals. Search and planning are the subfields of AI devoted to finding action sequence that achieve the agent’s goals. Although the goal-based agent appears less efficient, it is more flexible because the knowledge that supports its decisions is represented explicitly and can be modified. K.MAHALAKSHMI.,AP/CSE
  • 19. Utility based agents K.MAHALAKSHMI.,AP/CSE
  • 20. Utility based agents Goals alone are not really enough to generate high-quality behavior in most environment. Utility-if one world state is preferred to another, then it has higher utility for the agent. Utility function It maps a state (or sequence of states) onto a real number, which describes the associated degree of happiness. A complete specification of the utility function allows rational decision in two kinds of cases where goals are inadequate. When there are conflicting goals, only some of which can be achieved, the utility function specifies appropriate tradeoff. When there are several goals that the agent can aim for utility provides a way in which the likelihood of success can be weighed up against the importance of the goals. K.MAHALAKSHMI.,AP/CSE
  • 22. Learning agents Method to build learning machines and then to teach them, which is used in many areas of AI for creating state-of-the-art systems. Advantage ->it allows agent to operate in initially unknown environment and to become more competent than its initial knowledge alone might allow. Conceptual components of learning agent Learning element- responsible for making improvements. Performance element-responsible for selecting external actions. Critic-the learning element uses feedback from the critic on how the agent is doing and determines how the performance element should be modified to do better in the future. K.MAHALAKSHMI.,AP/CSE
  • 23. Problem generator-responsible for suggesting actions that will lead to new and informative experiences. The performance standard distinguishes part of the incoming percept as a reward(or penalty) that provides direct feedback on the quality of the agent’s behavior Example: hard-wired performance standards such as pain and hunger in animals can be understood in this way. K.MAHALAKSHMI.,AP/CSE