cc.factorie.app.topics.lda

RecursiveLDA

class RecursiveLDA extends LDA

Linear Supertypes
LDA, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RecursiveLDA
  2. LDA
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RecursiveLDA(wordSeqDomain: CategoricalSeqDomain[String], numTopics: Int = 10, alpha1: Double = 0.1, beta1: Double = 0.01)(implicit model: MutableDirectedModel, random: Random)

Type Members

  1. class Zs extends DiscreteSeqVariable

    Definition Classes
    LDA

Value Members

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

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

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

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

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

    Definition Classes
    Any
  6. object ZDomain extends variable.DiscreteDomain

    The per-word variable that indicates which topic it comes from.

  7. object ZSeqDomain extends DiscreteSeqDomain

    Definition Classes
    LDA
  8. def addDocument(doc: Doc, random: Random): Unit

    Add a document to the LDA model.

    Add a document to the LDA model.

    Definition Classes
    LDA
  9. def addDocumentsFromWordZs(file: File, minDocLength: Int, random: Random): Unit

    Definition Classes
    LDA
  10. val alphas: MassesVariable

    The prior over per-document topic distribution

    The prior over per-document topic distribution

    Definition Classes
    LDA
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. val betas: MassesVariable

    The prior over per-topic word distribution

    The prior over per-topic word distribution

    Definition Classes
    LDA
  13. val burnIn: Int

    Definition Classes
    LDA
  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. var diagnosticName: String

    Definition Classes
    LDA
  16. var docLengthCounts: Array[Int]

    Definition Classes
    LDA
  17. def documents: Iterable[Doc]

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

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

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

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

    Definition Classes
    AnyRef → Any
  22. def getDocument(name: String): Doc

    Definition Classes
    LDA
  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. def inferDocumentTheta(doc: Doc, iterations: Int = 10): Unit

    Infer doc.

    Infer doc.theta. If the document is not already part of this LDA, do not add it and do not collapse anything that would effect this LDA.

    Definition Classes
    LDA
  25. def inferTopics(iterations: Int = 60, fitAlphaInterval: Int = Int.MaxValue, diagnosticInterval: Int = 10, diagnosticShowPhrases: Boolean = false): Unit

    Run a collapsed Gibbs sampler to estimate the parameters of the LDA model.

    Run a collapsed Gibbs sampler to estimate the parameters of the LDA model.

    Definition Classes
    LDA
  26. def inferTopicsMultithreaded(numThreads: Int, iterations: Int = 60, fitAlphaInterval: Int = Int.MaxValue, diagnosticInterval: Int = 10, diagnosticShowPhrases: Boolean = false): Unit

    Definition Classes
    LDA
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. var maxDocSize: Int

    Definition Classes
    LDA
  29. def maximizePhisAndThetas(): Unit

    Definition Classes
    LDA
  30. def nameDocumentMap: Map[String, Doc]

    Definition Classes
    LDA
  31. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. def newZs: Zs

    Definition Classes
    LDA
  33. final def notify(): Unit

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

    Definition Classes
    AnyRef
  35. val phis: Mixture[ProportionsVariable]

    The per-topic distribution over words.

    The per-topic distribution over words. FiniteMixture is a Seq of Dirichlet-distributed Proportions.

    Definition Classes
    LDA
  36. implicit val random: Random

    Definition Classes
    RecursiveLDALDA
  37. def removeDocument(doc: Doc): Unit

    Definition Classes
    LDA
  38. def saveWordsZs(file: File): Unit

    Definition Classes
    LDA
  39. def setupDocument(doc: Doc, m: MutableDirectedModel, random: Random): Unit

    Attributes
    protected
    Definition Classes
    LDA
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  41. def toString(): String

    Definition Classes
    AnyRef → Any
  42. def topicSummary(topicIndex: Int, numWords: Int = 10): String

    Definition Classes
    LDA
  43. def topicWords(topicIndex: Int, numWords: Int = 10): Seq[String]

    Definition Classes
    LDA
  44. def topicWordsArray(topicIndex: Int, numWords: Int): Array[String]

    Definition Classes
    LDA
  45. def topicsPhraseCounts: TopicPhraseCounts

    Definition Classes
    LDA
  46. def topicsSummary(numWords: Int = 10): String

    Definition Classes
    LDA
  47. def topicsWordsAndPhrasesSummary(numWords: Int = 10, numPhrases: Int = 10): String

    Definition Classes
    LDA
  48. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. def wordDomain: CategoricalDomain[String]

    Definition Classes
    LDA

Inherited from LDA

Inherited from AnyRef

Inherited from Any

Ungrouped