Package org.datavec.api.transform.filter
Class BaseColumnFilter
- java.lang.Object
-
- org.datavec.api.transform.filter.BaseColumnFilter
-
public abstract class BaseColumnFilter extends Object implements Filter
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseColumnFilter(String column)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanremoveExample(List<Writable> writables)abstract booleanremoveExample(Writable writable)Should the example or sequence be removed, based on the values from the specified column?booleanremoveSequence(List<List<Writable>> sequence)voidsetInputSchema(Schema schema)Set the input schema.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.datavec.api.transform.ColumnOp
columnName, columnNames, outputColumnName, outputColumnNames
-
Methods inherited from interface org.datavec.api.transform.filter.Filter
getInputSchema, removeExample, removeSequence
-
-
-
-
Constructor Detail
-
BaseColumnFilter
protected BaseColumnFilter(String column)
-
-
Method Detail
-
removeExample
public boolean removeExample(List<Writable> writables)
- Specified by:
removeExamplein interfaceFilter- Parameters:
writables- Example- Returns:
- true if example should be removed, false to keep
-
removeSequence
public boolean removeSequence(List<List<Writable>> sequence)
- Specified by:
removeSequencein interfaceFilter- Parameters:
sequence- sequence example- Returns:
- true if example should be removed, false to keep
-
setInputSchema
public void setInputSchema(Schema schema)
Description copied from interface:ColumnOpSet the input schema.- Specified by:
setInputSchemain interfaceColumnOp- Specified by:
setInputSchemain interfaceFilter
-
removeExample
public abstract boolean removeExample(Writable writable)
Should the example or sequence be removed, based on the values from the specified column?
-
-