Class SystematicSamplingFactory<I extends INumericArrayInstance,​D extends IOrderedDataset<I>>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SystematicSampling<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 setDatapointComparator​(java.util.Comparator<I> datapointComparator)
      Set a custom comparator that will be used to sort the datapoints before sampling.
      void setPreviousRun​(SystematicSampling<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