94617b045d9a3ef461f4cd3e2ecdc3bbcb8f64d1,pymc3/tests/test_step.py,TestSampleEstimates,test_posterior_estimate,#TestSampleEstimates#,246

Before Change


            beta = Normal("beta", mu=0, sd=100, testval=beta_true)
            sigma = InverseGamma("sigma", 10., testval=sigma_true)
            mu = alpha + beta * X
            Y_obs = Normal("Y_obs", mu=mu, sd=sigma, observed=Y)

            for step_method, params in ((NUTS, {"target_accept": 0.95}), (Slice, {}), (Metropolis, {"scaling": 10.})):
                trace = sample(100000, step=step_method(**params), tune=1000)
                trace_ = trace[-300::5]

After Change


            beta = Normal("beta", mu=0, sd=100, testval=beta_true)
            sigma = InverseGamma("sigma", 10., testval=sigma_true)
            mu = alpha + beta * X
            Normal("Y_obs", mu=mu, sd=sigma, observed=Y)

            for step_method, params in ((NUTS, {"target_accept": 0.95}), (Slice, {}), (Metropolis, {"scaling": 10.})):
                trace = sample(100000, step=step_method(**params), tune=1000)
                trace_ = trace[-300::5]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 19

Non-data size: 3

Instances


Project Name: pymc-devs/pymc3
Commit Name: 94617b045d9a3ef461f4cd3e2ecdc3bbcb8f64d1
Time: 2017-02-07
Author: colcarroll@gmail.com
File Name: pymc3/tests/test_step.py
Class Name: TestSampleEstimates
Method Name: test_posterior_estimate


Project Name: pymc-devs/pymc3
Commit Name: ac8138a8fe512b8e56cc781b02e66d501af70a08
Time: 2016-09-12
Author: ColCarroll@users.noreply.github.com
File Name: pymc3/tests/test_starting.py
Class Name:
Method Name: test_find_MAP


Project Name: pymc-devs/pymc3
Commit Name: bc38179165de5c7b88e8693738fc65e91cfb131d
Time: 2016-08-18
Author: taku.yoshioka.4096@gmail.com
File Name: pymc3/tests/test_advi.py
Class Name:
Method Name: test_elbo


Project Name: pymc-devs/pymc3
Commit Name: 56aba98eb5d8e1402125fe36a92c48306e2a0322
Time: 2017-07-19
Author: adrian.seyboldt@gmail.com
File Name: pymc3/tests/test_quadpotential.py
Class Name:
Method Name: test_user_potential


Project Name: pymc-devs/pymc3
Commit Name: bc38179165de5c7b88e8693738fc65e91cfb131d
Time: 2016-08-18
Author: taku.yoshioka.4096@gmail.com
File Name: pymc3/tests/test_advi.py
Class Name:
Method Name: test_advi


Project Name: pymc-devs/pymc3
Commit Name: a4f4dc39620b5b9a2301c8ec786c632f3eabd814
Time: 2017-07-16
Author: adrian.seyboldt@gmail.com
File Name: pymc3/tests/test_quadpotential.py
Class Name:
Method Name: test_user_potential


Project Name: pymc-devs/pymc3
Commit Name: ac8138a8fe512b8e56cc781b02e66d501af70a08
Time: 2016-09-12
Author: ColCarroll@users.noreply.github.com
File Name: pymc3/tests/test_shared.py
Class Name:
Method Name: test_deterministic


Project Name: uber/pyro
Commit Name: f6e75e7593d5305b1b6c9ce1a5b2eee8a3c7f38a
Time: 2019-11-15
Author: fritzo@uber.com
File Name: tests/infer/test_smcfilter.py
Class Name: SmokeModel
Method Name: step


Project Name: pyprob/pyprob
Commit Name: e958e939c09897860dc8e5546cc9ba5e34e6a60b
Time: 2018-09-19
Author: atilimgunes.baydin@gmail.com
File Name: pyprob/nn/proposal_normal.py
Class Name: ProposalNormal
Method Name: forward


Project Name: pymc-devs/pymc3
Commit Name: ac8138a8fe512b8e56cc781b02e66d501af70a08
Time: 2016-09-12
Author: ColCarroll@users.noreply.github.com
File Name: pymc3/tests/test_missing.py
Class Name:
Method Name: test_missing


Project Name: pymc-devs/pymc3
Commit Name: 94617b045d9a3ef461f4cd3e2ecdc3bbcb8f64d1
Time: 2017-02-07
Author: colcarroll@gmail.com
File Name: pymc3/tests/test_hmc.py
Class Name:
Method Name: test_nuts_tuning


Project Name: pymc-devs/pymc3
Commit Name: ac8138a8fe512b8e56cc781b02e66d501af70a08
Time: 2016-09-12
Author: ColCarroll@users.noreply.github.com
File Name: pymc3/tests/models.py
Class Name:
Method Name: multidimensional_model


Project Name: pymc-devs/pymc3
Commit Name: 78420727a5302e48834ede5c838d94ebad63cd1a
Time: 2020-07-01
Author: aseyboldt@users.noreply.github.com
File Name: pymc3/tests/test_step.py
Class Name: TestNutsCheckTrace
Method Name: test_sampler_stats


Project Name: pymc-devs/pymc3
Commit Name: 94617b045d9a3ef461f4cd3e2ecdc3bbcb8f64d1
Time: 2017-02-07
Author: colcarroll@gmail.com
File Name: pymc3/tests/models.py
Class Name:
Method Name: simple_arbitrary_det


Project Name: dmlc/gluon-cv
Commit Name: cf767a1297d67caf41577508aacc7cbc24ae8f14
Time: 2020-09-16
Author: 43100519+xdeng7@users.noreply.github.com
File Name: scripts/gan/stylegan/modules.py
Class Name: EqualConv2d
Method Name: __init__


Project Name: pymc-devs/pymc3
Commit Name: 94617b045d9a3ef461f4cd3e2ecdc3bbcb8f64d1
Time: 2017-02-07
Author: colcarroll@gmail.com
File Name: pymc3/tests/test_shared.py
Class Name: TestShared
Method Name: test_sample_ppc


Project Name: pymc-devs/pymc3
Commit Name: 94617b045d9a3ef461f4cd3e2ecdc3bbcb8f64d1
Time: 2017-02-07
Author: colcarroll@gmail.com
File Name: pymc3/tests/test_distributions_timeseries.py
Class Name:
Method Name: test_linear


Project Name: pymc-devs/pymc3
Commit Name: ac8138a8fe512b8e56cc781b02e66d501af70a08
Time: 2016-09-12
Author: ColCarroll@users.noreply.github.com
File Name: pymc3/tests/test_missing.py
Class Name:
Method Name: test_missing_pandas


Project Name: pymc-devs/pymc3
Commit Name: ac8138a8fe512b8e56cc781b02e66d501af70a08
Time: 2016-09-12
Author: ColCarroll@users.noreply.github.com
File Name: pymc3/tests/models.py
Class Name:
Method Name: simple_model