Skip to main content

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

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pk_prob_distributions-0.3.tar.gz (3.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page