8bdcb3e2518c1743abe5f5017e8ba5d4a678b95d,Orange/widgets/data/tests/test_owpreprocess.py,TestOWPreprocess,test_randomize,#TestOWPreprocess#,20
Before Change
self.widget.set_model(model)
self.send_signal(self.widget.Inputs.data, self.zoo)
output = self.get_output(self.widget.Outputs.preprocessed_data)
np.random.seed(1)
np.random.shuffle(self.zoo.Y)
np.testing.assert_array_equal(self.zoo.X, output.X)
np.testing.assert_array_equal(self.zoo.Y, output.Y)
np.testing.assert_array_equal(self.zoo.metas, output.metas)
After Change
np.testing.assert_array_equal(self.zoo.X, output.X)
np.testing.assert_array_equal(self.zoo.metas, output.metas)
self.assertFalse(np.array_equal(self.zoo.Y, output.Y))
def test_normalize(self):
data = Table("iris")
saved = {"preprocessors": [("orange.preprocess.scale",
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: biolab/orange3
Commit Name: 8bdcb3e2518c1743abe5f5017e8ba5d4a678b95d
Time: 2017-09-20
Author: ales.erjavec@fri.uni-lj.si
File Name: Orange/widgets/data/tests/test_owpreprocess.py
Class Name: TestOWPreprocess
Method Name: test_randomize
Project Name: openai/baselines
Commit Name: 1ea5ec647c724eeed4d2a05f0092cfb2fd0ff81f
Time: 2018-08-27
Author: christopherhesse@users.noreply.github.com
File Name: baselines/common/vec_env/test_vec_env.py
Class Name:
Method Name: test_vec_env
Project Name: biolab/orange3
Commit Name: 8bdcb3e2518c1743abe5f5017e8ba5d4a678b95d
Time: 2017-09-20
Author: ales.erjavec@fri.uni-lj.si
File Name: Orange/widgets/data/tests/test_owpreprocess.py
Class Name: TestOWPreprocess
Method Name: test_randomize
Project Name: Bihaqo/t3f
Commit Name: 4c57c23e138e8b26427337d67536d4e239d55e06
Time: 2017-02-03
Author: novikov@bayesgroup.ru
File Name: tensor_train_test.py
Class Name: TensorTrainTest
Method Name: testValidateTTCores2d