Package adams.data.outlier
Interface TrainableOutlierDetector<T extends DataContainer>
-
- Type Parameters:
T
- the type of data
- All Superinterfaces:
CleanUpHandler
,Comparable
,Destroyable
,OptionHandler
,OutlierDetector<T>
,ShallowCopySupporter<OutlierDetector>
public interface TrainableOutlierDetector<T extends DataContainer> extends OutlierDetector<T>
Interface for trainable outlier detectors.- 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 detector has been trained already and is ready to use.void
resetDetector()
Resets the detector, i.e., flags it as "not trained".void
trainDetector(T[] data)
Trains the detector with the specified data.-
Methods inherited from interface adams.core.CleanUpHandler
cleanUp
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface adams.core.Destroyable
destroy
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, defineOptions, getOptionManager, toCommandLine
-
Methods inherited from interface adams.data.outlier.OutlierDetector
detect, shallowCopy, shallowCopy
-
-
-
-
Method Detail
-
resetDetector
void resetDetector()
Resets the detector, i.e., flags it as "not trained".- See Also:
isTrained()
-
trainDetector
void trainDetector(T[] data)
Trains the detector with the specified data.
-
isTrained
boolean isTrained()
Returns whether the detector has been trained already and is ready to use.- Returns:
- true if already trained
-
-