Imagine an agent like the one in the interactive demo.   This agent has a value function like the following, and always chooses the action with the highest value:   Q(s=near berry with empty stomach, a=eat berry) = 15 Q(s=near berry with empty stomach, a=turn around) = -4 Q(s=near berry with berry in stomach, a=eat berry) = 8 Q(s=near berry with berry in stomach, a=turn around) = 4 Q(s=not near berry with empty stomach, a=look for berry) = 1   I am taking cognitive science, and I have come across this question regarding Q-Learning. I don't understand the question nor do I understand how to do it. Can anyone help? Here is the question below: The agent's eyes detect two berries in front of the agent. Each berry is one step away from the agent (one berry is to the northwest of the agent, the other berry is to the northeast of the agent). The agent eats one of the berries, and experiences a reward of 9. The agent then updates its value function based on this experience using Q-Learning.   If the agent has a gamma of 0.5 and an alpha of 0.1, using the Q-learning equation below, select the correct updated value for Q(s=near berry with empty stomach, a=eat berry

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Imagine an agent like the one in the interactive demo.

 

This agent has a value function like the following, and always chooses the action with the highest value:

 

Q(s=near berry with empty stomach, a=eat berry) = 15

Q(s=near berry with empty stomach, a=turn around) = -4

Q(s=near berry with berry in stomach, a=eat berry) = 8

Q(s=near berry with berry in stomach, a=turn around) = 4

Q(s=not near berry with empty stomach, a=look for berry) = 1

 

I am taking cognitive science, and I have come across this question regarding Q-Learning. I don't understand the question nor do I understand how to do it. Can anyone help? Here is the question below:

The agent's eyes detect two berries in front of the agent. Each berry is one step away from the agent (one berry is to the northwest of the agent, the other berry is to the northeast of the agent). The agent eats one of the berries, and experiences a reward of 9. The agent then updates its value function based on this experience using Q-Learning.

 

If the agent has a gamma of 0.5 and an alpha of 0.1, using the Q-learning equation below, select the correct updated value for

Q(s=near berry with empty stomach, a=eat berry)

Q(st, at) + Q(8t, at) + a x [rt + [y × maxat+1'
Q(st+1;a4+1)] – Q(st, at)]
Transcribed Image Text:Q(st, at) + Q(8t, at) + a x [rt + [y × maxat+1' Q(st+1;a4+1)] – Q(st, at)]
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Developing computer interface
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education