Skip to main content

##ext-distributions

Package currently supports calculation and visualization of binomial and gaussian distributions

Installation

Use the package manager pip to install ext_distributions.

pip install ext-distributions

Usage Gaussian distribution

from ext_distributions import Gaussian

gaussian = Gaussian()
gaussian.read_data_file('filename')#The txt file should have one number (float) per line
gaussian.plot_histogram()#Output's a histogram of current data file
gaussian.plot_histogram_pdf()#plot the normalized histogram of the data and a plot of the probability density function along the same range

Usage Binomial distribution

from ext_distributions import Binomial

binomial = Binomial()
binomial.read_data_file('filename')#The txt file should should contain only 0 or 1 per line(1=positive case)
binomial.replace_stats_with_data()#updates mean and standard deviation(do use it after reading a text file)
binomial.plot_bar()#Output's a bargraph of current data file
binomial.plot_bar_pdf()#Plot's the pdf of the binomial distribution

Usage Other

#Adding of two gaussian objects
gaussian_three = gaussian_one + gaussian_two

#Adding of two binomial objects with same probability(p) value
binomial_three = binomial_one + binomial_two

License

MIT

Release files for ext-distributions 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ext-distributions 1.1
File Size Uploaded
ext-distributions-1.1.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ext-distributions 1.1
File Interpreter ABI Platform
ext_distributions-1.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.0 kB

Release files / ext-distributions-1.1.tar.gz

Download URL ext-distributions-1.1.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e7150a7f83694e227f3c488c13d1c2f35d0ee1f4d38af424881404ad2b688ead
BLAKE2b-256 checksum
How to use checksums
475af1224eca2e3a96c3119db4a5f93f95a365e6341daa0fb32217adf0b621ee
Upload date
Uploaded using Trusted Publishing?
What is 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.0 CPython/3.6.3

Release files / ext_distributions-1.1-py3-none-any.whl

Download URL ext_distributions-1.1-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
42c14d03c6f89e0447eaa451ce5d2d56b9963dc1f1b0e9166a9332c8f543e7dc
BLAKE2b-256 checksum
How to use checksums
6a616acb714961d8d6c987da6d77bb26d46f87abaa7bc86349292bd7c3a7a680
Upload date
Uploaded using Trusted Publishing?
What is 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.0 CPython/3.6.3

Release history Release notifications | RSS feed

This release

1.1 This release

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page