Package org.datavec.api.transform
Enum ReduceOp
- java.lang.Object
-
- java.lang.Enum<ReduceOp>
-
- org.datavec.api.transform.ReduceOp
-
- All Implemented Interfaces:
Serializable
,Comparable<ReduceOp>
public enum ReduceOp extends Enum<ReduceOp>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReduceOp
valueOf(String name)
Returns the enum constant of this type with the specified name.static ReduceOp[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Prod
public static final ReduceOp Prod
-
Min
public static final ReduceOp Min
-
Max
public static final ReduceOp Max
-
Range
public static final ReduceOp Range
-
Append
public static final ReduceOp Append
-
Prepend
public static final ReduceOp Prepend
-
Sum
public static final ReduceOp Sum
-
Mean
public static final ReduceOp Mean
-
Stdev
public static final ReduceOp Stdev
-
UncorrectedStdDev
public static final ReduceOp UncorrectedStdDev
-
Variance
public static final ReduceOp Variance
-
PopulationVariance
public static final ReduceOp PopulationVariance
-
Count
public static final ReduceOp Count
-
CountUnique
public static final ReduceOp CountUnique
-
TakeFirst
public static final ReduceOp TakeFirst
-
TakeLast
public static final ReduceOp TakeLast
-
-
Method Detail
-
values
public static ReduceOp[] 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 (ReduceOp c : ReduceOp.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReduceOp 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
-
-