edu.stanford.nlp.tmt.model.lda

GibbsLDADocument

class GibbsLDADocument extends LDADocument[(String, Array[Int])] with HardAssignmentDocument

Holds a bag of observations and an assignment for each observation.

Linear Supertypes
HardAssignmentDocument, LDADocument[(String, Array[Int])], Stateful[(String, Array[Int])], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. GibbsLDADocument
  2. HardAssignmentDocument
  3. LDADocument
  4. Stateful
  5. AnyRef
  6. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GibbsLDADocument (id: String, observed: Array[Int], assigned: Array[Int], theta: Array[Int])

    observed

    observed terms

    assigned

    assigned topic for each term

    theta

    count of how many times each topic has been assigned

Value Members

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  6. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. val assigned : Array[Int]

    assigned topic for each term

    assigned topic for each term

    Definition Classes
    GibbsLDADocumentHardAssignmentDocument
  8. def checkrep (): Unit

    Returns true or throws a RuntimeException

    Returns true or throws a RuntimeException

    Definition Classes
    HardAssignmentDocument
  9. def clone (): AnyRef

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

    Attributes
    final
    Definition Classes
    AnyRef
  11. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize (): Unit

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  14. def hasAssignments : Boolean

    Returns true if this document has assingments

    Returns true if this document has assingments

    Definition Classes
    HardAssignmentDocument
  15. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  16. val id : String

  17. def isInstanceOf [T0] : Boolean

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  21. val observed : Array[Int]

    observed terms

    observed terms

    Definition Classes
    GibbsLDADocumentHardAssignmentDocumentLDADocument
  22. def reset (): Unit

    Clear all assignments

    Clear all assignments

    Definition Classes
    HardAssignmentDocumentStateful
  23. def signature : Array[Double]

    Distribution of topic->probability.

    Distribution of topic->probability.

    Definition Classes
    GibbsLDADocumentLDADocument
  24. def state : (String, Array[Int])

    Gets the current state of this object.

    Gets the current state of this object.

    Definition Classes
    HardAssignmentDocumentStateful
  25. def state_= (state: (String, Array[Int])): Unit

    Sets the current state of this object.

    Sets the current state of this object.

    Definition Classes
    HardAssignmentDocumentStateful
  26. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  27. val theta : Array[Int]

    count of how many times each topic has been assigned

    count of how many times each topic has been assigned

    Definition Classes
    GibbsLDADocumentHardAssignmentDocument
  28. def toString (): String

    Definition Classes
    AnyRef → Any
  29. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from HardAssignmentDocument

Inherited from LDADocument[(String, Array[Int])]

Inherited from Stateful[(String, Array[Int])]

Inherited from AnyRef

Inherited from Any