15b3563c3c7f700ee0bf23b0477527dfa5323cea,test/examples/test_kissgp_gp_regression.py,GPRegressionModel,__init__,#GPRegressionModel#Any#Any#Any#,35

Before Change


class GPRegressionModel(gpytorch.models.ExactGP):
    def __init__(self, train_x, train_y, likelihood):
        super(GPRegressionModel, self).__init__(train_x, train_y, likelihood)
        self.mean_module = ConstantMean(constant_bounds=[-1e-5, 1e-5])
        self.base_covar_module = RBFKernel(log_lengthscale_bounds=(-5, 6))
        self.covar_module = GridInterpolationKernel(self.base_covar_module, grid_size=50, grid_bounds=[(0, 1)])

After Change


        super(GPRegressionModel, self).__init__(train_x, train_y, likelihood)
        self.mean_module = ConstantMean(prior=SmoothedBoxPrior(-1e-5, 1e-5))
        self.base_covar_module = RBFKernel(
            log_lengthscale_prior=SmoothedBoxPrior(exp(-5), exp(6), sigma=0.1, log_transform=True)
        )
        self.covar_module = GridInterpolationKernel(self.base_covar_module, grid_size=50, grid_bounds=[(0, 1)])

    def forward(self, x):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 9

Non-data size: 4

Instances


Project Name: cornellius-gp/gpytorch
Commit Name: 15b3563c3c7f700ee0bf23b0477527dfa5323cea
Time: 2018-06-07
Author: balandat@fb.com
File Name: test/examples/test_kissgp_gp_regression.py
Class Name: GPRegressionModel
Method Name: __init__


Project Name: cornellius-gp/gpytorch
Commit Name: 15b3563c3c7f700ee0bf23b0477527dfa5323cea
Time: 2018-06-07
Author: balandat@fb.com
File Name: test/examples/test_kissgp_additive_classification.py
Class Name: GPClassificationModel
Method Name: __init__


Project Name: cornellius-gp/gpytorch
Commit Name: 15b3563c3c7f700ee0bf23b0477527dfa5323cea
Time: 2018-06-07
Author: balandat@fb.com
File Name: test/examples/test_kissgp_white_noise_regression.py
Class Name: GPRegressionModel
Method Name: __init__


Project Name: cornellius-gp/gpytorch
Commit Name: 15b3563c3c7f700ee0bf23b0477527dfa5323cea
Time: 2018-06-07
Author: balandat@fb.com
File Name: test/examples/test_sgpr_regression.py
Class Name: GPRegressionModel
Method Name: __init__


Project Name: cornellius-gp/gpytorch
Commit Name: 15b3563c3c7f700ee0bf23b0477527dfa5323cea
Time: 2018-06-07
Author: balandat@fb.com
File Name: test/examples/test_kissgp_gp_classification.py
Class Name: GPClassificationModel
Method Name: __init__


Project Name: cornellius-gp/gpytorch
Commit Name: 0edbd6e408ef58126353912bf5782510eec3e8f8
Time: 2018-08-17
Author: gpleiss@gmail.com
File Name: test/examples/test_kissgp_gp_classification.py
Class Name: GPClassificationModel
Method Name: __init__


Project Name: cornellius-gp/gpytorch
Commit Name: 15b3563c3c7f700ee0bf23b0477527dfa5323cea
Time: 2018-06-07
Author: balandat@fb.com
File Name: test/examples/test_kissgp_variational_regression.py
Class Name: GPRegressionModel
Method Name: __init__


Project Name: cornellius-gp/gpytorch
Commit Name: 15b3563c3c7f700ee0bf23b0477527dfa5323cea
Time: 2018-06-07
Author: balandat@fb.com
File Name: test/examples/test_simple_gp_classification.py
Class Name: GPClassificationModel
Method Name: __init__


Project Name: cornellius-gp/gpytorch
Commit Name: 15b3563c3c7f700ee0bf23b0477527dfa5323cea
Time: 2018-06-07
Author: balandat@fb.com
File Name: test/examples/test_kissgp_kronecker_product_classification.py
Class Name: GPClassificationModel
Method Name: __init__