Skip to main content

Gaussian and Binomial distributions

Project description

dist_gb


Guassian and Binomial distribution package

📝 Table of Contents

🧐 About

This initial package is a simple package for doing statistical operation on a dataset. Currently, this package support two distribution including Guassian and Binomial. The future contibutions is encouraged to add more functionality in this pakcage.

🏁 Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

To draw the plot you need to install matplotlib. There is no more prerequisit for this package.

pip install matplotlib

Installing

This package is poblicly available in pypi repository (https://pypi.org/project/dist-gb-akhlaqi/). To install from pypi repository run:

pip install dist-gb-akhlaqi

To easy install and use this package follow this commands:

Clone the package source code into your local system

Git clone https://github.com/myakhlaqi/distributions_package.git

Go to dist_gb directory, run:

pip install pyproject.toml

The package will be installed under the name "dist_gb:x.x.x" to make sure run:

pip list | grep dist

🔧 Running the tests

Run test

To run the test cases on this package there is a simple test.py file in the main direcotry. You can add more test case or just run the existing one to make sure that the code run error free.

To run the test type:

pytest test.py

🎈 Usage

How to use examples:

import imp
from dist_gb.src import Gaussian

g1= Gaussian()
g1.read_data_file('data.csv')
g1.plot_histogram()
print(g1.calculate_mean())
print(g1.calculate_stdev)

🚀 Deployment

Add additional notes about how to deploy this on a live system.

⛏️ Built Using

✍️ Authors

🎉 Acknowledgements

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

dist_gb_akhlaqi-0.0.4.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

dist_gb_akhlaqi-0.0.4-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file dist_gb_akhlaqi-0.0.4.tar.gz.

File metadata

  • Download URL: dist_gb_akhlaqi-0.0.4.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for dist_gb_akhlaqi-0.0.4.tar.gz
Algorithm Hash digest
SHA256 09029e18f78ccfa0c7f0023d614118b89bee4825cbb8214e1f6398e2279fcaed
MD5 925f6bf087b587275c95aa3f526babb0
BLAKE2b-256 11573b7dfbd316ecec2fd139beed3eaac4e38ba32a203bfb197e3599cb0f469f

See more details on using hashes here.

File details

Details for the file dist_gb_akhlaqi-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for dist_gb_akhlaqi-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 775277a97cdcc3618046fd0e15557bba29abbc47d861239027d8ab75db48e0bd
MD5 d50fb4bec71b655b6c9730ad37a1870b
BLAKE2b-256 5b9c226c4860ceb2040c1a7ca5f31a7e8d7e2bf0598f8f789f8fc8a361785f97

See more details on using hashes here.

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