Class GmeansSamplingFactory<I extends INumericLabeledAttributeArrayInstance<? extends java.lang.Number>,​D extends IDataset<I>>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      GmeansSampling<I,​D> getAlgorithm​(int sampleSize, D inputDataset, java.util.Random random)
      After the necessary config is done, this method returns a fully configured instance of a sampling algorithm.
      void setClusterSeed​(long clusterSeed)
      Set the seed the clustering will use for initialization.
      void setDistanceMeassure​(org.apache.commons.math3.ml.distance.DistanceMeasure distanceMeassure)
      Set the distance measure for the clustering.
      void setPreviousRun​(GmeansSampling<I,​D> previousRun)
      Set the previous run of the sampling algorithm, if one occurred, can be set here to get data from it.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait