Interface AnomalyDetector
-
- All Superinterfaces:
Configurable
,MOAObject
,OptionHandler
,Serializable
- All Known Implementing Classes:
AbstractAnomalyDetector
,AnomalinessRatioScore
,NoAnomalyDetection
,OddsRatioScore
public interface AnomalyDetector extends OptionHandler
Anomaly Detector interface to implement methods that detects change.- Version:
- $Revision: 1$
- Author:
- João Duarte (joaomaiaduarte at gmail dot com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnomalyDetector
copy()
This method produces a copy of this object.double
getAnomalyScore()
boolean
updateAndCheckAnomalyDetection(MultiLabelInstance instance)
Adding an instance to the anomaly detector-
Methods inherited from interface moa.MOAObject
getDescription, measureByteSize
-
Methods inherited from interface moa.options.OptionHandler
getCLICreationString, getOptions, getPurposeString, prepareForUse, prepareForUse
-
-
-
-
Method Detail
-
updateAndCheckAnomalyDetection
boolean updateAndCheckAnomalyDetection(MultiLabelInstance instance)
Adding an instance to the anomaly detector- Returns:
- true if anomaly is detected and false otherwise
-
getAnomalyScore
double getAnomalyScore()
-
copy
AnomalyDetector copy()
Description copied from interface:OptionHandler
This method produces a copy of this object.- Specified by:
copy
in interfaceMOAObject
- Specified by:
copy
in interfaceOptionHandler
- Returns:
- a copy of this object
-
-