Package cc.mallet.pipe.iterator
Class RandomTokenSequenceIterator
- java.lang.Object
-
- cc.mallet.pipe.iterator.RandomTokenSequenceIterator
-
-
Constructor Summary
Constructors Constructor Description RandomTokenSequenceIterator(Randoms r, int vocabSize, int numClasses)
RandomTokenSequenceIterator(Randoms r, Alphabet vocab, java.lang.String[] classnames)
RandomTokenSequenceIterator(Randoms r, Dirichlet classCentroidDistribution, double classCentroidAvergeAlphaMean, double classCentroidAvergeAlphaVariance, double featureVectorSizePoissonLambda, double classInstanceCountPoissonLamba, java.lang.String[] classNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Alphabet
getAlphabet()
boolean
hasNext()
Instance
next()
void
remove()
void
reset()
-
-
-
Constructor Detail
-
RandomTokenSequenceIterator
public RandomTokenSequenceIterator(Randoms r, Dirichlet classCentroidDistribution, double classCentroidAvergeAlphaMean, double classCentroidAvergeAlphaVariance, double featureVectorSizePoissonLambda, double classInstanceCountPoissonLamba, java.lang.String[] classNames)
-
RandomTokenSequenceIterator
public RandomTokenSequenceIterator(Randoms r, Alphabet vocab, java.lang.String[] classnames)
-
RandomTokenSequenceIterator
public RandomTokenSequenceIterator(Randoms r, int vocabSize, int numClasses)
-
-