/Sensor_Networks

This is the code for "Sensor Networks" By Siraj Raval on Youtube as part of the Move 37 Course

Primary LanguagePythonMIT LicenseMIT

Overview

This is the code for this video on Youtube by Siraj Raval on Sensor Networks. We can imagine sensors as a grid, then use the bellman equation to compute the optimal policy to get from Router A to Router B as efficinetly as possible. Implementations of MDP value iteration, MDP policy iteration, and Q-Learning in a toy grid-world setting.

Dependencies

  • matplotlib
  • OpenCV
  • numpy

Install missing dependencies using pip

Usage

Run 'python RL.py' in terminal to run the code.

Credits

Credits for this code go to kevlar1818. I've merely created a wrapper to get people started.