dk.bayes.factorgraph.factor

MvnLinearGaussianFactor

Related Doc: package factor

case class MvnLinearGaussianFactor(parentVarId: Int, varId: Int, a: DenseMatrix[Double], b: Double, v: Double) extends DoubleFactor with Product with Serializable

This class represents a factor for a Linear Gaussian Distribution. N(ax + b,v)

parentVarId
varId
a

Mean term of N(ax + b,v)

b

Mean term of N(ax + b,v)

v

Variance term of N(ax + b,v)

Linear Supertypes
Serializable, Serializable, Product, Equals, DoubleFactor, Factor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MvnLinearGaussianFactor
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. DoubleFactor
  7. Factor
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MvnLinearGaussianFactor(parentVarId: Int, varId: Int, a: DenseMatrix[Double], b: Double, v: Double)

    parentVarId
    varId
    a

    Mean term of N(ax + b,v)

    b

    Mean term of N(ax + b,v)

    v

    Variance term of N(ax + b,v)

Type Members

  1. type FACTOR_TYPE = DoubleFactor

    Definition Classes
    DoubleFactorFactor

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. def *(factor: Factor): FACTOR_TYPE

    Returns the product of this and that factor.

    Returns the product of this and that factor.

    Definition Classes
    Factor
  4. def /(factor: Factor): FACTOR_TYPE

    Divides this factor by that factor.

    Divides this factor by that factor.

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

    Definition Classes
    AnyRef → Any
  6. val a: DenseMatrix[Double]

    Mean term of N(ax + b,v)

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. val b: Double

    Mean term of N(ax + b,v)

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(that: Factor, threshold: Double): Boolean

    Returns true if this and that factors are the same with a tolerance level specified by the threshold parameter.

    Returns true if this and that factors are the same with a tolerance level specified by the threshold parameter.

    Definition Classes
    Factor
  12. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  14. def getValue(assignment: (Int, AnyVal)*): Double

    Returns the factor value for a given assignment to all factor variables.

    Returns the factor value for a given assignment to all factor variables.

    assignment

    Assignment to all factor variables (varId,varValue)

    Definition Classes
    Factor
  15. def getVariableIds(): Seq[Int]

    Returns factor variable identifiers.

    Returns factor variable identifiers.

    Definition Classes
    MvnLinearGaussianFactorFactor
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. def marginal(varId: Int): SingleFactor

    Returns marginal factor for a given variable id.

    Returns marginal factor for a given variable id.

    Definition Classes
    MvnLinearGaussianFactorFactor
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  21. def outgoingMessages(factor1: Factor, factor2: Factor): (MvnGaussianFactor, GaussianFactor)

    Returns outgoing messages to factor variables.

    Returns outgoing messages to factor variables. Tuple2[var1 msg, var2 msg]

    Definition Classes
    MvnLinearGaussianFactorDoubleFactor
  22. val parentVarId: Int

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

    Definition Classes
    AnyRef
  24. val v: Double

    Variance term of N(ax + b,v)

  25. val varId: Int

  26. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def withEvidence(varId: Int, varValue: AnyVal): FACTOR_TYPE

    Returns new factor with a given evidence.

    Returns new factor with a given evidence.

    varId

    Variable id

    varValue

    Variable value

    Definition Classes
    Factor

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from DoubleFactor

Inherited from Factor

Inherited from AnyRef

Inherited from Any

Ungrouped