biwako commited on
Commit
d456738
1 Parent(s): cf76bf9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +26 -7
README.md CHANGED
@@ -25,11 +25,30 @@ model-index:
25
 
26
  ## Usage
27
 
28
- ```python
29
-
30
- model = load_from_hub(repo_id="biwako/q-FrozenLake-v1-4x4-noSlippery", filename="q-learning.pkl")
31
-
32
- # Don't forget to check if you need to add additional attributes (is_slippery=False etc)
33
- env = gym.make(model["env_id"])
34
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
 
 
25
 
26
  ## Usage
27
 
28
+ {'env_id': 'FrozenLake-v1',
29
+ 'max_steps': 99,
30
+ 'n_training_episodes': 10000,
31
+ 'n_eval_episodes': 100,
32
+ 'eval_seed': [],
33
+ 'learning_rate': 0.7,
34
+ 'gamma': 0.95,
35
+ 'max_epsilon': 1.0,
36
+ 'min_epsilon': 0.05,
37
+ 'decay_rate': 0.0005,
38
+ 'qtable': array([[0.73509189, 0.77378094, 0.77378094, 0.73509189],
39
+ [0.73509189, 0. , 0.81450625, 0.77378094],
40
+ [0.77378094, 0.857375 , 0.77378094, 0.81450625],
41
+ [0.81450625, 0. , 0.77378094, 0.77378094],
42
+ [0.77378094, 0.81450625, 0. , 0.73509189],
43
+ [0. , 0. , 0. , 0. ],
44
+ [0. , 0.9025 , 0. , 0.81450625],
45
+ [0. , 0. , 0. , 0. ],
46
+ [0.81450625, 0. , 0.857375 , 0.77378094],
47
+ [0.81450625, 0.9025 , 0.9025 , 0. ],
48
+ [0.857375 , 0.95 , 0. , 0.857375 ],
49
+ [0. , 0. , 0. , 0. ],
50
+ [0. , 0. , 0. , 0. ],
51
+ [0. , 0.9025 , 0.95 , 0.857375 ],
52
+ [0.9025 , 0.95 , 1. , 0.9025 ],
53
+ [0. , 0. , 0. , 0. ]])}
54