Class AbstractAnomalyDetector
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.options.AbstractOptionHandler
-
- moa.classifiers.rules.core.anomalydetection.AbstractAnomalyDetector
-
- All Implemented Interfaces:
Configurable
,Serializable
,AnomalyDetector
,MOAObject
,OptionHandler
- Direct Known Subclasses:
AnomalinessRatioScore
,NoAnomalyDetection
,OddsRatioScore
public abstract class AbstractAnomalyDetector extends AbstractOptionHandler implements AnomalyDetector
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class moa.options.AbstractOptionHandler
config
-
-
Constructor Summary
Constructors Constructor Description AbstractAnomalyDetector()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description AnomalyDetector
copy()
This method produces a copy of this object.abstract boolean
updateAndCheckAnomalyDetection(MultiLabelInstance instance)
Adding an instance to the anomaly detector-
Methods inherited from class moa.options.AbstractOptionHandler
getCLICreationString, getOptions, getPreparedClassOption, getPurposeString, prepareClassOptions, prepareForUse, prepareForUse, prepareForUseImpl
-
Methods inherited from class moa.AbstractMOAObject
copy, measureByteSize, measureByteSize, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface moa.classifiers.rules.core.anomalydetection.AnomalyDetector
getAnomalyScore
-
Methods inherited from interface moa.MOAObject
getDescription, measureByteSize
-
Methods inherited from interface moa.options.OptionHandler
getCLICreationString, getOptions, getPurposeString, prepareForUse, prepareForUse
-
-
-
-
Method Detail
-
updateAndCheckAnomalyDetection
public abstract boolean updateAndCheckAnomalyDetection(MultiLabelInstance instance)
Description copied from interface:AnomalyDetector
Adding an instance to the anomaly detector- Specified by:
updateAndCheckAnomalyDetection
in interfaceAnomalyDetector
- Returns:
- true if anomaly is detected and false otherwise
-
copy
public AnomalyDetector copy()
Description copied from interface:MOAObject
This method produces a copy of this object.- Specified by:
copy
in interfaceAnomalyDetector
- Specified by:
copy
in interfaceMOAObject
- Specified by:
copy
in interfaceOptionHandler
- Overrides:
copy
in classAbstractOptionHandler
- Returns:
- a copy of this object
-
-