Documentation of 'com.datumbox.framework.core.machinelearning.modelselection.splitters.KFoldSplitter' Java class
KFoldSplitter
com.datumbox.framework.core.machinelearning.modelselection.splitters

Class KFoldSplitter



  • public class KFoldSplitter
    extends AbstractSplitter
    The KFoldSplitter partitions the data in K folds.
    • Constructor Summary

      Constructors 
      Constructor and Description
      KFoldSplitter(int k)
      The default constructor which receives the number of folds.
      KFoldSplitter(int k, java.util.Random random)
      The auxiliary constructor which receives the number of folds and a random generator.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.Iterator<AbstractSplitter.Split> split(Dataframe dataset)
      Produces a series of train/test splits on the provided dataframe.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KFoldSplitter

        public KFoldSplitter(int k)
        The default constructor which receives the number of folds.
        Parameters:
        k -
      • KFoldSplitter

        public KFoldSplitter(int k,
                             java.util.Random random)
        The auxiliary constructor which receives the number of folds and a random generator.
        Parameters:
        k -
        random -

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.