qif.mechanism.shannon

Mechanism construction for Shannon enropy.

qif.mechanism.shannon.max_entropy_given_same_loss(pi: Row<double>, out: Row<double>, loss: Callable[[int, int], float], md: float = 1e-07, mrd: float = 2.220446049250313e-14) Mat<double>