LAPM.helpers module

Module for package-wide used helper functions.

LAPM.helpers.entropy(p)[source]

Return the entropy of a Bernoulli random variable with success probability p.