Package ai.libs.jaicore.ml.cache
Class StratifiedSplitSubsetInstruction
- java.lang.Object
-
- ai.libs.jaicore.ml.cache.Instruction
-
- ai.libs.jaicore.ml.cache.FoldBasedSubsetInstruction
-
- ai.libs.jaicore.ml.cache.SplitInstruction
-
- ai.libs.jaicore.ml.cache.StratifiedSplitSubsetInstruction
-
- All Implemented Interfaces:
java.io.Serializable
public class StratifiedSplitSubsetInstruction extends SplitInstruction
Computes a two-fold split- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StratifiedSplitSubsetInstruction(long seed, double ratios)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Instructionclone()java.util.List<IDataset>getOutputInstances(java.util.List<IDataset> inputs)Provides the instances induced by this instruction nodelonggetSeed()-
Methods inherited from class ai.libs.jaicore.ml.cache.SplitInstruction
getPortionOfFirstFold
-
-
-
-
Method Detail
-
getOutputInstances
public java.util.List<IDataset> getOutputInstances(java.util.List<IDataset> inputs) throws InstructionFailedException, java.lang.InterruptedException
Description copied from class:InstructionProvides the instances induced by this instruction node- Specified by:
getOutputInstancesin classInstruction- Returns:
- The instances computed by this node
- Throws:
InstructionFailedExceptionjava.lang.InterruptedException
-
getSeed
public long getSeed()
-
clone
public Instruction clone()
- Specified by:
clonein classInstruction
-
-