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

Class NodeClusterSampleIterator

  • All Implemented Interfaces:
    java.util.Iterator<Instance>


    public class NodeClusterSampleIterator
    extends ClusterSampleIterator
    Samples merges of a singleton cluster with another (possibly non-singleton) cluster.
    Since:
    1.0
    See Also:
    PairSampleIterator, NeighborIterator
    • Constructor Detail

      • NodeClusterSampleIterator

        public NodeClusterSampleIterator(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.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.