Enum SequenceMovingWindowReduceTransform.EdgeCaseHandling
- java.lang.Object
-
- java.lang.Enum<SequenceMovingWindowReduceTransform.EdgeCaseHandling>
-
- org.datavec.api.transform.transform.sequence.SequenceMovingWindowReduceTransform.EdgeCaseHandling
-
- All Implemented Interfaces:
Serializable
,Comparable<SequenceMovingWindowReduceTransform.EdgeCaseHandling>
- Enclosing class:
- SequenceMovingWindowReduceTransform
public static enum SequenceMovingWindowReduceTransform.EdgeCaseHandling extends Enum<SequenceMovingWindowReduceTransform.EdgeCaseHandling>
Enumeration to specify how each cases are handled: For example, for a look back period of 20, how should the first 19 output values be calculated?
Default: Perform your former reduction as normal, with as many values are available
SpecifiedValue: use the given/specified value instead of the actual output value. For example, you could assign values of 0 or NullWritable to positions 0 through 18 of the output.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Default
SpecifiedValue
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SequenceMovingWindowReduceTransform.EdgeCaseHandling
valueOf(String name)
Returns the enum constant of this type with the specified name.static SequenceMovingWindowReduceTransform.EdgeCaseHandling[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Default
public static final SequenceMovingWindowReduceTransform.EdgeCaseHandling Default
-
SpecifiedValue
public static final SequenceMovingWindowReduceTransform.EdgeCaseHandling SpecifiedValue
-
-
Method Detail
-
values
public static SequenceMovingWindowReduceTransform.EdgeCaseHandling[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SequenceMovingWindowReduceTransform.EdgeCaseHandling c : SequenceMovingWindowReduceTransform.EdgeCaseHandling.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SequenceMovingWindowReduceTransform.EdgeCaseHandling valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-