Views
No views yet
gamma=1 the Q table isarray([[1., 1., 1., 1.],
[1., 0., 1., 1.],
[1., 1., 1., 1.],
[1., 0., 1., 1.],
[1., 1., 0., 1.],
[0., 0., 0., 0.],
[0., 1., 0., 1.],
[0., 0., 0., 0.],
[1., 0., 1., 1.],
[1., 1., 1., 0.],
[1., 1., 0., 1.],
[0., 0., 0., 0.],
[0., 0., 0., 0.],
[0., 1., 1., 1.],
[1., 1., 1., 1.],
[0., 0., 0., 0.]])1
2model = load_from_hub(repo_id="casellimarco/q-FrozenLake-v1-4x4-noSlippery-gamma_1", filename="q-learning.pkl")
3
4# Don't forget to check if you need to add additional attributes (is_slippery=False etc)
5env = gym.make(model["env_id"])