Homework 8

Homework for Lecture 8: Deep Q-Networks 📝

Instructions:

- Show ALL Work, Neatly and in Order.
- No credit for Answers Without Work.
- Submit a single PDF file including all solutions.
- DO NOT submit individual files or images.
- For coding questions, submit ONE .py file with comments.

Note

For this homework, you only need gymnasium, numpy, tensorflow, os, pickle, tqdm & tensorboard.

Coding Exercise 1: Deep Q-Network (DQN)

For the highway-v0 environment, code the update function for the Deep Q-Netowrk (DQN) algorithm using the provided parameters.