newtype Entropy
= Entropy Number
selfInformation :: Prob -> Entropy
entropy :: forall x z. (Eq x) => Dist z -> (z -> Dist x) -> Entropy
pointwiseInformation :: Prob -> Prob -> Prob -> Entropy
mutualInformation :: forall j x y z. (Eq x, Eq y, Eq j) => Dist z -> (z -> Dist j) -> (j -> x) -> (j -> y) -> Entropy
divergence :: forall x z. (Eq x) => Dist z -> (z -> Dist x) -> (z -> Dist x) -> Entropy
nonCond :: forall a b c. (Dist Unit -> (Unit -> Dist b) -> c) -> Dist b -> c
Helper function for using entropy
and mutualInformation
with
non-conditional distributions.
instance eqEnt :: Eq Entropy
instance ordEnt :: Ord Entropy
instance showEnt :: Show Entropy