Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pub

Miscellaneous public code.

qlearn.py

Simple discrete, deterministic Q learning.

Can be run in command line, or in notebook (e.g. colab).

The implemented environment example is from Tom Mitchell's machine learning textbook (1997). See http://www.cs.cmu.edu/~tom/mlbook.html .

  • Environment: All actions in the goal state G loop back, with reward 0.
  • Optimal V(s):
  • Optimal Q(s,a):

Note: V(s) and Q(s,a) assume a discount rate of 0.9.

spiral.ipynb

Simple script to generate the spiral data.

Change two variables under "config" to adjust the data.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages