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

Uploaded Source

Built Distribution

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

Uploaded Python 3

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