cc.factorie.directed.GaussianMixture

Factor

case class Factor(_1: DoubleVariable, _2: Mixture[DoubleVariable], _3: Mixture[DoubleVariable], _4: variable.DiscreteVariable) extends GaussianMixture.Factor with Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Factor
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Factor
  7. DirectedFactorWithStatistics4
  8. DirectedFactor
  9. TupleFactorWithStatistics4
  10. Factor4
  11. Factor
  12. Ordered
  13. Comparable
  14. AnyRef
  15. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Factor(_1: DoubleVariable, _2: Mixture[DoubleVariable], _3: Mixture[DoubleVariable], _4: variable.DiscreteVariable)

Type Members

  1. type ChildType = GaussianMixture.C

  2. type NeighborType1 = GaussianMixture.C

    Definition Classes
    Factor4
  3. type NeighborType2 = GaussianMixture.P1

    Definition Classes
    Factor4
  4. type NeighborType3 = GaussianMixture.P2

    Definition Classes
    Factor4
  5. type NeighborType4 = GaussianMixture.P3

    Definition Classes
    Factor4
  6. type StatisticsType = (variable.DoubleVariable.Value, Value, Value, Value)

    Definition Classes
    TupleFactorWithStatistics4Factor

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. def <(that: model.Factor): Boolean

    Definition Classes
    Ordered
  4. def <=(that: model.Factor): Boolean

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

    Definition Classes
    AnyRef → Any
  6. def >(that: model.Factor): Boolean

    Definition Classes
    Ordered
  7. def >=(that: model.Factor): Boolean

    Definition Classes
    Ordered
  8. val _1: DoubleVariable

  9. val _2: Mixture[DoubleVariable]

  10. val _3: Mixture[DoubleVariable]

  11. val _4: variable.DiscreteVariable

  12. var _hashCode: Int

    Definition Classes
    Factor
  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def assignmentScore(a: variable.Assignment): Double

    The ability to score a Values object is now removed, and this is its closest alternative.

    The ability to score a Values object is now removed, and this is its closest alternative.

    Definition Classes
    Factor4Factor
  15. def assignmentScoreAndStatistics(a: variable.Assignment): (Double, StatisticsType)

    Definition Classes
    Factor
  16. final def assignmentStatistics(a: variable.Assignment): StatisticsType

    Return this Factor's sufficient statistics for the values in the Assignment.

    Return this Factor's sufficient statistics for the values in the Assignment.

    Definition Classes
    Factor4Factor
  17. def child: GaussianMixture.C

  18. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. def compare(that: model.Factor): Int

    Return an object that can iterate over all value assignments to the neighbors of this Factor

    Return an object that can iterate over all value assignments to the neighbors of this Factor

    Definition Classes
    Factor → Ordered
  20. def compareTo(that: model.Factor): Int

    Definition Classes
    Ordered → Comparable
  21. def currentAssignment: Assignment4[GaussianMixture.C, GaussianMixture.P1, GaussianMixture.P2, GaussianMixture.P3]

    Return a record of the current values of this Factor's neighbors.

    Return a record of the current values of this Factor's neighbors.

    Definition Classes
    Factor4Factor
  22. def currentScore: Double

    This factor's contribution to the unnormalized log-probability of the current possible world.

    This factor's contribution to the unnormalized log-probability of the current possible world.

    Definition Classes
    Factor4Factor
  23. def currentScoreAndStatistics: (Double, StatisticsType)

    Return the score and statistics of the current neighbor values; this method enables special cases in which it is more efficient to calculate them together.

    Return the score and statistics of the current neighbor values; this method enables special cases in which it is more efficient to calculate them together.

    Definition Classes
    Factor4Factor
  24. def currentStatistics: StatisticsType

    Return this Factor's sufficient statistics of the current values of the Factor's neighbors.

    Return this Factor's sufficient statistics of the current values of the Factor's neighbors.

    Definition Classes
    Factor4Factor
  25. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. def equalityPrerequisite: AnyRef

    In order to two Factors to satisfy "equals", the value returned by this method for each Factor must by "eq".

    In order to two Factors to satisfy "equals", the value returned by this method for each Factor must by "eq". This method is overridden in Family to deal with Factors that are inner classes.

    Definition Classes
    Factor
  27. def equals(other: Any): Boolean

    Definition Classes
    Factor → AnyRef → Any
  28. def factorName: String

    Definition Classes
    Factor
  29. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  30. def gate: variable.DiscreteVariable

  31. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  32. def hashCode(): Int

    A hashCode matching the criteria in equals, using hashCode of the Factor's class and of the Factor's neighboring variables.

    A hashCode matching the criteria in equals, using hashCode of the Factor's class and of the Factor's neighboring variables.

    Definition Classes
    Factor → AnyRef → Any
  33. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  34. def logpr(child: Double, means: Seq[Double], variances: Seq[Double], z: DiscreteValue): Double

    Definition Classes
    FactorDirectedFactorWithStatistics4
  35. def logpr: Double

    Definition Classes
    DirectedFactor
  36. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  39. def numVariables: Int

    The number of variables neighboring this factor.

    The number of variables neighboring this factor.

    Definition Classes
    Factor4Factor
  40. def parents: Seq[variable.Var]

  41. def pr(child: Double, means: Seq[Double], variances: Seq[Double], z: DiscreteValue): Double

    Definition Classes
    FactorDirectedFactorWithStatistics4
  42. def pr: Double

  43. def prChoosing(child: Double, means: Seq[Double], variances: Seq[Double], mixtureIndex: Int): Double

  44. def resetCollapsedChild(): Boolean

    Definition Classes
    DirectedFactor
  45. def sampledValue(means: Seq[Double], variances: Seq[Double], z: DiscreteValue)(implicit random: Random): Double

    Definition Classes
    FactorDirectedFactorWithStatistics4
  46. def sampledValue(implicit random: Random): variable.DoubleVariable.Value

  47. def sampledValueChoosing(means: Seq[Double], variances: Seq[Double], mixtureIndex: Int)(implicit random: Random): Double

  48. def score(v1: variable.DoubleVariable.Value, v2: Value, v3: Value, v4: Value): Double

    Definition Classes
    DirectedFactorWithStatistics4Factor4
  49. def scoreAndStatistics(v1: variable.DoubleVariable.Value, v2: Value, v3: Value, v4: Value): (Double, StatisticsType)

    Definition Classes
    Factor4
  50. final def statistics(v1: variable.DoubleVariable.Value, v2: Value, v3: Value, v4: Value): (variable.DoubleVariable.Value, Value, Value, Value)

    Definition Classes
    TupleFactorWithStatistics4Factor4
  51. final def statisticsAreValues: Boolean

    True iff the statistics are the values (without transformation), e.g.

    True iff the statistics are the values (without transformation), e.g. valuesStatistics simply returns its argument.

    Definition Classes
    TupleFactorWithStatistics4Factor
  52. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  53. def toString(): String

    Definition Classes
    Factor → AnyRef → Any
  54. def touches(variable: variable.Var): Boolean

    Does this Factor have the given variable among its neighbors?

    Does this Factor have the given variable among its neighbors?

    Definition Classes
    Factor
  55. def touchesAny(variables: Iterable[variable.Var]): Boolean

    Does this Factor have any of the given variables among its neighbors?

    Does this Factor have any of the given variables among its neighbors?

    Definition Classes
    Factor
  56. def updateCollapsedChild(): Boolean

    Definition Classes
    DirectedFactor
  57. def updateCollapsedParents(weight: Double): Boolean

    Update sufficient statistics in collapsed parents, using current value of child, with weight.

    Update sufficient statistics in collapsed parents, using current value of child, with weight. Return false on failure.

    Definition Classes
    DirectedFactor
  58. def valuesScore(tensor: Tensor): Double

    Return the score for Factors whose values can be represented as a Tensor, otherwise throw an Error.

    Return the score for Factors whose values can be represented as a Tensor, otherwise throw an Error. For Factors/Family in which the Statistics are the values, this method simply calls statisticsScore(Tensor).

    Definition Classes
    Factor
  59. def valuesScoreAndStatistics(t: Tensor): (Double, Tensor)

    Definition Classes
    Factor
  60. def valuesStatistics(tensor: Tensor): Tensor

    Given a Tensor representation of the values, return a Tensor representation of the statistics.

    Given a Tensor representation of the values, return a Tensor representation of the statistics. We assume that if the values have Tensor representation that the StatisticsType does also. Note that (e.g. in BP) the Tensor may represent not just a single value for each neighbor, but a distribution over values

    Definition Classes
    Factor
  61. def variable(i: Int): variable.Var

    The Nth neighboring variable of this factor.

    The Nth neighboring variable of this factor.

    Definition Classes
    Factor4Factor
  62. def variables: IndexedSeq[variable.Var]

    Returns the collection of variables neighboring this factor.

    Returns the collection of variables neighboring this factor.

    Definition Classes
    Factor4Factor
  63. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  65. 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 GaussianMixture.Factor

Inherited from DirectedFactor

Inherited from model.Factor

Inherited from Ordered[model.Factor]

Inherited from Comparable[model.Factor]

Inherited from AnyRef

Inherited from Any

Ungrouped