axle.pgm.BayesianNetworkModule

BayesianNetwork

case class BayesianNetwork[T](name: String, graph: DirectedGraph[BayesianNetworkNode[T], String])(implicit evidence$3: Manifest[T], evidence$4: Eq[T]) extends Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BayesianNetwork(name: String, graph: DirectedGraph[BayesianNetworkNode[T], String])(implicit arg0: Manifest[T], arg1: Eq[T])

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def _factorElimination1(Q: Set[RandomVariable[T]], S: List[stats.FactorModule.Factor[T]]): stats.FactorModule.Factor[T]

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

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

  10. def cpt(variable: RandomVariable[T]): stats.FactorModule.Factor[T]

  11. def duplicate: BayesianNetwork[T]

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

    Definition Classes
    AnyRef
  13. def factorElimination(τ: EliminationTreeModule.EliminationTree[T], e: List[CaseIs[T]]): Map[stats.FactorModule.Factor[T], stats.FactorModule.Factor[T]]

  14. def factorElimination1(Q: Set[RandomVariable[T]]): stats.FactorModule.Factor[T]

  15. def factorElimination2(Q: Set[RandomVariable[T]], τ: EliminationTreeModule.EliminationTree[T], f: stats.FactorModule.Factor[T]): (BayesianNetwork[T], stats.FactorModule.Factor[T])

  16. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  18. val graph: DirectedGraph[BayesianNetworkNode[T], String]

  19. def interactionGraph: InteractionGraph[T]

    interactionGraph

    interactionGraph

    Also called the "moral graph"

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

  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. def jointProbabilityTable: stats.FactorModule.Factor[T]

  23. def markovAssumptionsFor(rv: RandomVariable[T]): Independence[T]

  24. val name: String

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

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

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

    Definition Classes
    AnyRef
  28. def numVariables: Int

  29. def orderWidth(order: List[RandomVariable[T]]): Int

    orderWidth

    orderWidth

    Chapter 6 Algorithm 2 (page 13)

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

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

    pruneEdges

    pruneEdges

    6.8.2

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

    pruneNetworkVarsAndEdges

    pruneNetworkVarsAndEdges

    6.8.3

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

  34. def randomVariables: Vector[RandomVariable[T]]

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

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

    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[RandomVariable[T]], π: List[RandomVariable[T]]): stats.FactorModule.Factor[T]

    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[RandomVariable[T]], π: List[RandomVariable[T]], e: CaseIs[T]): stats.FactorModule.Factor[T]

    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. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped