cc8d44286f1f82afa96283992b6a1dab908b36d2,scipy/stats/_continuous_distns.py,gennorm_gen,_stats,#gennorm_gen#Any#,4463
Before Change
return -self._ppf(x, beta)
def _stats(self, beta):
c1 = special.gammaln(1. / beta)
c3 = special.gammaln(3. / beta)
c5 = special.gammaln(5. / beta)
return 0., exp(c3 - c1), 0., exp(c5 + c1 - 2. * c3) - 3.
After Change
return -self._ppf(x, beta)
def _stats(self, beta):
c1, c3, c5 = special.gammaln([1./beta, 3./beta, 5./beta])
return 0., np.exp(c3 - c1), 0., np.exp(c5 + c1 - 2. * c3) - 3.
def _entropy(self, beta):
return 1. / beta - np.log(.5 * beta) + special.gammaln(1. / beta)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: scipy/scipy
Commit Name: cc8d44286f1f82afa96283992b6a1dab908b36d2
Time: 2015-03-14
Author: evgeni@burovski.me
File Name: scipy/stats/_continuous_distns.py
Class Name: gennorm_gen
Method Name: _stats
Project Name: pymc-devs/pymc3
Commit Name: d2abb62f80aa0665b78ef467a43f1fef79129b53
Time: 2016-09-06
Author: ColCarroll@users.noreply.github.com
File Name: pymc3/tests/test_distributions.py
Class Name:
Method Name: mvt_logpdf
Project Name: pymc-devs/pymc3
Commit Name: d2abb62f80aa0665b78ef467a43f1fef79129b53
Time: 2016-09-06
Author: ColCarroll@users.noreply.github.com
File Name: pymc3/tests/test_distributions.py
Class Name:
Method Name: multinomial_logpdf