Views
No views yet
gamma=0 there is no information passed and so the only non zero value corresponds to the state just before the target.array([[0., 0., 0., 0.],
[0., 0., 0., 0.],
[0., 0., 0., 0.],
[0., 0., 0., 0.],
[0., 0., 0., 0.],
[0., 0., 0., 0.],
[0., 0., 0., 0.],
[0., 0., 0., 0.],
[0., 0., 0., 0.],
[0., 0., 0., 0.],
[0., 0., 0., 0.],
[0., 0., 0., 0.],
[0., 0., 0., 0.],
[0., 0., 0., 0.],
[0., 0., 1., 0.],
[0., 0., 0., 0.]])1
2model = load_from_hub(repo_id="casellimarco/q-FrozenLake-v1-4x4-noSlippery-gamma_0", 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"])