752f17f65ff851521b00f699e32f45e14945f069,tests/algorithms/test_td.py,,test_sarsa_lambda_continuous,#,141
Before Change
mdp_continuous.info.observation_space.high[0], 10)
s_2 = np.linspace(mdp_continuous.info.observation_space.low[1],
mdp_continuous.info.observation_space.high[1], 10)
for i in s_1:
for j in s_2:
alg._update(np.array([i, j]), np.array([1]), 100, np.array([0, 0]),
0)
test_w = np.array([[0, 0, 0, 0],
[320.43, 399.8616, 340.397, 417.218],
[0, 0, 0, 0]])
After Change
def test_sarsa_lambda_continuous():
pi, _, mdp_continuous = initialize()
mdp_continuous.seed(1)
n_tilings = 1
tilings = Tiles.generate(n_tilings, [2, 2],
mdp_continuous.info.observation_space.low,
mdp_continuous.info.observation_space.high)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: AIRLab-POLIMI/mushroom
Commit Name: 752f17f65ff851521b00f699e32f45e14945f069
Time: 2019-11-12
Author: carlo.deramo@gmail.com
File Name: tests/algorithms/test_td.py
Class Name:
Method Name: test_sarsa_lambda_continuous
Project Name: mozilla/bugbug
Commit Name: 3f2b1d4efa10398263b1002e0bd4a13ecb83ead1
Time: 2019-06-04
Author: ayush.shridhar1506@gmail.com
File Name: bugbug/models/duplicate.py
Class Name: DuplicateModel
Method Name: get_labels
Project Name: AIRLab-POLIMI/mushroom
Commit Name: 752f17f65ff851521b00f699e32f45e14945f069
Time: 2019-11-12
Author: carlo.deramo@gmail.com
File Name: tests/algorithms/test_td.py
Class Name:
Method Name: test_true_online_sarsa_lambda