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

You need Python version 3.8 or later.

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.0.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fast_poibin-0.3.0.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.9 Windows/10

File hashes

Hashes for fast_poibin-0.3.0.tar.gz
Algorithm Hash digest
SHA256 21afd387eb48bbf507491c4e04850b94f774e0826c78b1989bd9f1bd4a997a3e
MD5 29cd2ddb7ae477e1900016dde05f8fa0
BLAKE2b-256 56e795196aa46f3aa9bb546c7978313fed30feb6fdf2f1550d29ed5a42df88a7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for fast_poibin-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4c9a619c547b65dc204dc1f57ee77e34fc6dab17cdae29e420e37d03c49480e1
MD5 5fc7dd64a59a3b684ee1667a64b02cf5
BLAKE2b-256 46a8c09c590942aca472fb916fd2da9947f001391c4df7399826f1de88186d8c

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