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.

setUp(self)[source]

Hook method for setting up the test fixture before exercising it.

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

test_full_rank_gaussian_bnn_posterior(self)[source]

Test the sampling of FullRankGaussianBNNPosterior

test_double_gaussian_bnn_posterior(self)[source]

Test the sampling of DoubleGaussianBNNPosterior

Only compares the true and sample means