I - Type of the dataset instances.A - Type of the sampling algorithm that will be created.public interface ISamplingAlgorithmFactory<I extends IInstance,A extends ASamplingAlgorithm<I>>
| Modifier and Type | Method and Description |
|---|---|
A |
getAlgorithm(int sampleSize,
IDataset<I> inputDataset,
java.util.Random random)
After the necessary config is done, this method returns a fully configured
instance of a sampling algorithm.
|
A getAlgorithm(int sampleSize, IDataset<I> inputDataset, java.util.Random random)
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.