Giter Site home page Giter Site logo

rocqjones / distributions_gauss_bi Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 642 KB

Gaussian and Binomial distributions Python Package for Machine Learning and Data Science

Home Page: https://pypi.org/project/distributions-gauss-bi/

License: MIT License

Python 100.00%
binomial-distributions gaussian-distributions probability-theory python-library python3 pypi pseudocode

distributions_gauss_bi's Introduction

CircleCI pypi versions licence

distributions_gauss_bi

distributions_gauss_bi is a Python module/package for Machine Learning and Data Science built for Gaussian and Binomial distributions. This package is distributed under the MIT License.

Installation.

To install simply run(Commandline);

pip install distributions-gauss-bi

or

conda install distributions-gauss-bi

PyPI link: https://pypi.org/project/distributions-gauss-bi/

Testing.

For this test version of the package I would recommend running it on a Virtual Environment

pip install -i https://test.pypi.org/simple/ distributions-gauss-bi

TestPyPI link: https://test.pypi.org/project/distributions-gauss-bi/

Sample python test code.

On your commandline or favorite editor run below python code after installation.

>>> from distributions_gauss_bi import Gaussian, Binomial
>>> Gaussian(38,17)
>>> Binomial(0.4, 35)

Development.

  • I welcome new contributors of all experience levels. The goals of this package is to be helpful, welcoming, and effective.
  • You'll note that I'm using Unit Testing in each phase(1 to 4) of development to track bugs. To contribute follow programming code testing best practices.

Contibution.

There are many ways to contribute to distributions_gauss_bi, with the most common ones being contribution of code or documentation to the project. Improving the documentation is no less important than improving the module itself. If you find a typo in the documentation or have made improvements on pseudocode or source code, do not hesitate to submit a GitHub pull request.

  • NOTE Before reviewing the code I would encourage you go through the pseudocode

Important links.

Gaussian and Binomial distribution overview

1. Gaussian distribution (also known as Normal distribution)

  • In probability theory, a normal distribution is a type of continuous probability distribution for a real-valued random variable. The general form of its probability density function is The parameter is the mean or expectation of the distribution; and is its standard deviation. The general form of its probability density function is:

Further Resources.

If you would like to review the Gaussian (normal) distribution and binomial distribution, here are a few resources:

Dunder or magic methods in Python.

Dunder or magic methods in Python are the methods having two prefix and suffix underscores in the method name. Dunder here means “Double Under (Underscores)”. These are commonly used for operator overloading. eg __init__

For instance if you want to add two Gaussian distributions to create another object of a third Gaussian distribution;

  • This is what I mean: gauss_a + gauss_b = gauss_c

2. Binomial distribution.

  • In probability theory and statistics, the binomial distribution with parameters n and p is the discrete probability distribution of the number of successes in a sequence of n independent experiments, each asking a yes–no question, and each with its own boolean-valued outcome: success/yes/true/one (with probability p) or failure/no/false/zero (with probability q = 1 − p).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.