Skip to content

boczekbartek/shortest_route

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Rectangular city problem

We consider a rectangular (NY-like) city of 50×50 crossings.There are thus 2500 states and 4 actions.

Dependencies

  • python > 3.6
  • numpy
  • numba
  • matplotlib
  • seaborn

Running

python model-based.py && python q_learning.py

Notes

Q-learning is written entirely in numpy so it can be optimized using numba library. Using numba gives ~9times learning process speedup.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages