382ebb0ee53ddb9ffbf10d233520a64fd13d0695,tests/models_tests/prediction_tests/test_regressor.py,TestRegressor,setup_method,#TestRegressor#Any#,34

Before Change


    def setup_method(self, method):
        self.x = numpy.random.uniform(-1, 1, (5, 10)).astype(numpy.float32)
        self.t = numpy.random.randint(3, size=5).astype(numpy.int32)
        self.y = numpy.random.uniform(-1, 1, (5, 7)).astype(numpy.float32)

    def check_call(
            self, gpu, label_key, args, kwargs, model_args, model_kwargs,

After Change


    def setup_method(self, method):
        self.x = numpy.random.uniform(-1, 1, (5, 10)).astype(numpy.float32)
        self.t = numpy.random.uniform(-1, 1, (5, 10)).astype(numpy.float32)
        self.y = numpy.random.uniform(-1, 1, (5, 10)).astype(numpy.float32)

    def check_call(
            self, gpu, label_key, args, kwargs, model_args, model_kwargs,
            metrics_fun, compute_metrics):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 6

Instances


Project Name: pfnet-research/chainer-chemistry
Commit Name: 382ebb0ee53ddb9ffbf10d233520a64fd13d0695
Time: 2018-04-08
Author: corochannz@gmail.com
File Name: tests/models_tests/prediction_tests/test_regressor.py
Class Name: TestRegressor
Method Name: setup_method


Project Name: chainer/chainer
Commit Name: 3b89b6282bf2ebb2d14697e33c5d8e337d216337
Time: 2019-09-17
Author: umashankarsivakumar@gmail.com
File Name: tests/chainer_tests/functions_tests/math_tests/test_zeta.py
Class Name: TestZetaExceptions
Method Name: setUp


Project Name: chainer/chainercv
Commit Name: 7e8ecb773649e218a14fcef812983580e7a5912d
Time: 2018-05-15
Author: yuyuniitani@gmail.com
File Name: tests/experimental_tests/links_tests/model_tests/fcis_tests/utils_tests/test_mask_voting.py
Class Name: TestMaskVoting
Method Name: setUp


Project Name: dpressel/mead-baseline
Commit Name: 00581e4d6f16d72e723587e5c5636d994fcd3d05
Time: 2019-01-21
Author: dpressel@gmail.com
File Name: python/baseline/w2v.py
Class Name: RandomInitVecModel
Method Name: __init__


Project Name: chainer/chainer
Commit Name: 2380e2d65d61b7aad24846a5fe2f3f1479d7b925
Time: 2019-09-18
Author: umashankarsivakumar@gmail.com
File Name: tests/chainer_tests/functions_tests/math_tests/test_zeta.py
Class Name: TestZeta
Method Name: setUp