Gaussian and Binomial distributions
Project description
Thanks for installing super_distributions!
It is a simple package for using some of the most popular distributions such as Gaussian & Binomial Distributions (more incoming)
#Setting it up
After you’ve installed the package, simply import the package with desired distrubution name like:
——-> from super_distributions import Gaussian
You can then simply create an object for class Gaussian like:
- ——> gaussian_one = Gaussian(mean_value, standard_deviation_value) // Gaussian(20,3)
gaussian_one.mean // 20 gaussian_one.stdev // 3
Inbuilt functions for all distributions:
object.read_data_file()
<!– 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.
- Args:
file_name (string): name of a file to read from
- Returns:
None
“”” –>
object.calculate_mean() object.calculate_stdev() object.pdf() object.plot_histogram() object.plot_histogram_pdf()
For any doubts, just write to me at narayansharma275@gmail.com or reach out to me on my LinkedIn - https://www.linkedin.com/in/narayansharma277/
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 super_distributions-0.1.2.tar.gz.
File metadata
- Download URL: super_distributions-0.1.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.4.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c0dd8b5a640285217f4262b2962cceb254f62f99fcce3ce81c270b19646f480
|
|
| MD5 |
073aa90608d75e2acd7284d9719802bc
|
|
| BLAKE2b-256 |
7f54cc4a5809a977e44472f41ca5ea2646ee1a52d0279e705b736708e4dba2f7
|