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 Schema
getInputSchema()
Getter for the input schemavoid
setInputSchema(Schema inputSchema)
Sets the input schema for this splitList<List<List<Writable>>>
split(List<List<Writable>> sequence)
Split a sequence in to multiple time stepsString
toString()
-
-
-
Method Detail
-
split
public List<List<List<Writable>>> split(List<List<Writable>> sequence)
Description copied from interface:SequenceSplit
Split a sequence in to multiple time steps- Specified by:
split
in interfaceSequenceSplit
- Parameters:
sequence
- the sequence to split- Returns:
-
setInputSchema
public void setInputSchema(Schema inputSchema)
Description copied from interface:SequenceSplit
Sets the input schema for this split- Specified by:
setInputSchema
in interfaceSequenceSplit
- Parameters:
inputSchema
- the schema to set
-
getInputSchema
public Schema getInputSchema()
Description copied from interface:SequenceSplit
Getter for the input schema- Specified by:
getInputSchema
in interfaceSequenceSplit
- Returns:
-
-