a064b0d04419f183e0fb30e1125333e5fbd803d7,test/kernels/test_matern_kernel.py,TestMatern05BaseKernel,create_kernel_ard,#TestMatern05BaseKernel#Any#,24

Before Change


        return MaternKernel(nu=0.5, **kwargs)

    def create_kernel_ard(self, num_dims, **kwargs):
        return MaternKernel(nu=0.5, ard_num_dims=num_dims, **kwargs)


class TestMaternKernel(unittest.TestCase, BaseKernelTestCase):
    def create_kernel_no_ard(self, **kwargs):

After Change


        return kernel

    def create_kernel_ard(self, num_dims, **kwargs):
        kernel = MaternKernel(nu=0.5, ard_num_dims=num_dims, **kwargs)
        kernel.initialize(lengthscale=5.0)
        return kernel


class TestMaternKernel(unittest.TestCase, BaseKernelTestCase):
    def create_kernel_no_ard(self, **kwargs):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: cornellius-gp/gpytorch
Commit Name: a064b0d04419f183e0fb30e1125333e5fbd803d7
Time: 2020-11-17
Author: gpleiss@gmail.com
File Name: test/kernels/test_matern_kernel.py
Class Name: TestMatern05BaseKernel
Method Name: create_kernel_ard


Project Name: explosion/thinc
Commit Name: 5dccee984b2c25f6508947d3731b8934296ff4c5
Time: 2020-01-04
Author: honnibal+gh@gmail.com
File Name: thinc/layers/lstm.py
Class Name:
Method Name: LSTM_step


Project Name: cornellius-gp/gpytorch
Commit Name: a064b0d04419f183e0fb30e1125333e5fbd803d7
Time: 2020-11-17
Author: gpleiss@gmail.com
File Name: test/kernels/test_matern_kernel.py
Class Name: TestMatern05BaseKernel
Method Name: create_kernel_no_ard


Project Name: explosion/thinc
Commit Name: 25c541e93c0ac1cafe517eba573d0c7704ed7a1b
Time: 2020-01-12
Author: ines@ines.io
File Name: thinc/layers/embed.py
Class Name:
Method Name: Embed