edu.stanford.nlp.tmt.model.lda

CVB0LDA

object CVB0LDA extends LDACompanion[CVB0LDA, SoftAssignmentModelState, CVB0LDADocument, (String, Array[Array[Double]])] with DataParallelModelCompanion[LDAModelParams, CVB0LDA, SoftAssignmentModelState, LDADocumentParams, CVB0LDADocument, (String, Array[Array[Double]])]

Annotations
@serializable()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. CVB0LDA
  2. DataParallelModelCompanion
  3. LDACompanion
  4. LogProbabilityEstimateModelCompanion
  5. LocalUpdateModelCompanion
  6. TopicModelCompanion
  7. SerializableModelCompanion
  8. ModelCompanion
  9. AnyRef
  10. Any
Visibility
  1. Public
  2. All

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. implicit def ReadWritable (implicit mprw: ReadWritable[LDAModelParams], msrw: ReadWritable[SoftAssignmentModelState]): ReadWritable[CVB0LDA]

    FileSerialization.

    FileSerialization.ReadWritable for the model: defers to load and save methods.

    Attributes
    implicit
    Definition Classes
    SerializableModelCompanion
  7. def addTopicTermMatrixInto (a: Array[SparseArray[Double]], b: Array[SparseArray[Double]]): Array[SparseArray[Double]]

  8. def apply (mp: LDAModelParams): CVB0LDA

    Definition Classes
    CVB0LDATopicModelCompanion
  9. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  10. def clearDatum (doc: CVB0LDADocument): Unit

    Clears the state of the datum.

    Clears the state of the datum.

    Definition Classes
    TopicModelCompanionModelCompanion
  11. def clearModel (model: CVB0LDA): Unit

    Clears the state of the model.

    Clears the state of the model.

    Definition Classes
    TopicModelCompanionModelCompanion
  12. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def createDatum (model: CVB0LDA, dp: LDADocumentParams): CVB0LDADocument

    Creates a new datum for processing with the given model.

    Creates a new datum for processing with the given model.

    Definition Classes
    TopicModelCompanionModelCompanion
  14. def createModel (mp: LDAModelParams): CVB0LDA

    Creates a new model from the given model parameters.

    Creates a new model from the given model parameters.

    Definition Classes
    TopicModelCompanionModelCompanion
  15. def createTopicTermMatrix (doc: CVB0LDADocument): Array[SparseArray[Double]]

  16. def doCollect (a: SoftAssignmentModelState, b: SoftAssignmentModelState): SoftAssignmentModelState

    Collects ModelStates into a new summary model state.

    Collects ModelStates into a new summary model state.

    Definition Classes
    CVB0LDADataParallelModelCompanion
  17. def doLearn (model: CVB0LDA, data: Iterable[CVB0LDADocument]): Unit

    Does one iteration of learning on the given data, updating ModelState and each Datum's DatumState as appropriate.

    Does one iteration of learning on the given data, updating ModelState and each Datum's DatumState as appropriate.

    Definition Classes
    CVB0LDALocalUpdateModelCompanion
  18. def eq (arg0: AnyRef): Boolean

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  22. def getDatumState (doc: CVB0LDADocument): (String, Array[Array[Double]])

    Gets the state of the datum.

    Gets the state of the datum.

    Definition Classes
    TopicModelCompanionModelCompanion
  23. def getLogProbabilityEstimate (model: CVB0LDA, doc: CVB0LDADocument): Double

  24. def getModelParams (model: CVB0LDA): LDAModelParams

    Get model parameters used to construct a model like the given.

    Get model parameters used to construct a model like the given.

    Definition Classes
    TopicModelCompanionModelCompanion
  25. def getModelState (model: CVB0LDA): SoftAssignmentModelState

    Gets the state of the model.

    Gets the state of the model.

    Definition Classes
    TopicModelCompanionModelCompanion
  26. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  27. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  28. def load (path: File)(implicit mpr: Readable[LDAModelParams], msr: Readable[SoftAssignmentModelState]): CVB0LDA

    Loads a model of this type from the given path.

    Loads a model of this type from the given path.

    Definition Classes
    SerializableModelCompanion
  29. def name : String

    Definition Classes
    CVB0LDAModelCompanion
  30. def ne (arg0: AnyRef): Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  33. def readResolve (): AnyRef

    Attributes
    protected
  34. def save (path: File, model: CVB0LDA)(implicit mpw: Writable[LDAModelParams], msw: Writable[SoftAssignmentModelState]): Unit

    Saves a model of this type to the given path.

    Saves a model of this type to the given path.

    Definition Classes
    SerializableModelCompanion
  35. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  36. def toString (): String

    Definition Classes
    AnyRef → Any
  37. def useDatumState (doc: CVB0LDADocument, state: (String, Array[Array[Double]])): Unit

    Sets the state of the document.

    Sets the state of the document.

    Definition Classes
    TopicModelCompanionModelCompanion
  38. def useModelState (model: CVB0LDA, state: SoftAssignmentModelState): Unit

    Uses the given model state.

    Uses the given model state.

    Definition Classes
    TopicModelCompanionModelCompanion
  39. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from DataParallelModelCompanion[LDAModelParams, CVB0LDA, SoftAssignmentModelState, LDADocumentParams, CVB0LDADocument, (String, Array[Array[Double]])]

Inherited from LDACompanion[CVB0LDA, SoftAssignmentModelState, CVB0LDADocument, (String, Array[Array[Double]])]

Inherited from LogProbabilityEstimateModelCompanion[CVB0LDA, CVB0LDADocument]

Inherited from LocalUpdateModelCompanion[LDAModelParams, CVB0LDA, SoftAssignmentModelState, LDADocumentParams, CVB0LDADocument, (String, Array[Array[Double]])]

Inherited from TopicModelCompanion[LDAModelParams, CVB0LDA, SoftAssignmentModelState, LDADocumentParams, CVB0LDADocument, (String, Array[Array[Double]])]

Inherited from SerializableModelCompanion[LDAModelParams, CVB0LDA, SoftAssignmentModelState]

Inherited from ModelCompanion[LDAModelParams, CVB0LDA, SoftAssignmentModelState, LDADocumentParams, CVB0LDADocument, (String, Array[Array[Double]])]

Inherited from AnyRef

Inherited from Any