edu.stanford.nlp.tmt.model.llda

CVB0LabeledLDADocument

class CVB0LabeledLDADocument extends LabeledLDADocument[(String, Array[Array[Double]])] with SoftAssignmentDocument

CVB0LabeledLDA document. The assignments in assigned and the totals in theta must be kept in sync by the caller.

Linear Supertypes
SoftAssignmentDocument, LabeledLDADocument[(String, Array[Array[Double]])], Stateful[(String, Array[Array[Double]])], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. CVB0LabeledLDADocument
  2. SoftAssignmentDocument
  3. LabeledLDADocument
  4. Stateful
  5. AnyRef
  6. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CVB0LabeledLDADocument (id: String, labels: Array[Int], observed: Array[Int], termIndex: Array[Int], termCount: Array[Short], termTheta: Array[Array[Double]], theta: Array[Double], model: CVB0LabeledLDA)

    id

    Identifier for this document

    labels

    Set of active labels on this document. Should not contain duplicates.

    observed

    List of terms, in order

    termIndex

    Term types that appear in the document

    termCount

    How often each term type appears in the document

    termTheta

    Distribution over topics for each term type

    theta

    Document level distribution over topics

    model

    Model associated with this document

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. def assigned : Array[Array[Double]]

    Attributes
    final
    Definition Classes
    SoftAssignmentDocument
  8. def checkrep (): Unit

    Throws a RuntimeException if the rep invariants are broken.

    Throws a RuntimeException if the rep invariants are broken.

    Definition Classes
    CVB0LabeledLDADocumentSoftAssignmentDocument
  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 hashCode (): Int

    Definition Classes
    AnyRef → Any
  15. val id : String

    Identifier for this document

    Identifier for this document

    Definition Classes
    CVB0LabeledLDADocumentSoftAssignmentDocument
  16. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  17. val labels : Array[Int]

    Set of active labels on this document.

    Set of active labels on this document. Should not contain duplicates.

    Definition Classes
    CVB0LabeledLDADocumentLabeledLDADocument
  18. val model : CVB0LabeledLDA

    Model associated with this document

  19. def ne (arg0: AnyRef): Boolean

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

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

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

    List of terms, in order

    List of terms, in order

    Definition Classes
    CVB0LabeledLDADocumentSoftAssignmentDocumentLabeledLDADocument
  23. def reset (): Unit

    Clear all assignments

    Clear all assignments

    Definition Classes
    CVB0LabeledLDADocumentStateful
  24. def signature : SparseArray[Double]

    Returns the per-label probability.

    Returns the per-label probability.

    Definition Classes
    CVB0LabeledLDADocumentLabeledLDADocument
  25. def state : (String, Array[Array[Double]])

    Gets the current state of this object.

    Gets the current state of this object.

    Definition Classes
    SoftAssignmentDocumentStateful
  26. def state_= (state: (String, Array[Array[Double]])): Unit

    Sets the current state of this object.

    Sets the current state of this object.

    Definition Classes
    SoftAssignmentDocumentStateful
  27. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  28. val termCount : Array[Short]

    How often each term type appears in the document

    How often each term type appears in the document

    Definition Classes
    CVB0LabeledLDADocumentSoftAssignmentDocument
  29. val termIndex : Array[Int]

    Term types that appear in the document

    Term types that appear in the document

    Definition Classes
    CVB0LabeledLDADocumentSoftAssignmentDocument
  30. val termTheta : Array[Array[Double]]

    Distribution over topics for each term type

    Distribution over topics for each term type

    Definition Classes
    CVB0LabeledLDADocumentSoftAssignmentDocument
  31. val theta : Array[Double]

    Document level distribution over topics

    Document level distribution over topics

    Definition Classes
    CVB0LabeledLDADocumentSoftAssignmentDocument
  32. def toString (): String

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from SoftAssignmentDocument

Inherited from LabeledLDADocument[(String, Array[Array[Double]])]

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

Inherited from AnyRef

Inherited from Any