Packages

p

mathlib

probability

package probability

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package datastructures

Type Members

  1. case class Conditional1[A, B](value: A, condition: B) extends Product with Serializable
  2. case class Conditional2[A, B](value: A, prior: Distribution[B]) extends Product with Serializable
  3. case class ConditionalDistribution[A, B](domainV1: Set[A], domainV2: Set[B], distribution: Map[(A, B), Double]) extends Product with Serializable

    Implements a generic conditional probability distribution for two variables:

    Implements a generic conditional probability distribution for two variables:

    pr(V1|V2)

    . The probabilities are represented by Double for increased accuracy. pr(V1|V2) }}} The probabilities are represented by Double for increased accuracy.

    A

    The type of variable 1.

    B

    The type of variable 2.

    domainV1

    The domain of variable 1

    V1
    domainV2

    The domain of variable 2

    V2
    distribution

    The probabilities for each value in the domain.

  4. case class Distribution[A](domain: Set[A], distribution: Map[A, Double]) extends Product with Serializable

    Implements a generic probability distribution.

    Implements a generic probability distribution. The probabilities are represented by Double for increased accuracy.

    A

    The type of the domain.

    domain

    The set of values that span this distribution.

    distribution

    The probabilities for each value in the domain.

Value Members

  1. case object Distribution extends Product with Serializable

    Factory for Distribution instances.

  2. object DistributionHelpers

    Helpers for Distribution and ConditionalDistribution.

  3. object Implicits

    Implicit functions for more concise syntax.

Ungrouped