Class SequenceSplitTimeSeparation
- java.lang.Object
-
- org.datavec.api.transform.sequence.split.SequenceSplitTimeSeparation
-
- All Implemented Interfaces:
Serializable,SequenceSplit
public class SequenceSplitTimeSeparation extends Object implements SequenceSplit
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SequenceSplitTimeSeparation(String timeColumn, long timeQuantity, TimeUnit timeUnit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SchemagetInputSchema()Getter for the input schemavoidsetInputSchema(Schema inputSchema)Sets the input schema for this splitList<List<List<Writable>>>split(List<List<Writable>> sequence)Split a sequence in to multiple time stepsStringtoString()
-
-
-
Method Detail
-
split
public List<List<List<Writable>>> split(List<List<Writable>> sequence)
Description copied from interface:SequenceSplitSplit a sequence in to multiple time steps- Specified by:
splitin interfaceSequenceSplit- Parameters:
sequence- the sequence to split- Returns:
-
setInputSchema
public void setInputSchema(Schema inputSchema)
Description copied from interface:SequenceSplitSets the input schema for this split- Specified by:
setInputSchemain interfaceSequenceSplit- Parameters:
inputSchema- the schema to set
-
getInputSchema
public Schema getInputSchema()
Description copied from interface:SequenceSplitGetter for the input schema- Specified by:
getInputSchemain interfaceSequenceSplit- Returns:
-
-