https://github.com/hot9cups/probdists
PyPi package for modelling Probability distributions
https://github.com/hot9cups/probdists
bernoulli-distribution binomial-distribution exponential-distribution gamma-distribution gaussian-distribution hacktoberfest hacktoberfest2020 probability-distributions pypi python uniform-distribution
Last synced: 6 days ago
JSON representation
PyPi package for modelling Probability distributions
- Host: GitHub
- URL: https://github.com/hot9cups/probdists
- Owner: hot9cups
- License: mit
- Created: 2020-10-23T13:15:07.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-30T15:55:55.000Z (over 3 years ago)
- Last Synced: 2025-02-25T03:05:08.021Z (2 months ago)
- Topics: bernoulli-distribution, binomial-distribution, exponential-distribution, gamma-distribution, gaussian-distribution, hacktoberfest, hacktoberfest2020, probability-distributions, pypi, python, uniform-distribution
- Language: Python
- Homepage:
- Size: 151 KB
- Stars: 7
- Watchers: 1
- Forks: 18
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- Code of conduct: CODE-OF-CONDUCT.md
Awesome Lists containing this project
README
# probdists
Python package to model probability distributions.
Currently supports Gaussian, Gamma, Binomial, Bernoulli, Triangular, Uniform and Exponential Distributions.## Usage
Please see [usage](https://github.com/hot9cups/probdists/blob/main/USAGE.md)## 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](https://pypi.org/project/probdists/)
## Files
The main classes are inside the probdists folder
- [Generaldistribution.py](https://github.com/hot9cups/probdists/blob/main/probdists/Generaldistribution.py) is the base class
- [Gaussiandistribution.py](https://github.com/hot9cups/probdists/blob/main/probdists/Gaussiandistribution.py), [Binomialdistribution.py](https://github.com/hot9cups/probdists/blob/main/probdists/Binomialdistribution.py), [Bernoullidistribution.py](https://github.com/hot9cups/probdists/blob/main/probdists/Bernoullidistribution.py), [Gammadistribution.py](https://github.com/hot9cups/probdists/blob/main/probdists/Gammadistribution.py), [Uniformdistribution.py](https://github.com/hot9cups/probdists/blob/main/probdists/Uniformdistribution.py), [Triangulardistribution.py](https://github.com/hot9cups/probdists/blob/main/probdists/Triangulardistribution.py) and [Exponentialdistribution.py](https://github.com/hot9cups/probdists/blob/main/probdists/Exponentialdistribution.py) are subclasses of Generaldistribution.py
- [numbers.txt](https://github.com/hot9cups/probdists/blob/main/probdists/numbers.txt), [numbers_binomial.txt](https://github.com/hot9cups/probdists/blob/main/probdists/numbers_binomial.txt), [numbers_bernoulli.txt](https://github.com/hot9cups/probdists/blob/main/probdists/numbers_bernoulli.txt), [numbers_gamma.txt](https://github.com/hot9cups/probdists/blob/main/probdists/numbers_gamma.txt), [numbers_uniform.txt](https://github.com/hot9cups/probdists/blob/main/probdists/numbers_uniform.txt), [numbers_triangular.txt](https://github.com/hot9cups/probdists/blob/main/probdists/numbers_triangular.txt) and [numbers_exponential.txt](https://github.com/hot9cups/probdists/blob/main/probdists/numbers_exponential.txt) are sample data files
- [tests.py](https://github.com/hot9cups/probdists/blob/main/test.py) contains unittests for the package## Licence
[MIT Licence](LICENCE.txt)