Package ai.libs.jaicore.ml.cache
Class Instruction
- java.lang.Object
-
- ai.libs.jaicore.ml.cache.Instruction
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
FoldBasedSubsetInstruction,LoadDataSetInstruction
public abstract class Instruction extends java.lang.Object implements java.io.SerializableInstruction class that can be converted into json. Used byReproducibleInstances. The instructions are used to store information about the dataset origin and the splits done. Supported areLoadDataSetInstructionandFoldBasedSubsetInstructionat the moment.
An instruction is identified by a command name, that specifies the type of instruction and a list if input parameters.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Instruction()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Instructionclone()abstract java.util.List<IDataset>getOutputInstances(java.util.List<IDataset> inputs)Provides the instances induced by this instruction node
-
-
-
Method Detail
-
getOutputInstances
public abstract java.util.List<IDataset> getOutputInstances(java.util.List<IDataset> inputs) throws InstructionFailedException, java.lang.InterruptedException
Provides the instances induced by this instruction node- Returns:
- The instances computed by this node
- Throws:
InstructionFailedExceptionjava.lang.InterruptedException
-
clone
public abstract Instruction clone()
- Overrides:
clonein classjava.lang.Object
-
-