17.1.1.8.1.5.1.3. cobra.test.test_sampling.test_optgp

Test functionalities of OptGPSampler.

17.1.1.8.1.5.1.3.1. Module Contents

17.1.1.8.1.5.1.3.1.1. Functions

optgp(model)

Return OptGPSampler instance for tests.

test_optgp_init_benchmark(model, benchmark)

Benchmark inital OptGP sampling.

test_optgp_sample_benchmark(optgp, benchmark)

Benchmark OptGP sampling.

test_sampling(optgp)

Test sampling.

test_batch_sampling(optgp)

Test batch sampling.

test_variables_samples(achr, optgp)

Test variable samples.

test_reproject(optgp)

Test reprojection of sampling.

cobra.test.test_sampling.test_optgp.optgp(model)[source]

Return OptGPSampler instance for tests.

cobra.test.test_sampling.test_optgp.test_optgp_init_benchmark(model, benchmark)[source]

Benchmark inital OptGP sampling.

cobra.test.test_sampling.test_optgp.test_optgp_sample_benchmark(optgp, benchmark)[source]

Benchmark OptGP sampling.

cobra.test.test_sampling.test_optgp.test_sampling(optgp)[source]

Test sampling.

cobra.test.test_sampling.test_optgp.test_batch_sampling(optgp)[source]

Test batch sampling.

cobra.test.test_sampling.test_optgp.test_variables_samples(achr, optgp)[source]

Test variable samples.

cobra.test.test_sampling.test_optgp.test_reproject(optgp)[source]

Test reprojection of sampling.