Configurable
, java.io.Serializable
, AnomalyDetector
, MOAObject
, OptionHandler
public class NoAnomalyDetection extends AbstractAnomalyDetector
Modifier and Type | Field | Description |
---|---|---|
double |
anomalyScore |
config
Constructor | Description |
---|---|
NoAnomalyDetection() |
Modifier and Type | Method | Description |
---|---|---|
double |
getAnomalyScore() |
|
void |
getDescription(java.lang.StringBuilder sb,
int indent) |
Returns a string representation of this object.
|
java.lang.String |
getPurposeString() |
Dictionary with option texts and objects
|
protected void |
prepareForUseImpl(TaskMonitor monitor,
ObjectRepository repository) |
This method describes the implementation of how to prepare this object for use.
|
boolean |
updateAndCheckAnomalyDetection(MultiLabelInstance instance) |
Adding an instance to the anomaly detector
|
copy
copy, measureByteSize, measureByteSize, toString
getCLICreationString, getOptions, getPreparedClassOption, prepareClassOptions, prepareForUse, prepareForUse
measureByteSize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCLICreationString, getOptions, prepareForUse, prepareForUse
public void getDescription(java.lang.StringBuilder sb, int indent)
MOAObject
AbstractMOAObject.toString
to give a string representation of the object.sb
- the stringbuilder to add the descriptionindent
- the number of characters to indentpublic boolean updateAndCheckAnomalyDetection(MultiLabelInstance instance)
AnomalyDetector
updateAndCheckAnomalyDetection
in interface AnomalyDetector
updateAndCheckAnomalyDetection
in class AbstractAnomalyDetector
protected void prepareForUseImpl(TaskMonitor monitor, ObjectRepository repository)
AbstractOptionHandler
prepareForUseImpl
and not prepareForUse
since
prepareForUse
calls prepareForUseImpl
.prepareForUseImpl
in class AbstractOptionHandler
monitor
- the TaskMonitor to userepository
- the ObjectRepository to usepublic double getAnomalyScore()
public java.lang.String getPurposeString()
AbstractOptionHandler
getPurposeString
in interface OptionHandler
getPurposeString
in class AbstractOptionHandler
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.