public class AnomalinessRatioScore extends AbstractAnomalyDetector
Modifier and Type | Field and Description |
---|---|
double |
anomalyScore |
IntOption |
minNumberInstancesOption |
FloatOption |
percentageAnomalousAttributesOption |
ClassOption |
probabilityFunctionOption |
FloatOption |
univariateAnomalyprobabilityThresholdOption |
config
Constructor and Description |
---|
AnomalinessRatioScore() |
Modifier and Type | Method and Description |
---|---|
double |
getAnomalyScore() |
void |
getDescription(StringBuilder sb,
int indent)
Returns a string representation of this object.
|
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
getCLICreationString, getOptions, getPreparedClassOption, getPurposeString, prepareClassOptions, prepareForUse, prepareForUse
copy, measureByteSize, measureByteSize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCLICreationString, getOptions, getPurposeString, prepareForUse, prepareForUse
measureByteSize
public FloatOption percentageAnomalousAttributesOption
public FloatOption univariateAnomalyprobabilityThresholdOption
public IntOption minNumberInstancesOption
public ClassOption probabilityFunctionOption
public double anomalyScore
public double getAnomalyScore()
public 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 void getDescription(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 indentCopyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.