Safe Haskell | Safe-Infered |
---|
Numeric.Probability.Example.Alarm
Documentation
type Probability = Rational
type Dist a = T Probability a
type PBool = T Probability Bool
flp :: Probability -> PBool
Numeric.Probability.Example.Alarm network
data Burglary
calculate the full joint distribution
pmj :: Probability
what is the probability that mary calls given that john calls?