Documentation of 'cc.mallet.topics.LDA' Java class
LDA
cc.mallet.topics

Class LDA

  • All Implemented Interfaces:
    java.io.Serializable

    Deprecated. 
    Use ParallelTopicModel instead.

    public class LDA
    extends java.lang.Object
    implements java.io.Serializable
    Latent Dirichlet Allocation.
    See Also:
    Serialized Form
    • Constructor Detail

      • LDA

        public LDA(int numberOfTopics)
        Deprecated. 
      • LDA

        public LDA(int numberOfTopics,
                   double alphaSum,
                   double beta)
        Deprecated. 
    • Method Detail

      • estimate

        public void estimate(InstanceList documents,
                             int numIterations,
                             int showTopicsInterval,
                             int outputModelInterval,
                             java.lang.String outputModelFilename,
                             Randoms r)
        Deprecated. 
      • addDocuments

        public void addDocuments(InstanceList additionalDocuments,
                                 int numIterations,
                                 int showTopicsInterval,
                                 int outputModelInterval,
                                 java.lang.String outputModelFilename,
                                 Randoms r)
        Deprecated. 
      • estimate

        public void estimate(int docIndexStart,
                             int docIndexLength,
                             int numIterations,
                             int showTopicsInterval,
                             int outputModelInterval,
                             java.lang.String outputModelFilename,
                             Randoms r)
        Deprecated. 
      • sampleTopicsForAllDocs

        public void sampleTopicsForAllDocs(Randoms r)
        Deprecated. 
      • sampleTopicsForDocs

        public void sampleTopicsForDocs(int start,
                                        int length,
                                        Randoms r)
        Deprecated. 
      • getDocTopicCounts

        public int[][] getDocTopicCounts()
        Deprecated. 
      • getTypeTopicCounts

        public int[][] getTypeTopicCounts()
        Deprecated. 
      • getTokensPerTopic

        public int[] getTokensPerTopic()
        Deprecated. 
      • printTopWords

        public void printTopWords(int numWords,
                                  boolean useNewLines)
        Deprecated. 
      • printDocumentTopics

        public void printDocumentTopics(java.io.File f)
                                 throws java.io.IOException
        Deprecated. 
        Throws:
        java.io.IOException
      • printDocumentTopics

        public void printDocumentTopics(java.io.PrintWriter pw)
        Deprecated. 
      • printDocumentTopics

        public void printDocumentTopics(java.io.PrintWriter pw,
                                        double threshold,
                                        int max)
        Deprecated. 
      • printState

        public void printState(java.io.File f)
                        throws java.io.IOException
        Deprecated. 
        Throws:
        java.io.IOException
      • printState

        public void printState(java.io.PrintWriter pw)
        Deprecated. 
      • write

        public void write(java.io.File f)
        Deprecated. 
      • getInstanceList

        public InstanceList getInstanceList()
        Deprecated. 
      • main

        public static void main(java.lang.String[] args)
                         throws java.io.IOException
        Deprecated. 
        Throws:
        java.io.IOException

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.