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 details)

Uploaded Source

File details

Details for the file pk_prob_distributions-0.3.tar.gz.

File metadata

  • Download URL: pk_prob_distributions-0.3.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.2

File hashes

Hashes for pk_prob_distributions-0.3.tar.gz
Algorithm Hash digest
SHA256 d9c219a1fa8443806cf5bbca6af9239b740f8a8b8619f90a8fc5745becc14a18
MD5 6122c09e664c3889a3159326b18183c4
BLAKE2b-256 aa38973e34eb22749d0b77481492b29950fa6332eae56633b9f309fd7ab596e3

See more details on using hashes here.

Supported by

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