3b6afc3bce04d2c7729bb4d57986cf180356297f,scipy/stats/_continuous_distns.py,gompertz_gen,_ppf,#gompertz_gen#Any#Any#,1940

Before Change


        return 1.0-exp(-c*(exp(x)-1))

    def _ppf(self, q, c):
        return log(1-1.0/c*log(1-q))

    def _entropy(self, c):
        return 1.0 - log(c) - exp(c)*special.expn(1, c)
gompertz = gompertz_gen(a=0.0, name="gompertz")

After Change


        return -special.expm1(-c * special.expm1(x))

    def _ppf(self, q, c):
        return special.log1p(-1.0 / c * special.log1p(-q))

    def _entropy(self, c):
        return 1.0 - log(c) - exp(c)*special.expn(1, c)
gompertz = gompertz_gen(a=0.0, name="gompertz")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 10

Instances


Project Name: scipy/scipy
Commit Name: 3b6afc3bce04d2c7729bb4d57986cf180356297f
Time: 2015-01-27
Author: dr10ru@yahoo.co.in
File Name: scipy/stats/_continuous_distns.py
Class Name: gompertz_gen
Method Name: _ppf


Project Name: google/nucleus
Commit Name: 397dace4af2db3adaec1746ab4dce36ac715cdfe
Time: 2018-11-02
Author: no-reply@google.com
File Name: nucleus/util/genomics_math.py
Class Name:
Method Name: log10_binomial


Project Name: google/deepvariant
Commit Name: bd9bdcb334be151fe0195d8685d575355df5a551
Time: 2018-11-02
Author: no-reply@google.com
File Name: third_party/nucleus/util/genomics_math.py
Class Name:
Method Name: log10_binomial