754106e471c53eed35f92bc54e290982e3de7f49,GPy/testing/gpy_kernels_state_space_tests.py,StateSpaceKernelsTests,run_for_model,#StateSpaceKernelsTests#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,21

Before Change



        self.assertTrue(compare_with_GP)
        if compare_with_GP:
            np.random.seed(254856)
            m2  = GPy.models.GPRegression(X,Y, gp_kernel)
            //m2.randomize()
            m2.optimize(max_iters=optimize_max_iters)

After Change


                                kalman_filter_type=kalman_filter_type,
                                use_cython=use_cython)

        m1.likelihood[:] = Y.var()/10.

        if check_gradients:
            self.assertTrue(m1.checkgrad())
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: SheffieldML/GPy
Commit Name: 754106e471c53eed35f92bc54e290982e3de7f49
Time: 2016-04-07
Author: ibinbei@gmail.com
File Name: GPy/testing/gpy_kernels_state_space_tests.py
Class Name: StateSpaceKernelsTests
Method Name: run_for_model


Project Name: biolab/orange3
Commit Name: 893b7c85c0cb072dfb59cbc1cca81a4a923d9df8
Time: 2015-12-18
Author: tomaz.hocevar@fri.uni-lj.si
File Name: Orange/tests/test_softmax_regression.py
Class Name: SoftmaxRegressionTest
Method Name: test_SoftmaxRegressionPreprocessors


Project Name: statsmodels/statsmodels
Commit Name: a1a0caf27341fd560101ae643bb7df1dc4dfcf46
Time: 2020-07-02
Author: kevin.k.sheppard@gmail.com
File Name: statsmodels/stats/tests/test_corrpsd.py
Class Name: Test_Factor
Method Name: test_corr_nearest_factor_sparse