Interface ISamplingAlgorithmFactory<I,​D extends IDataset<I>,​A extends ASamplingAlgorithm<I,​D>>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      A 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.
    • Method Detail

      • getAlgorithm

        A 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.
        Parameters:
        sampleSize - Desired size of the sample that will be created.
        inputDataset - Dataset where the sample will be drawn from.
        random - Random object to make samples reproducible.
        Returns:
        Configured sampling algorithm object.