Uses of Class
org.datavec.api.transform.ReduceOp
-
Packages that use ReduceOp Package Description org.datavec.api.transform org.datavec.api.transform.reduce org.datavec.api.transform.transform.sequence -
-
Uses of ReduceOp in org.datavec.api.transform
Methods in org.datavec.api.transform that return ReduceOp Modifier and Type Method Description static ReduceOp
ReduceOp. valueOf(String name)
Returns the enum constant of this type with the specified name.static ReduceOp[]
ReduceOp. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.datavec.api.transform with parameters of type ReduceOp Modifier and Type Method Description TransformProcess.Builder
TransformProcess.Builder. sequenceMovingWindowReduce(String columnName, int lookback, ReduceOp op)
SequenceMovingWindowReduceTransform: Adds a new column, where the value is derived by:
(a) using a window of the last N values in a single column,
(b) Apply a reduction op on the window to calculate a new value
for example, this transformer can be used to implement a simple moving average of the last N values, or determine the minimum or maximum values in the last N time steps. -
Uses of ReduceOp in org.datavec.api.transform.reduce
Methods in org.datavec.api.transform.reduce with parameters of type ReduceOp Modifier and Type Method Description Reducer.Builder
Reducer.Builder. conditionalReduction(String column, String outputName, ReduceOp reduction, Condition condition)
Conditional reduction: apply the reduces on a specified column, where the reduction occurs *only* on those examples where the condition returns true.Method parameters in org.datavec.api.transform.reduce with type arguments of type ReduceOp Modifier and Type Method Description Reducer.Builder
Reducer.Builder. multipleOpColmumns(List<ReduceOp> ops, String... columns)
static IAggregableReduceOp<Writable,List<Writable>>
AggregableReductionUtils. reduceBytesColumn(List<ReduceOp> lop, boolean ignoreInvalid, ColumnMetaData metaData)
static IAggregableReduceOp<Writable,List<Writable>>
AggregableReductionUtils. reduceColumn(List<ReduceOp> op, ColumnType type, boolean ignoreInvalid, ColumnMetaData metaData)
static IAggregableReduceOp<Writable,List<Writable>>
AggregableReductionUtils. reduceDoubleColumn(List<ReduceOp> lop, boolean ignoreInvalid, ColumnMetaData metaData)
static IAggregableReduceOp<Writable,List<Writable>>
AggregableReductionUtils. reduceFloatColumn(List<ReduceOp> lop, boolean ignoreInvalid, ColumnMetaData metaData)
static IAggregableReduceOp<Writable,List<Writable>>
AggregableReductionUtils. reduceIntColumn(List<ReduceOp> lop, boolean ignoreInvalid, ColumnMetaData metaData)
static IAggregableReduceOp<Writable,List<Writable>>
AggregableReductionUtils. reduceLongColumn(List<ReduceOp> lop, boolean ignoreInvalid, ColumnMetaData metaData)
static IAggregableReduceOp<Writable,List<Writable>>
AggregableReductionUtils. reduceStringOrCategoricalColumn(List<ReduceOp> lop, boolean ignoreInvalid, ColumnMetaData metaData)
static IAggregableReduceOp<Writable,List<Writable>>
AggregableReductionUtils. reduceTimeColumn(List<ReduceOp> lop, boolean ignoreInvalid, ColumnMetaData metaData)
Constructors in org.datavec.api.transform.reduce with parameters of type ReduceOp Constructor Description Builder(ReduceOp defaultOp)
Create a Reducer builder, and set the default column reduction operation.Reducer(List<String> keyColumns, ReduceOp defaultOp, Map<String,List<ReduceOp>> opMap, Map<String,AggregableColumnReduction> customReductions, Map<String,Reducer.ConditionalReduction> conditionalReductions, Set<String> ignoreInvalidInColumns)
Constructor parameters in org.datavec.api.transform.reduce with type arguments of type ReduceOp Constructor Description Reducer(List<String> keyColumns, ReduceOp defaultOp, Map<String,List<ReduceOp>> opMap, Map<String,AggregableColumnReduction> customReductions, Map<String,Reducer.ConditionalReduction> conditionalReductions, Set<String> ignoreInvalidInColumns)
-
Uses of ReduceOp in org.datavec.api.transform.transform.sequence
Methods in org.datavec.api.transform.transform.sequence with parameters of type ReduceOp Modifier and Type Method Description static String
SequenceMovingWindowReduceTransform. defaultOutputColumnName(String originalName, int lookback, ReduceOp op)
Constructors in org.datavec.api.transform.transform.sequence with parameters of type ReduceOp Constructor Description SequenceMovingWindowReduceTransform(String columnName, int lookback, ReduceOp op)
SequenceMovingWindowReduceTransform(String columnName, String newColumnName, int lookback, ReduceOp op, SequenceMovingWindowReduceTransform.EdgeCaseHandling edgeCaseHandling, Writable edgeCaseValue)
-