Class DMRCallable

  • All Implemented Interfaces:
    java.util.concurrent.Callable<java.lang.Integer>

    public class DMRCallable
    extends WorkerCallable
    implements java.util.concurrent.Callable<java.lang.Integer>
    A parallel Dirichlet-multinomial regression topic model runnable task.
    Author:
    David Mimno
    • Constructor Detail

      • DMRCallable

        public DMRCallable​(int numTopics,
                           DMRTopicModel model,
                           double beta,
                           Randoms random,
                           java.util.ArrayList<TopicAssignment> data,
                           int[][] typeTopicCounts,
                           int[] tokensPerTopic,
                           int startDoc,
                           int numDocs)
    • Method Detail

      • call

        public java.lang.Integer call()
        Specified by:
        call in interface java.util.concurrent.Callable<java.lang.Integer>
        Overrides:
        call in class WorkerCallable