Class BaseTransform
- java.lang.Object
-
- org.datavec.api.transform.transform.BaseTransform
-
- Direct Known Subclasses:
BaseColumnTransform,CategoricalToIntegerTransform,CategoricalToOneHotTransform,ConcatenateStringColumns,FirstDigitTransform,IntegerToOneHotTransform,ParseDoubleTransform,PivotTransform,RemoveAllColumnsExceptForTransform,RemoveColumnsTransform,StringListToCategoricalSetTransform,StringListToCountsNDArrayTransform
public abstract class BaseTransform extends Object implements Transform
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected SchemainputSchema
-
Constructor Summary
Constructors Constructor Description BaseTransform()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description SchemagetInputSchema()Getter for input schemaList<List<Writable>>mapSequence(List<List<Writable>> sequence)Transform a sequencevoidsetInputSchema(Schema inputSchema)Set the input schema.abstract StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.datavec.api.transform.ColumnOp
columnName, columnNames, outputColumnName, outputColumnNames
-
Methods inherited from interface org.datavec.api.transform.Transform
map, map, mapSequence
-
-
-
-
Field Detail
-
inputSchema
protected Schema inputSchema
-
-
Method Detail
-
setInputSchema
public void setInputSchema(Schema inputSchema)
Description copied from interface:ColumnOpSet the input schema.- Specified by:
setInputSchemain interfaceColumnOp
-
getInputSchema
public Schema getInputSchema()
Description copied from interface:ColumnOpGetter for input schema- Specified by:
getInputSchemain interfaceColumnOp- Returns:
-
mapSequence
public List<List<Writable>> mapSequence(List<List<Writable>> sequence)
Description copied from interface:TransformTransform a sequence- Specified by:
mapSequencein interfaceTransform
-
-