You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of the distribution functions return a float whilst others return a decimal.Decimal.
All distribution functions should be consistent in their return types.
Inconsistent parameter naming
Inconsistent naming for parameters of various functions where the actual parameters represent the same thing.
For example, InvBinomialCD uses y whereas InvGeometricCD uses area:
Inconsistent return types
Some of the distribution functions return a
float
whilst others return adecimal.Decimal
.All distribution functions should be consistent in their return types.
Inconsistent parameter naming
Inconsistent naming for parameters of various functions where the actual parameters represent the same thing.
For example,
InvBinomialCD
usesy
whereasInvGeometricCD
usesarea
:https://github.com/berkay-yalin/python-probabilities/blob/d8585c2c41af3152a365e387ccb5b974b265aeca/python_probabilities/distributions_binomial.py#L59-L61
https://github.com/berkay-yalin/python-probabilities/blob/d8585c2c41af3152a365e387ccb5b974b265aeca/python_probabilities/distributions_geometric.py#L30-L35
The text was updated successfully, but these errors were encountered: