Skip to main content

Module of classes representing various probability distributions

Project description

grscheller-courses-distribution PyPI Package

Probability distribution classes based on an exercise from Udacity's Python for AI course.

Probability distributions completed so far

  • class Gaussian from the grscheller_courses_distributions.gaussian module
  • class Binomial from the grscheller_courses_distributions.binomial module

Factoids

  • developed using both Python 3.12.4 and 3.10.13 (used by Udacity)
    • Udacity just upgraded the Python they use from 3.6.3 in June 2024
    • 3.6.3 was version of Python out when PyTorch was released in 2016
    • annotations would not have been usable for Python 3.6.3
  • using __future__ statement to import annotations
    • for use by Python std library typing module
    • annotations targeted for Python 3.13.X
  • will eventually incorporate this work into grscheller.boring-math package

Testing

The testing suite is in the GitHub clone, it is not installed with the package.

To kick off all tests,

   $ pytest tests/`

So that the test data is found, run the tests from the root of the clone of the GitHub repo.

Documentation

See: documentation

Source Code (GitHub)

See: source code

License Summary

Apache v2.0 License

See LICENSE for license details and NOTICE for copyright details.

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

grscheller_courses_distributions-0.1.1.tar.gz (34.8 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file grscheller_courses_distributions-0.1.1.tar.gz.

File metadata

File hashes

Hashes for grscheller_courses_distributions-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8301764d038760653e9fa2d6dc773a3e1c6cbf8807f0fa01ece866bb039ee4a4
MD5 56569309353d617c0de661b2ba2e7317
BLAKE2b-256 590ce4a4a234c1de6da231ad11e654b772e73389faee13676685b65b35fa44d1

See more details on using hashes here.

File details

Details for the file grscheller_courses_distributions-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for grscheller_courses_distributions-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 30c10c0e002ce49308cb92ff44c3464580a72062f812f9c4555720178d98f7c7
MD5 1ce1860be6964e81b03bf1596ca34e08
BLAKE2b-256 ceb3020a10e4bf7b5260c84b8e052cdbd5556e30cf6fff7c92a0fa4d0e2cf031

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