Class/Object

axle.pgm

BayesianNetwork

Related Docs: object BayesianNetwork | package pgm

Permalink

case class BayesianNetwork[T, N, DG](name: String, variableFactorMap: Map[Distribution[T, N], Factor[T, N]])(implicit evidence$7: Manifest[T], evidence$8: Eq[T], evidence$9: Field[N], evidence$10: ConvertableFrom[N], evidence$11: Order[N], evidence$12: Manifest[N], dg: DirectedGraph[DG, BayesianNetworkNode[T, N], Edge]) extends Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BayesianNetwork
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BayesianNetwork(name: String, variableFactorMap: Map[Distribution[T, N], Factor[T, N]])(implicit arg0: Manifest[T], arg1: Eq[T], arg2: Field[N], arg3: ConvertableFrom[N], arg4: Order[N], arg5: Manifest[N], dg: DirectedGraph[DG, BayesianNetworkNode[T, N], Edge])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def _factorElimination1(Q: Set[Distribution[T, N]], S: List[Factor[T, N]]): Factor[T, N]

    Permalink
  5. val _graph: DG

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val bnnByVariable: Map[Distribution[T, N], BayesianNetworkNode[T, N]]

    Permalink
  8. val bnns: List[BayesianNetworkNode[T, N]]

    Permalink
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def computeFullCase(c: List[CaseIs[T, N]]): Double

    Permalink
  11. def cpt(variable: Distribution[T, N]): Factor[T, N]

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def factorElimination[UG](τ: EliminationTree[T, N, UG], e: List[CaseIs[T, N]])(implicit ug: UndirectedGraph[UG, Factor[T, N], EliminationTreeEdge]): Map[Factor[T, N], Factor[T, N]]

    Permalink
  14. def factorElimination1(Q: Set[Distribution[T, N]]): Factor[T, N]

    Permalink
  15. def factorElimination2[UG](Q: Set[Distribution[T, N]], τ: EliminationTree[T, N, UG], f: Factor[T, N])(implicit ug: UndirectedGraph[UG, Factor[T, N], EliminationTreeEdge]): (BayesianNetwork[T, N, DG], Factor[T, N])

    Permalink
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def graph: DG

    Permalink
  19. def interactionGraph[UG](implicit ug: UndirectedGraph[UG, Distribution[T, N], InteractionGraphEdge]): InteractionGraph[T, N, UG]

    Permalink

    interactionGraph

    interactionGraph

    Also called the "moral graph"

  20. def interactsWith(v1: Distribution[T, N], v2: Distribution[T, N]): Boolean

    Permalink
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def jointProbabilityTable: Factor[T, N]

    Permalink
  23. def markovAssumptionsFor(rv: Distribution[T, N]): Independence[T, N]

    Permalink
  24. val name: String

    Permalink
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. def numVariables: Int

    Permalink
  29. def orderWidth[UG](order: List[Distribution[T, N]])(implicit ug: UndirectedGraph[UG, Distribution[T, N], InteractionGraphEdge]): Int

    Permalink

    orderWidth

    orderWidth

    Chapter 6 Algorithm 2 (page 13)

  30. def probabilityOf(cs: Seq[CaseIs[T, N]]): N

    Permalink
  31. def pruneEdges(resultName: String, eOpt: Option[List[CaseIs[T, N]]]): BayesianNetwork[T, N, DG]

    Permalink

    pruneEdges

    pruneEdges

    6.8.2

  32. def pruneNetworkVarsAndEdges(Q: Set[Distribution[T, N]], eOpt: Option[List[CaseIs[T, N]]]): BayesianNetwork[T, N, DG]

    Permalink

    pruneNetworkVarsAndEdges

    pruneNetworkVarsAndEdges

    6.8.3

  33. def pruneNodes(Q: Set[Distribution[T, N]], eOpt: Option[List[CaseIs[T, N]]], g: BayesianNetwork[T, N, DG]): BayesianNetwork[T, N, DG]

    Permalink
  34. def randomVariables: Vector[Distribution[T, N]]

    Permalink
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. def variableEliminationMAP(Q: Set[Distribution[T, N]], e: List[Distribution[T, N]]): List[CaseIs[T, N]]

    Permalink

    variableEliminationMAP

    variableEliminationMAP

    returns an instantiation q which maximizes Pr(q,e) and that probability

    see ch 6 page 31: Algorithm 8

  37. def variableEliminationPriorMarginalI(Q: Set[Distribution[T, N]], π: List[Distribution[T, N]]): Factor[T, N]

    Permalink

    Algorithm 1 from Chapter 6 (page 9)

    Algorithm 1 from Chapter 6 (page 9)

    Q

    is a set of variables

    π

    is an ordered list of the variables not in Q

    returns

    the prior marginal pr(Q) The cost is the cost of the Tk multiplication. This is highly dependent on π

  38. def variableEliminationPriorMarginalII(Q: Set[Distribution[T, N]], π: List[Distribution[T, N]], e: CaseIs[T, N]): Factor[T, N]

    Permalink

    Chapter 6 Algorithm 5 (page 17)

    Chapter 6 Algorithm 5 (page 17)

    assert: Q subset of variables assert: π ordering of variables in S but not in Q assert: e assigns values to variables in this network

  39. val variableFactorMap: Map[Distribution[T, N], Factor[T, N]]

    Permalink
  40. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped