test_gaussian_bnn_posterior
¶
Module Contents¶
Classes¶
TestGaussianBNNPosterior |
A suite of tests verifying that the input PDFs and the sample distributions |
-
class
test_gaussian_bnn_posterior.
TestGaussianBNNPosterior
(methodName='runTest')[source]¶ Bases:
unittest.TestCase
A suite of tests verifying that the input PDFs and the sample distributions match.
-
classmethod
setUpClass
(cls)[source]¶ Hook method for setting up class fixture before running tests in the class.
-
test_diagonal_gaussian_bnn_posterior
(self)[source]¶ Test the sampling of DiagonalGaussianBNNPosterior
-
test_low_rank_gaussian_bnn_posterior
(self)[source]¶ Test the sampling of LowRankGaussianBNNPosterior
-
test_double_low_rank_gaussian_bnn_posterior
(self)[source]¶ Test the sampling of DoubleLowRankGaussianBNNPosterior
Only compares the true and sample means
-
classmethod