af57a852daab3e4fac3150d796e87a4f6a98e5a2,pymc/tests/test_distributions.py,,test_bound,#,190

Before Change


        PositiveNormal = Bound(Normal, -.2)
        x = PositiveNormal("x", 1, 1)

        check_dlogp(model, x, [Rplus - .2])

def check_int_to_1(model, value, domain, paramdomains):
    pdf = compilef(exp(model.logp))

After Change


        PositiveNormal = Bound(Normal, -.2)
        x = PositiveNormal("x", 1, 1)

        Rplus2 = Domain([-.2, -.19,-.1, 0, .5, 1, inf])

        check_dlogp(model, x, Rplus2, [])

def check_int_to_1(model, value, domain, paramdomains):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pymc-devs/pymc3
Commit Name: af57a852daab3e4fac3150d796e87a4f6a98e5a2
Time: 2013-11-11
Author: jsalvatier@gmail.com
File Name: pymc/tests/test_distributions.py
Class Name:
Method Name: test_bound


Project Name: biolab/orange3
Commit Name: 959f696b68e68ab67ea44b49dd1070c217ee62b1
Time: 2016-09-13
Author: marko.toplak@gmail.com
File Name: Orange/preprocess/transformation.py
Class Name: Transformation
Method Name: __call__


Project Name: pymc-devs/pymc3
Commit Name: 0fd4155568db902052a79566394c12a408aba6d8
Time: 2013-10-18
Author: jsalvatier@gmail.com
File Name: pymc/tests/test_distributions.py
Class Name:
Method Name: test_bound