Skip to main content

Package for computing PMF and CDF of Poisson binomial distribution.

Project description

fast-poibin

Build Status Coverage Status PyPI Version

fast-poibin is a Python package for efficiently computing PMF or CDF of Poisson binomial distribution.

Installation

pip install fast-poibin

Python versions 3.8 to 3.11 are supported.

Basic Usage

>>> from fast_poibin import PoiBin
>>> poibin = PoiBin([0.1, 0.2, 0.2])
>>> poibin.pmf
array([0.576, 0.352, 0.068, 0.004])
>>> poibin.cdf
array([0.576, 0.928, 0.996, 1.   ])

Copyright

Copyright (c) 2023 Hugo Sansaqua.

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

fast_poibin-0.3.2.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

fast_poibin-0.3.2-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file fast_poibin-0.3.2.tar.gz.

File metadata

  • Download URL: fast_poibin-0.3.2.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.1 Windows/10

File hashes

Hashes for fast_poibin-0.3.2.tar.gz
Algorithm Hash digest
SHA256 b473382c2764ce6bbb263c2b5382c864634757ca9297f16a1949dc9b791fdef5
MD5 e6865152a5a5c1aba0232059e9a577ef
BLAKE2b-256 c4467ed5d34736b53fd349e25578c5ea84c8fd6eeb202282e250341f99a15b3a

See more details on using hashes here.

File details

Details for the file fast_poibin-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: fast_poibin-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.1 Windows/10

File hashes

Hashes for fast_poibin-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 741e99ed3902fb43a613b0c7341b048b54224058ccd3ad55614df3985fd75ee1
MD5 d165bea5c2f3ca5887a4ef16113b9442
BLAKE2b-256 88869412c82c30bff31ef53a009c240720130dbc501d69a6e698d6488f1e06e9

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