GithubHelp home page GithubHelp logo

semihdesticioglu / distributions-semihdesticioglu-0.1 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 78 KB

Creating a new python package that helps to calculate basic Gaussian and Binomial Distributions functionalities. Uploaded and ready to use on PyPi.

License: MIT License

Python 100.00%
pypi-packages package-creation package-development gaussian-distribution bionomial-distribution

distributions-semihdesticioglu-0.1's Introduction

distributions-semihdesticioglu-0.1

Distributions Package: Udacity - Data Scientist Nanodegree Program

Project Overview

In this project, I created a Distribution Package as a part of Data Scientist Nano Degree Program Software Engineering module. Package contains functions to make calculations for normal distributions, binomial distributions and Gaussian distributions. Package is uploaded to PyPi repository.

Install:

pip install distributions-semihdesticioglu==0.1

Alt text

Package Information

Distribution class

Attributes:

  • mean : representing the mean value of the distribution
  • standard deviation : representing the standard deviation of the distribution
  • list of data : a list of floats extracted from the data file

Methods:

  • read_data_file : given a file of numbers, reads data to create list of numbers

Binomial class

Attributes:

  • Distribution attributions
  • probability : representing the probability of an event occurring
  • size : number of trials

Methods:

  • calculate_mean : assigns and returns the mean
  • calculate_stdev : assigns and returns the mean
  • replace_stats_with_data : assign prob, size, mean, stdev
  • plot_bar : plot bar graph of data
  • pdf : Calculate the probability density
  • plot_bar_pdf : Plot bar graph of the pdf

Gaussian class

Attributes:

  • Distribution attributes

Methods:

  • calculate_mean: assigns and returns the mean
  • calculate_stdev: assigns and returns the mean
  • plot_histogram: plot histogram of data
  • pdf: Calculate the probability density
  • plot_histogram_pdf : Plot histogram of the pdf

distributions-semihdesticioglu-0.1's People

Contributors

semihdesticioglu avatar

Watchers

 avatar

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.