Class ConstantSplitSetGenerator<I extends org.api4.java.ai.ml.core.dataset.IInstance,​D extends org.api4.java.ai.ml.core.dataset.IDataset<? extends I>>

  • All Implemented Interfaces:
    org.api4.java.ai.ml.core.evaluation.execution.IDatasetSplitSetGenerator<D>, org.api4.java.ai.ml.core.evaluation.execution.IFixedDatasetSplitSetGenerator<D>

    public class ConstantSplitSetGenerator<I extends org.api4.java.ai.ml.core.dataset.IInstance,​D extends org.api4.java.ai.ml.core.dataset.IDataset<? extends I>>
    extends java.lang.Object
    implements org.api4.java.ai.ml.core.evaluation.execution.IFixedDatasetSplitSetGenerator<D>
    • Constructor Summary

      Constructors 
      Constructor Description
      ConstantSplitSetGenerator​(org.api4.java.ai.ml.core.evaluation.execution.IDatasetSplitSet<D> set)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      D getDataset()  
      int getNumFoldsPerSplit()  
      int getNumSplitsPerSet()  
      org.api4.java.ai.ml.core.evaluation.execution.IDatasetSplitSet<D> nextSplitSet()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.api4.java.ai.ml.core.evaluation.execution.IFixedDatasetSplitSetGenerator

        nextSplitSet
    • Constructor Detail

      • ConstantSplitSetGenerator

        public ConstantSplitSetGenerator​(org.api4.java.ai.ml.core.evaluation.execution.IDatasetSplitSet<D> set)
    • Method Detail

      • getNumSplitsPerSet

        public int getNumSplitsPerSet()
        Specified by:
        getNumSplitsPerSet in interface org.api4.java.ai.ml.core.evaluation.execution.IDatasetSplitSetGenerator<I extends org.api4.java.ai.ml.core.dataset.IInstance>
      • getNumFoldsPerSplit

        public int getNumFoldsPerSplit()
        Specified by:
        getNumFoldsPerSplit in interface org.api4.java.ai.ml.core.evaluation.execution.IDatasetSplitSetGenerator<I extends org.api4.java.ai.ml.core.dataset.IInstance>
      • nextSplitSet

        public org.api4.java.ai.ml.core.evaluation.execution.IDatasetSplitSet<D> nextSplitSet()
                                                                                       throws java.lang.InterruptedException,
                                                                                              org.api4.java.ai.ml.core.dataset.splitter.SplitFailedException
        Specified by:
        nextSplitSet in interface org.api4.java.ai.ml.core.evaluation.execution.IFixedDatasetSplitSetGenerator<I extends org.api4.java.ai.ml.core.dataset.IInstance>
        Throws:
        java.lang.InterruptedException
        org.api4.java.ai.ml.core.dataset.splitter.SplitFailedException
      • getDataset

        public D getDataset()
        Specified by:
        getDataset in interface org.api4.java.ai.ml.core.evaluation.execution.IFixedDatasetSplitSetGenerator<I extends org.api4.java.ai.ml.core.dataset.IInstance>