c9dc31f349540d610f75bbd469f8421db9eb216c,test/examples/test_kissgp_variational_regression.py,TestKissGPVariationalRegression,test_kissgp_gp_mean_abs_error,#TestKissGPVariationalRegression#,58
Before Change
model.eval()
likelihood.eval()
test_preds = likelihood(model(test_x)).mean()
mean_abs_error = torch.mean(torch.abs(test_y - test_preds))
self.assertLess(mean_abs_error.squeeze().item(), 0.1)
After Change
model.eval()
likelihood.eval()
test_preds = likelihood(model(test_x)).mean
mean_abs_error = torch.mean(torch.abs(test_y - test_preds))
self.assertLess(mean_abs_error.squeeze().item(), 0.1)
In pattern: SUPERPATTERN
Frequency: 19
Non-data size: 4
Instances
Project Name: cornellius-gp/gpytorch
Commit Name: c9dc31f349540d610f75bbd469f8421db9eb216c
Time: 2018-09-25
Author: gpleiss@gmail.com
File Name: test/examples/test_kissgp_variational_regression.py
Class Name: TestKissGPVariationalRegression
Method Name: test_kissgp_gp_mean_abs_error
Project Name: cornellius-gp/gpytorch
Commit Name: c9dc31f349540d610f75bbd469f8421db9eb216c
Time: 2018-09-25
Author: gpleiss@gmail.com
File Name: test/examples/test_hadamard_multitask_gp_regression.py
Class Name: TestHadamardMultitaskGPRegression
Method Name: test_multitask_gp_mean_abs_error
Project Name: cornellius-gp/gpytorch
Commit Name: c9dc31f349540d610f75bbd469f8421db9eb216c
Time: 2018-09-25
Author: gpleiss@gmail.com
File Name: test/examples/test_kissgp_white_noise_regression.py
Class Name: TestKISSGPRegression
Method Name: test_kissgp_gp_mean_abs_error
Project Name: cornellius-gp/gpytorch
Commit Name: c9dc31f349540d610f75bbd469f8421db9eb216c
Time: 2018-09-25
Author: gpleiss@gmail.com
File Name: test/examples/test_kissgp_multiplicative_regression.py
Class Name: TestKissGPMultiplicativeRegression
Method Name: test_kissgp_gp_mean_abs_error
Project Name: cornellius-gp/gpytorch
Commit Name: c9dc31f349540d610f75bbd469f8421db9eb216c
Time: 2018-09-25
Author: gpleiss@gmail.com
File Name: test/examples/test_kronecker_multitask_ski_gp_regression.py
Class Name: TestMultiTaskGPRegression
Method Name: test_multitask_gp_mean_abs_error
Project Name: cornellius-gp/gpytorch
Commit Name: c9dc31f349540d610f75bbd469f8421db9eb216c
Time: 2018-09-25
Author: gpleiss@gmail.com
File Name: test/examples/test_sgpr_regression.py
Class Name: TestSGPRRegression
Method Name: test_sgpr_mean_abs_error_cuda
Project Name: cornellius-gp/gpytorch
Commit Name: c9dc31f349540d610f75bbd469f8421db9eb216c
Time: 2018-09-25
Author: gpleiss@gmail.com
File Name: test/examples/test_simple_gp_classification.py
Class Name: TestSimpleGPClassification
Method Name: test_classification_error
Project Name: cornellius-gp/gpytorch
Commit Name: c9dc31f349540d610f75bbd469f8421db9eb216c
Time: 2018-09-25
Author: gpleiss@gmail.com
File Name: test/examples/test_simple_gp_classification.py
Class Name: TestSimpleGPClassification
Method Name: test_classification_fast_pred_var
Project Name: cornellius-gp/gpytorch
Commit Name: c9dc31f349540d610f75bbd469f8421db9eb216c
Time: 2018-09-25
Author: gpleiss@gmail.com
File Name: test/examples/test_kissgp_kronecker_product_regression.py
Class Name: TestKissGPKroneckerProductRegression
Method Name: test_kissgp_gp_mean_abs_error
Project Name: cornellius-gp/gpytorch
Commit Name: c9dc31f349540d610f75bbd469f8421db9eb216c
Time: 2018-09-25
Author: gpleiss@gmail.com
File Name: test/examples/test_spectral_mixture_gp_regression.py
Class Name: TestSpectralMixtureGPRegression
Method Name: test_spectral_mixture_gp_mean_abs_error
Project Name: cornellius-gp/gpytorch
Commit Name: c9dc31f349540d610f75bbd469f8421db9eb216c
Time: 2018-09-25
Author: gpleiss@gmail.com
File Name: test/examples/test_simple_gp_classification.py
Class Name: TestSimpleGPClassification
Method Name: test_classification_error_cuda
Project Name: cornellius-gp/gpytorch
Commit Name: c9dc31f349540d610f75bbd469f8421db9eb216c
Time: 2018-09-25
Author: gpleiss@gmail.com
File Name: test/examples/test_kronecker_multitask_gp_regression.py
Class Name: TestMultiTaskGPRegression
Method Name: test_multitask_gp_mean_abs_error
Project Name: cornellius-gp/gpytorch
Commit Name: c9dc31f349540d610f75bbd469f8421db9eb216c
Time: 2018-09-25
Author: gpleiss@gmail.com
File Name: test/examples/test_kissgp_additive_regression.py
Class Name: TestKISSGPAdditiveRegression
Method Name: test_kissgp_gp_mean_abs_error
Project Name: cornellius-gp/gpytorch
Commit Name: c9dc31f349540d610f75bbd469f8421db9eb216c
Time: 2018-09-25
Author: gpleiss@gmail.com
File Name: test/examples/test_kissgp_gp_regression.py
Class Name: TestKISSGPRegression
Method Name: test_kissgp_gp_mean_abs_error
Project Name: cornellius-gp/gpytorch
Commit Name: c9dc31f349540d610f75bbd469f8421db9eb216c
Time: 2018-09-25
Author: gpleiss@gmail.com
File Name: test/examples/test_kissgp_gp_regression.py
Class Name: TestKISSGPRegression
Method Name: test_kissgp_gp_mean_abs_error_cuda
Project Name: cornellius-gp/gpytorch
Commit Name: c9dc31f349540d610f75bbd469f8421db9eb216c
Time: 2018-09-25
Author: gpleiss@gmail.com
File Name: test/examples/test_kissgp_dkl_regression.py
Class Name: TestDKLRegression
Method Name: test_dkl_gp_mean_abs_error
Project Name: cornellius-gp/gpytorch
Commit Name: c9dc31f349540d610f75bbd469f8421db9eb216c
Time: 2018-09-25
Author: gpleiss@gmail.com
File Name: test/examples/test_kissgp_white_noise_regression.py
Class Name: TestKISSGPRegression
Method Name: test_kissgp_gp_mean_abs_error_cuda
Project Name: cornellius-gp/gpytorch
Commit Name: c9dc31f349540d610f75bbd469f8421db9eb216c
Time: 2018-09-25
Author: gpleiss@gmail.com
File Name: test/examples/test_kissgp_gp_classification.py
Class Name: TestKISSGPClassification
Method Name: test_kissgp_classification_error
Project Name: cornellius-gp/gpytorch
Commit Name: c9dc31f349540d610f75bbd469f8421db9eb216c
Time: 2018-09-25
Author: gpleiss@gmail.com
File Name: test/examples/test_sgpr_regression.py
Class Name: TestSGPRRegression
Method Name: test_sgpr_mean_abs_error