probdists

Python package to model probability distributions.
Currently supports Gaussian, Gamma, Binomial, Bernoulli and Exponential Distributions.

Usage

Please see usage

Installation

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

Files

The main classes are inside the probdists folder - Generaldistribution.py is the base class - Gaussiandistribution.py, Binomialdistribution.py, Bernoullidistribution.py, Gammadistribution.py and Exponentialdistribution.py are subclasses of Generaldistribution.py - numbers.txt, numbers_binomial.txt, numbers_bernoulli.txt, numbers_gamma.txt and numbers_exponential.txt are sample data files - tests.py contains unittests for the package

Licence

MIT Licence