Package adams.data.filter
Interface TrainableBatchFilter<T extends DataContainer>
-
- Type Parameters:
T
- the type of data
- All Superinterfaces:
BatchFilter<T>
,CleanUpHandler
,Comparable
,Destroyable
,Filter<T>
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,ShallowCopySupporter<Filter>
- All Known Implementing Classes:
OutlierDetector
public interface TrainableBatchFilter<T extends DataContainer> extends BatchFilter<T>
Interface for trainable batch filters.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isTrained()
Returns whether the filter has been trained already and is ready to use.void
resetFilter()
Resets the filter, i.e., flags it as "not trained".void
trainFilter(T[] data)
Trains the filter with the specified data.-
Methods inherited from interface adams.data.filter.BatchFilter
batchFilter
-
Methods inherited from interface adams.data.filter.Filter
cleanUp, compareTo, destroy, dontUpdateIDTipText, equals, filter, getDontUpdateID, reset, setDontUpdateID, shallowCopy, shallowCopy
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel, setLoggingLevel
-
Methods inherited from interface adams.core.logging.LoggingSupporter
getLogger, isLoggingEnabled
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, defineOptions, getOptionManager, toCommandLine
-
-
-
-
Method Detail
-
resetFilter
void resetFilter()
Resets the filter, i.e., flags it as "not trained".- See Also:
isTrained()
-
trainFilter
void trainFilter(T[] data)
Trains the filter with the specified data.
-
isTrained
boolean isTrained()
Returns whether the filter has been trained already and is ready to use.- Returns:
- true if already trained
-
-