API for probabilities.finite-distributions Full namespace name:
clojure.contrib.probabilities.finite-distributions Finite
probability distributions This library defines a monad for
combining finite probability Public Variables and Functions
Usage: (certainly v) Returns a distribution in which the single
value v has probability 1. Usage: (choose & choices) Construct a
distribution from an explicit list of probabilities and values.
They are given in the form of a vector of probability-value
pairs. In the last pair, the probability can be given by the
keyword :else, which stands for 1 minus the total of the other
probabilities. Variant of the dist monad that can handle
undefined values. Usage: (cond-prob pred dist) Returns the
conditional probability for the values in dist that satisfy the
predicate pred. Monad describing computations on fuzzy
quantities, represented by a finite probability distribution for
the possible values. A distribution is represented by a map from
values to probabilities. Usage: (join-wit