Skip to content

Python package for computing Poissson binomial distribution

License

Notifications You must be signed in to change notification settings

privet-kitty/fast-poibin

Repository files navigation

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 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 Hugo Sansaqua.

About

Python package for computing Poissson binomial distribution

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages