nak.inference

bp

package bp

Visibility
  1. Public
  2. All

Type Members

  1. trait Factor extends inference.Factor[Factor]

    A Factor knows about a set of variables and can score any assignment to those sets of variables.

  2. case class Model(variables: IndexedSeq[Variable[_]], factors: IndexedSeq[Factor]) extends Product with Serializable

    A Model is a factor graph with all variables and all factors.

  3. case class ProductFactor(f1: Factor, f2: Factor, scale2: Double = 1) extends Factor with Product with Serializable

  4. case class Variable[T](name: String, domain: Index[T]) extends Product with Serializable

    A Variable has a domain and an optional name.

Value Members

  1. object BeliefPropagation

    Implements basic belief propagation for computing variable marginals in graphical models.

  2. object Factor

  3. object Model extends Serializable

  4. object Variable extends Serializable

Ungrouped