cc.factorie.app.topics.lda

SparseOnlineLDA

class SparseOnlineLDA extends AnyRef

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

Instance Constructors

  1. new SparseOnlineLDA(wordDomain: CategoricalDomain[String], numDocs: Int, numTopics: Int = 10, alpha: Double = 0.1, beta: Double = 0.1, batchSize: Int = 100, numSamples: Int = 5, burninSamples: Int = 2, initLearningRate: Double = 100.0, kappa: Double = 0.6, maxIterations: Int = 2000, printTopicInterval: Int = 10, topicsFileName: String = "lda.topics")(implicit random: Random)

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. val Ndk: Array[Int]

  7. val Nk: Array[Double]

  8. val alpha: Double

  9. def approximateExpDigamma(x: Double): Double

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. val batchSize: Int

  12. val beta: Double

  13. val betaSum: Double

  14. val betas: MassesVariable

  15. val burninSamples: Int

  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. var currChanges: Int

  18. var currSamples: Int

  19. var docsProcessed: Int

  20. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  22. val expDiGammaBeta: Double

  23. def export(): Unit

  24. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  27. val infoMsg: String

  28. val initLearningRate: Double

  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. val kappa: Double

  31. val maxIterations: Int

  32. var maxTokens: Int

  33. implicit val model: ItemizedDirectedModel

  34. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  37. val numDocs: Int

  38. val numSamples: Int

  39. val numTopics: Int

  40. val numTypes: Int

  41. val phis: Mixture[ProportionsVariable]

  42. val printTopicInterval: Int

  43. implicit val random: Random

  44. def rescale(scale: Double): Unit

  45. val samplingWeights: Array[Double]

  46. var scale: Double

  47. val skipIterations: Int

  48. def sortAndPrune(cutoff: Double): Unit

  49. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  50. def toString(): String

    Definition Classes
    AnyRef → Any
  51. val topicCoefficients: Array[Double]

  52. val topicNormalizers: Array[Double]

  53. def topicSummary(topicIndex: Int, numWords: Int = 10): String

  54. def topicWords(topicIndex: Int, numWords: Int = 10): Seq[String]

  55. def topicWordsArray(topicIndex: Int, numWords: Int): Array[String]

  56. val topicsFileName: String

  57. def topicsSummary(numWords: Int = 10): String

  58. def train(docs: Stream[CategoricalSeqVariable[String]]): Unit

  59. def train(batchDocs: Array[CategoricalSeqVariable[String]], iteration: Int): Unit

  60. def train(ws: CategoricalSeqVariable[String]): Unit

  61. val typeTopics: Array[Array[Int]]

  62. val typeWeights: Array[Array[Double]]

  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( ... )
  66. val wordDomain: CategoricalDomain[String]

  67. var wordGradientLimit: Int

  68. var wordGradientQueueTopics: Array[Int]

  69. var wordGradientQueueTypes: Array[Int]

  70. var wordGradientSize: Int

  71. val wordWeightConstant: Int

  72. var zs: Array[Int]

Inherited from AnyRef

Inherited from Any

Ungrouped