edu.stanford.nlp.tmt.lda.LDA

trait LDA

trait LDA

 extends ScalaObject


Base LDA object with simple query capabilities.
author
- dramage


Companion: LDA

Source: LDA.scala(37)

Direct Known Subclasses

Model, LDATermIndex, LDATopicIndex, LoadedLDA,

 Fields

numTerms.. abstract val numTerms
The number of terms in the model
Int
numTopics.. abstract val numTopics
The number of topics in the model
Int
termSmoothing.. abstract val termSmoothing
Prior counts for each term (beta in the [gibbs] model formulation)
Array[Double]
topicSmoothing.. abstract val topicSmoothing
Prior counts for each topic (alpha in the model formulation)
Array[Double]

 Methods

!=.. final def !=(arg0 : Object) Boolean AnyRef
!=.. final def !=(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Object) Boolean AnyRef
asInstanceOf.. final def asInstanceOf[T0] T0 Any
clone.. protected def clone Object AnyRef
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
finalize.. protected def finalize Unit AnyRef
getClass.. final def getClass Class[Any] AnyRef
getTermDistribution.. abstract def getTermDistribution(topic : Int)
Returns the distribution over terms for the given topic
Array[Double]
hashCode.. def hashCode Int AnyRef
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
log.. protected def log(msg : String)
A log message
Unit
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
save.. def save(path : File)(implicit ra : RA)
Saves the model to the given path
Unit
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toString.. def toString String AnyRef
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
wait.. final def wait Unit AnyRef
Copyright (c) 2009. All Rights Reserved.