090387a17663966b9e358d339d9d7b9b283af34c,server/analysis/tests/test_ddpg.py,TestDDPG,test_ddpg_ypreds,#TestDDPG#,39
Before Change
cls.ddpg.update()
def test_ddpg_ypreds(self):
ypreds_round = [round(self.ddpg.choose_action(x)[0], 4) for x in self.X_test]
expected_ypreds = [0.1778, 0.1914, 0.2607, 0.4459, 0.5660, 0.3836]
for ypred_round, expected_ypred in zip(ypreds_round, expected_ypreds):
self.assertAlmostEqual(ypred_round, expected_ypred, places=6)
After Change
def test_ddpg_ypreds(self):
expected_ypreds = ["0.3169", "0.3240", "0.3934", "0.5787", "0.6988", "0.5163"]
self.assertEqual(self.ypreds_round, expected_ypreds)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: cmu-db/ottertune
Commit Name: 090387a17663966b9e358d339d9d7b9b283af34c
Time: 2019-10-14
Author: dongshen@andrew.cmu.edu
File Name: server/analysis/tests/test_ddpg.py
Class Name: TestDDPG
Method Name: test_ddpg_ypreds
Project Name: tensorlayer/tensorlayer
Commit Name: f2073333b710a340403843763ba60eb1e6699916
Time: 2019-04-11
Author: rundi_wu@pku.edu.cn
File Name: examples/data_process/tutorial_fast_affine_transform.py
Class Name:
Method Name: example3
Project Name: pfnet/optuna
Commit Name: c7e023b89171841957e3a5c5c60fdd84a4f7175e
Time: 2020-11-06
Author: hiroyuki.vincent.yamazaki@gmail.com
File Name: optuna/_transform.py
Class Name:
Method Name: _untransform_single_param