示例#1
0
def test_mcmc_oversampling():
    info_mcmc = {
        "mcmc": {
            "burn_in": 0,
            "learn_proposal": False,
            "oversample": True
        }
    }
    body_of_test_speeds(info_mcmc)
示例#2
0
def test_mcmc_dragging():
    info_mcmc = {
        "mcmc": {
            "burn_in": 0,
            "learn_proposal": False,
            "drag": True,
            # For tests
            "drag_limits": [None, None]
        }
    }
    body_of_test_speeds(info_mcmc)
示例#3
0
def test_polychord_speeds(modules):
    info_polychord = {"polychord": {}}
    body_of_test_speeds(info_polychord, modules=modules)
示例#4
0
def test_mcmc_blocking():
    info_mcmc = {"mcmc": {"burn_in": 0, "learn_proposal": False}}
    body_of_test_speeds(info_mcmc)