Package org.datavec.api.transform.filter
Interface Filter
-
- All Superinterfaces:
ColumnOp,Operation<Schema,Schema>,Serializable
- All Known Implementing Classes:
BaseColumnFilter,ConditionFilter,FilterInvalidValues,InvalidNumColumns
public interface Filter extends Serializable, ColumnOp
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SchemagetInputSchema()Getter for input schemabooleanremoveExample(Object example)booleanremoveExample(List<Writable> writables)booleanremoveSequence(Object sequence)booleanremoveSequence(List<List<Writable>> sequence)voidsetInputSchema(Schema schema)Set the input schema.-
Methods inherited from interface org.datavec.api.transform.ColumnOp
columnName, columnNames, outputColumnName, outputColumnNames
-
-
-
-
Method Detail
-
removeExample
boolean removeExample(Object example)
- Parameters:
example- Example- Returns:
- true if example should be removed, false to keep
-
removeSequence
boolean removeSequence(Object sequence)
- Parameters:
sequence- sequence example- Returns:
- true if example should be removed, false to keep
-
removeExample
boolean removeExample(List<Writable> writables)
- Parameters:
writables- Example- Returns:
- true if example should be removed, false to keep
-
removeSequence
boolean removeSequence(List<List<Writable>> sequence)
- Parameters:
sequence- sequence example- Returns:
- true if example should be removed, false to keep
-
setInputSchema
void setInputSchema(Schema schema)
Description copied from interface:ColumnOpSet the input schema.- Specified by:
setInputSchemain interfaceColumnOp- Parameters:
schema-
-
getInputSchema
Schema getInputSchema()
Description copied from interface:ColumnOpGetter for input schema- Specified by:
getInputSchemain interfaceColumnOp- Returns:
-
-