Package for computing PMF and CDF of Poisson binomial distribution.
Project description
fast-poibin
fast-poibin is a Python package for efficiently computing PMF or CDF of Poisson binomial distribution.
- API Reference: https://privet-kitty.github.io/fast-poibin/
- Repository: https://github.com/privet-kitty/fast-poibin/
Installation
pip install fast-poibin
Python versions 3.9 or later 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-2025 Hugo Sansaqua.
Project details
Release history Release notifications | RSS feed
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.4.0.tar.gz
(11.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fast_poibin-0.4.0.tar.gz.
File metadata
- Download URL: fast_poibin-0.4.0.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.11.1 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3bb057487e475579578a77d21b5b096c9aae73c80eeb5d26eb31ded021006af2
|
|
| MD5 |
309ecf0fe1f9264acccb93ae6caf88be
|
|
| BLAKE2b-256 |
156ea37225bb5ec329d59af20f8a007daa0b7a2006fa42c074b1064788ae8cba
|
File details
Details for the file fast_poibin-0.4.0-py3-none-any.whl.
File metadata
- Download URL: fast_poibin-0.4.0-py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.11.1 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6b4d4c2a0f14f7b513135656a2ea1e2de2005f22180e21f39d1f0558d19cbaa
|
|
| MD5 |
04d116a4714711523597cffc395b6cb1
|
|
| BLAKE2b-256 |
60bcc0b503befb89e9e5d91ed5a8b52b984a8eb143f9a4b74dcb0fc579519e70
|