Package ai.libs.jaicore.ml.cache
Class FoldBasedSubsetInstruction
- java.lang.Object
-
- ai.libs.jaicore.ml.cache.Instruction
-
- ai.libs.jaicore.ml.cache.FoldBasedSubsetInstruction
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
SplitInstruction
public abstract class FoldBasedSubsetInstruction extends Instruction
Instruction to track a fold-based subset computation for aReproducibleInstancesobject. The original dataset is split into folds using the specified fold technique, e.g., 10-fold cross validation or a simple stratified split. Then, a subset of the created folds is joined as to determine the desired subset of the original set. For example, to obtain the training data in a 5-fold cross validation if the test data corresponds to the 3rd fold, the foldTechnique is "(5, )", and the outIndices are "0,1,3,4" - See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FoldBasedSubsetInstruction(java.lang.String foldTechnique)Constructor to create a split Instruction that can be converted into json.
-
Method Summary
-
Methods inherited from class ai.libs.jaicore.ml.cache.Instruction
clone, getOutputInstances
-
-