ai.libs.jaicore.ml.core.dataset.util

Class StratifiedSplit<I extends IInstance>

  • java.lang.Object
    • ai.libs.jaicore.ml.core.dataset.util.StratifiedSplit<I>


  • public class StratifiedSplit<I extends IInstance>extends java.lang.Object
    • Constructor Detail

      • StratifiedSplit

        public StratifiedSplit(IDataset<I> dataset,                       long seed)
    • Method Detail

      • doSplit

        public void doSplit(double trainPortion)             throws ai.libs.jaicore.basic.algorithm.exceptions.AlgorithmException
        Throws:
        ai.libs.jaicore.basic.algorithm.exceptions.AlgorithmException
      • getTrainingData

        public IDataset<I> getTrainingData()
      • getTestData

        public IDataset<I> getTestData()


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14