Gaussian and Binomial distributions
Project description
Gb_probability_dist package
Gb_probability_dist is a Python package that provides Gaussian and Binomial distribution implementations. With these classes you can instantiate an object in a distribution and then plot it or load data from a file. You can also add one with another distribution of the same type to get a third one.
Installation
Dependencies
gb_probability_dist requires:
- Python
- Matplotlib
gb_probability_dist works with any version of python and matplotlib.
User installation
You can install it easily with pip.
pip install gb_probability_dist
Create your first probability distributions
$ python
>>> from gb_probability_dist import Gaussian, Binomial
>>> Gaussian(10, 7)
mean 10, standard deviation 7
>>> Binomial(.4, 25)
mean 10.0, standard deviation 2.4494897422783178, n 25
>>> new_gaussian = Gaussian(25,2) + Gaussian(50,5)
>> new_gaussian
mean 75, standard deviation 5.385164807134504
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file gb_probability_dist-1.3.tar.gz.
File metadata
- Download URL: gb_probability_dist-1.3.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec1156c04757ec5a5cbe621fb27233c188a8be759d05ebffdb95b7bc3298a4c7
|
|
| MD5 |
9a7dd0d879af444b558c12f76ecf03b2
|
|
| BLAKE2b-256 |
c2153d3b50ec5d6cd8e10e8b446961b7490bbb3dedb9ade9dc4c0288ba9fd78b
|