Gaussian and Binomial distributions
Project description
Gaussian-Binomial-distributions package
This package contains the code for calculating the probability density function of gaussian and binomial distribution by providing the data file. From the data file, the package contains two classes called gaussian and binomial which can calculate the further details such as mean and standard deviation from the data file provided (data file should be .txt). Moreover, the classes can be further use to calculate probability density and plot the respective graphs.And one can use it further for adding two or more Gaussian function or Binomial functions.
Files
Below is the brief information about the files used:
-
init.py is the file for importing the Binomial and Gaussian class from the respective modules
-
General Distribution (
Generaldistribution.py) - This module of python package contains the code ofclass Distributionfor calculating and visualizing a probability distribution. Additionally, there is a method calledread_data_file, which is the function to read in data from a txt file. The txt file should have one number (float) per line. The numbers are stored in the data attribute. -
Gaussian Distribution (
Gaussindistribution.py) - This module contains the class for calculating and visulizing a Gaussian distribution which inherits the properties of Distribution fromGeneraldistribution.py. -
Binomial Distribution (
Binomialdistribution.py) - Binomial distribution class for calculating and visualizing a Binomial distribution.
Installation guide for the package
You can install the gauss-binomial-probability from PyPI:
pip install gauss_binomial_probability
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 gauss_binomial_probability-1.5.tar.gz.
File metadata
- Download URL: gauss_binomial_probability-1.5.tar.gz
- Upload date:
- Size: 4.2 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.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
871c2e6c3c4793b2f9fa4f9a6aa2f95ae966d8c64635fbb02c45c10ef8cb9798
|
|
| MD5 |
210c1ae11d3ae5f53a5375f3607f6070
|
|
| BLAKE2b-256 |
78580b1e5cbba914ae3194c837b6c91ed22f7861785fef22785ca16525dbb074
|