Gaussian and Binomial distributions
Project description
pk_prob_distributions
Summary of the package
Files
Explanation of files in the package
Installation
Use the package manager pip to install pk_prob_distributions.
pip install pk_prob_distributions
Usage
from pk_prob_distributions import Gaussian, Binomial
gaussian_one = Gaussian(10, 7) # a Gaussian Distribution with mean 10 and standard deviation 7
gaussian_one.calculate_mean() # returns the mean of the Gaussian Distribution
gaussian_one.calculate_stdev() # returns the standard deviation of the Gaussian Distribution
gaussian_one.pdf(k) # probability density function, being k the point for calculating the probability density function
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
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
Close
Hashes for pk_prob_distributions-0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9c219a1fa8443806cf5bbca6af9239b740f8a8b8619f90a8fc5745becc14a18 |
|
MD5 | 6122c09e664c3889a3159326b18183c4 |
|
BLAKE2b-256 | aa38973e34eb22749d0b77481492b29950fa6332eae56633b9f309fd7ab596e3 |