Documentation of 'cc.mallet.cluster.iterator.PairSampleIterator' Java class
PairSampleIterator
cc.mallet.cluster.iterator

Class PairSampleIterator

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean hasNext() 
      Instance next() 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
    • Constructor Detail

      • PairSampleIterator

        public PairSampleIterator(Clustering clustering,
                                  Randoms random,
                                  double positiveProportion,
                                  int numberSamples)
        Parameters:
        clustering - True clustering.
        random - Source of randomness.
        positiveProportion - Proportion of Instances that should be positive examples.
        numberSamples - Total number of samples to generate.
    • Method Detail

      • hasNext

        public boolean hasNext()

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.