protected class ParallelLatentDirichletAllocationVectorGibbsSampler.DocumentSampleTask extends AbstractCloneableSerializable implements java.util.concurrent.Callable<java.lang.Boolean>
Constructor and Description |
---|
DocumentSampleTask(Vector v,
int doc,
int occ)
Creates a new instance of DocumentSampleTask
|
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
call() |
clone
public DocumentSampleTask(Vector v, int doc, int occ)
v
- - term frequency vector for a single documentdoc
- - document address in sample arraysocc
- - occurrence address in sample occurrence array