9a3ae16080395cdf167b9adb7fbf575ec23c3d38,tests/algorithms/test_trust_region.py,,test_PPO,#,67
Before Change
quiet=True)
policy = learn(PPO, params)
w = policy.get_weights()
w_test = np.load("tests/algorithms/ppo_w.npy")
assert np.allclose(w, w_test, rtol=1e-3)
After Change
quiet=True)
policy = learn(PPO, params)
w = policy.get_weights()
w_test = np.array([-1.6293062, 1.0408604, -3.5757786e-1, 2.6958251e-1,
-8.7002787e-4])
assert np.allclose(w, w_test)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: AIRLab-POLIMI/mushroom
Commit Name: 9a3ae16080395cdf167b9adb7fbf575ec23c3d38
Time: 2019-11-03
Author: carlo.deramo@gmail.com
File Name: tests/algorithms/test_trust_region.py
Class Name:
Method Name: test_PPO
Project Name: AIRLab-POLIMI/mushroom
Commit Name: 9a3ae16080395cdf167b9adb7fbf575ec23c3d38
Time: 2019-11-03
Author: carlo.deramo@gmail.com
File Name: tests/algorithms/test_trust_region.py
Class Name:
Method Name: test_TRPO
Project Name: librosa/librosa
Commit Name: fd96b58a8763ae9963b4d0a92977f1617756a807
Time: 2017-12-29
Author: gnuchoi+github@gmail.com
File Name: tests/test_features.py
Class Name:
Method Name: test_spectral_flatness_synthetic