Class ReproducibleSplit<D extends org.api4.java.ai.ml.core.dataset.IDataset<?>>

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<D>, java.util.Collection<D>, java.util.List<D>, java.util.RandomAccess, org.api4.java.common.reconstruction.IReconstructible

    public class ReproducibleSplit<D extends org.api4.java.ai.ml.core.dataset.IDataset<?>>
    extends java.util.ArrayList<D>
    implements org.api4.java.common.reconstruction.IReconstructible
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Constructor Summary

      Constructors 
      Constructor Description
      ReproducibleSplit​(ai.libs.jaicore.basic.reconstruction.ReconstructionInstruction creationInstruction, D dataset, D... folds)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addInstruction​(org.api4.java.common.reconstruction.IReconstructionInstruction instruction)  
      boolean equals​(java.lang.Object obj)  
      org.api4.java.common.reconstruction.IReconstructionPlan getConstructionPlan()  
      int hashCode()  
      • Methods inherited from class java.util.ArrayList

        add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
      • Methods inherited from class java.util.AbstractCollection

        containsAll, toString
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, stream, toArray
      • Methods inherited from interface java.util.List

        containsAll
    • Constructor Detail

      • ReproducibleSplit

        public ReproducibleSplit​(ai.libs.jaicore.basic.reconstruction.ReconstructionInstruction creationInstruction,
                                 D dataset,
                                 D... folds)
    • Method Detail

      • getConstructionPlan

        public org.api4.java.common.reconstruction.IReconstructionPlan getConstructionPlan()
        Specified by:
        getConstructionPlan in interface org.api4.java.common.reconstruction.IReconstructible
      • addInstruction

        public void addInstruction​(org.api4.java.common.reconstruction.IReconstructionInstruction instruction)
        Specified by:
        addInstruction in interface org.api4.java.common.reconstruction.IReconstructible
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface java.util.Collection<D extends org.api4.java.ai.ml.core.dataset.IDataset<?>>
        Specified by:
        hashCode in interface java.util.List<D extends org.api4.java.ai.ml.core.dataset.IDataset<?>>
        Overrides:
        hashCode in class java.util.ArrayList<D extends org.api4.java.ai.ml.core.dataset.IDataset<?>>
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface java.util.Collection<D extends org.api4.java.ai.ml.core.dataset.IDataset<?>>
        Specified by:
        equals in interface java.util.List<D extends org.api4.java.ai.ml.core.dataset.IDataset<?>>
        Overrides:
        equals in class java.util.ArrayList<D extends org.api4.java.ai.ml.core.dataset.IDataset<?>>