06394cd9f99d155ec5747b95dfd8726793cc30b2,tests/flows/test_sklearn.py,TestSklearn,test_serialize_type,#TestSklearn#,238

Before Change


                           int, np.int, np.int32, np.int64]

        for supported_type in supported_types:
            serialized = self.converter.serialize(supported_type)
            deserialized = self.converter.deserialize(serialized)
            self.assertEqual(deserialized, supported_type)

    def test_serialize_rvs(self):
        supported_rvs = [scipy.stats.norm(loc=1, scale=5),

After Change


                           int, np.int, np.int32, np.int64]

        for supported_type in supported_types:
            serialized = sklearn_to_flow(supported_type)
            deserialized = flow_to_sklearn(serialized)
            self.assertEqual(deserialized, supported_type)

    def test_serialize_rvs(self):
        supported_rvs = [scipy.stats.norm(loc=1, scale=5),
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: openml/openml-python
Commit Name: 06394cd9f99d155ec5747b95dfd8726793cc30b2
Time: 2016-10-20
Author: feurerm@informatik.uni-freiburg.de
File Name: tests/flows/test_sklearn.py
Class Name: TestSklearn
Method Name: test_serialize_type


Project Name: openml/openml-python
Commit Name: 06394cd9f99d155ec5747b95dfd8726793cc30b2
Time: 2016-10-20
Author: feurerm@informatik.uni-freiburg.de
File Name: tests/flows/test_sklearn.py
Class Name: TestSklearn
Method Name: test_serialize_rvs


Project Name: openml/openml-python
Commit Name: 06394cd9f99d155ec5747b95dfd8726793cc30b2
Time: 2016-10-20
Author: feurerm@informatik.uni-freiburg.de
File Name: tests/flows/test_sklearn.py
Class Name: TestSklearn
Method Name: test_serialize_simple_parameter_grid