Class ArbitrarySplitter

  • All Implemented Interfaces:
    IDatasetSplitter

    public class ArbitrarySplitter
    extends java.lang.Object
    implements IDatasetSplitter
    Generates a purely random split of the dataset depending on the seed and on the portions provided.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<weka.core.Instances> split​(weka.core.Instances data, long seed, double portions)  
      • Methods inherited from class java.lang.Object

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

      • ArbitrarySplitter

        public ArbitrarySplitter()
    • Method Detail

      • split

        public java.util.List<weka.core.Instances> split​(weka.core.Instances data,
                                                         long seed,
                                                         double portions)
        Specified by:
        split in interface IDatasetSplitter