acb8da03005c28f33f55395b8c18ab73aae771a6,pymc3/distributions/discrete.py,Binomial,logcdf,#Binomial#Any#,152
Before Change
// incomplete_beta function can only handle scalar values (see /)
if np.ndim(value):
raise TypeError(
"Binomial.logcdf expects a scalar value but received a {}-dimensional object.".format(
np.ndim(value)
)
)
n = self.n
p = self.p
value = tt.floor(value)
After Change
// incomplete_beta function can only handle scalar values (see /)
if np.ndim(value):
raise TypeError(
f"Binomial.logcdf expects a scalar value but received a {np.ndim(value)}-dimensional object."
)
n = self.n
p = self.p
value = tt.floor(value)
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 6
Instances
Project Name: pymc-devs/pymc3
Commit Name: acb8da03005c28f33f55395b8c18ab73aae771a6
Time: 2021-01-02
Author: 28983449+ricardoV94@users.noreply.github.com
File Name: pymc3/distributions/discrete.py
Class Name: Binomial
Method Name: logcdf
Project Name: pymc-devs/pymc3
Commit Name: acb8da03005c28f33f55395b8c18ab73aae771a6
Time: 2021-01-02
Author: 28983449+ricardoV94@users.noreply.github.com
File Name: pymc3/distributions/discrete.py
Class Name: NegativeBinomial
Method Name: logcdf
Project Name: pymc-devs/pymc3
Commit Name: acb8da03005c28f33f55395b8c18ab73aae771a6
Time: 2021-01-02
Author: 28983449+ricardoV94@users.noreply.github.com
File Name: pymc3/distributions/discrete.py
Class Name: BetaBinomial
Method Name: logcdf
Project Name: pymc-devs/pymc3
Commit Name: acb8da03005c28f33f55395b8c18ab73aae771a6
Time: 2021-01-02
Author: 28983449+ricardoV94@users.noreply.github.com
File Name: pymc3/distributions/discrete.py
Class Name: ZeroInflatedBinomial
Method Name: logcdf
Project Name: pymc-devs/pymc3
Commit Name: acb8da03005c28f33f55395b8c18ab73aae771a6
Time: 2021-01-02
Author: 28983449+ricardoV94@users.noreply.github.com
File Name: pymc3/distributions/discrete.py
Class Name: HyperGeometric
Method Name: logcdf
Project Name: pymc-devs/pymc3
Commit Name: acb8da03005c28f33f55395b8c18ab73aae771a6
Time: 2021-01-02
Author: 28983449+ricardoV94@users.noreply.github.com
File Name: pymc3/distributions/discrete.py
Class Name: ZeroInflatedNegativeBinomial
Method Name: logcdf