Python package to model probability distributions.
Currently supports Gaussian, Gamma, Binomial, Bernoulli, Triangular, Uniform and Exponential Distributions.
Please see usage
Installing using pip:
>>> pip install probdists
Installing using virtual-environment(recommended):
>>> conda create -n myEnv python=3.6 anaconda
>>> conda activate myEnv
>>> pip install probdists
You can find the project on PyPi here
The main classes are inside the probdists folder
- Generaldistribution.py is the base class
- Gaussiandistribution.py, Binomialdistribution.py, Bernoullidistribution.py, Gammadistribution.py, Uniformdistribution.py, Triangulardistribution.py and Exponentialdistribution.py are subclasses of Generaldistribution.py
- numbers.txt, numbers_binomial.txt, numbers_bernoulli.txt, numbers_gamma.txt, numbers_uniform.txt, numbers_triangular.txt and numbers_exponential.txt are sample data files
- tests.py contains unittests for the package