cec46c43417805efe8481e9df0b15b61267e15f1,pymc/distributions/distributions.py,,Cauchy,#Any#Any#,59

Before Change


        return switch(gt(beta , 0),
                  -log(beta) - log( 1 + ((value-alpha) / beta) ** 2 ),
                  -inf)
    return dist
    
def Gamma(alpha, beta):
    def dist(value):
        return switch(ge(value , 0) & gt(alpha , 0) & gt(beta , 0),

After Change


        return switch(gt(beta , 0),
                  -log(beta) - log( 1 + ((value-alpha) / beta) ** 2 ),
                  -inf)
    return locals()
    
@quickclass
def Gamma(alpha, beta):
    def logp(value):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 14

Non-data size: 4

Instances


Project Name: pymc-devs/pymc3
Commit Name: cec46c43417805efe8481e9df0b15b61267e15f1
Time: 2013-02-15
Author: jsalvatier@gmail.com
File Name: pymc/distributions/distributions.py
Class Name:
Method Name: Cauchy


Project Name: pymc-devs/pymc3
Commit Name: cec46c43417805efe8481e9df0b15b61267e15f1
Time: 2013-02-15
Author: jsalvatier@gmail.com
File Name: pymc/distributions/distributions.py
Class Name:
Method Name: Uniform


Project Name: pymc-devs/pymc3
Commit Name: cec46c43417805efe8481e9df0b15b61267e15f1
Time: 2013-02-15
Author: jsalvatier@gmail.com
File Name: pymc/distributions/distributions.py
Class Name:
Method Name: Binomial


Project Name: pymc-devs/pymc3
Commit Name: cec46c43417805efe8481e9df0b15b61267e15f1
Time: 2013-02-15
Author: jsalvatier@gmail.com
File Name: pymc/distributions/distributions.py
Class Name:
Method Name: Gamma


Project Name: pymc-devs/pymc3
Commit Name: cec46c43417805efe8481e9df0b15b61267e15f1
Time: 2013-02-15
Author: jsalvatier@gmail.com
File Name: pymc/distributions/distributions.py
Class Name:
Method Name: Beta


Project Name: pymc-devs/pymc3
Commit Name: cec46c43417805efe8481e9df0b15b61267e15f1
Time: 2013-02-15
Author: jsalvatier@gmail.com
File Name: pymc/distributions/distributions.py
Class Name:
Method Name: Flat


Project Name: pymc-devs/pymc3
Commit Name: cec46c43417805efe8481e9df0b15b61267e15f1
Time: 2013-02-15
Author: jsalvatier@gmail.com
File Name: pymc/distributions/distributions.py
Class Name:
Method Name: BetaBin


Project Name: pymc-devs/pymc3
Commit Name: cec46c43417805efe8481e9df0b15b61267e15f1
Time: 2013-02-15
Author: jsalvatier@gmail.com
File Name: pymc/distributions/distributions.py
Class Name:
Method Name: Normal


Project Name: pymc-devs/pymc3
Commit Name: 2fe6e88ebb31c201bd18c0cefa1b9840d4fb3911
Time: 2013-03-12
Author: jsalvatier@gmail.com
File Name: pymc/distributions/timeseries.py
Class Name:
Method Name: AR1


Project Name: pymc-devs/pymc3
Commit Name: cec46c43417805efe8481e9df0b15b61267e15f1
Time: 2013-02-15
Author: jsalvatier@gmail.com
File Name: pymc/distributions/distributions.py
Class Name:
Method Name: Poisson


Project Name: pymc-devs/pymc3
Commit Name: cec46c43417805efe8481e9df0b15b61267e15f1
Time: 2013-02-15
Author: jsalvatier@gmail.com
File Name: pymc/distributions/distributions.py
Class Name:
Method Name: ZeroInflatedPoisson


Project Name: pymc-devs/pymc3
Commit Name: cec46c43417805efe8481e9df0b15b61267e15f1
Time: 2013-02-15
Author: jsalvatier@gmail.com
File Name: pymc/distributions/distributions.py
Class Name:
Method Name: MvNormal


Project Name: pymc-devs/pymc3
Commit Name: cec46c43417805efe8481e9df0b15b61267e15f1
Time: 2013-02-15
Author: jsalvatier@gmail.com
File Name: pymc/distributions/distributions.py
Class Name:
Method Name: T


Project Name: pymc-devs/pymc3
Commit Name: cec46c43417805efe8481e9df0b15b61267e15f1
Time: 2013-02-15
Author: jsalvatier@gmail.com
File Name: pymc/distributions/distributions.py
Class Name:
Method Name: Bernoulli