spey.backends.distributions.Poisson

spey.backends.distributions.Poisson#

class spey.backends.distributions.Poisson(loc: ndarray)[source]#

Poisson distribution

__init__(loc: ndarray)[source]#

Methods

__init__(loc)

expected_data()

The expectation value of the Poisson distribution.

log_prob(value)

Compute log-probability

sample(sample_size)

Generate samples