CSCI 235: Fall 2026
Overview
Description
Learning Goals
Resources
Calendar
Assessment
AI Policy
Journal
Attendance
Modules
Projects
Interviews
Final Project
Specifications Grading
Equipment
Commitments
Module 12: Image-Driven Rewards
Learning to Patrol
Select an area for your robot to patrol.
Divide the are into grid cells, as we did in the
q-learning module
.
Create a set of labeled images using
photographer
, with some images labeled
in_bounds
and other images labeled
out_of_bounds
. Position the robot to take the pictures from grid cells appropriate to the labels.
Make a copy of
qnode.py
called
qnode_patrol.py
. Modify
qnode_patrol.py
so that rewards are determined by the most recently received image label, with
in_bounds
labels receiving a significant positive reward and
out_of_bounds
labels receiving a significant negative reward.
Determine a set of q-learning parameters to use for the first experiment. Run the experiment. How did the robot perform? Where would you give credit or blame to your parameter selections?
Create one variation of q-learning parameters for the second experiment. Run the experiment. How did the robot perform? Where would you give credit or blame to your parameter selections?
Create a final variation of q-learning parameters for the third experiment. Run the experiment. How did the robot perform? Where would you give credit or blame to your parameter selections?
Assess the utility of image-guided q-learning for the purpose of this task. How did it perform compared to the state machine version?