Class AnomalinessRatioScore

  • All Implemented Interfaces:
    Configurable, Serializable, AnomalyDetector, MOAObject, OptionHandler

    public class AnomalinessRatioScore
    extends AbstractAnomalyDetector
    Score for anomaly detection percentageAnomalousAttributesOption - Percentage of anomalous attributes. univariateAnomalyprobabilityThresholdOption - Univariate anomaly threshold value minNumberInstancesOption - The minimum number of instances required to perform anomaly detection probabilityFunctionOption - Probability function selection
    See Also:
    Serialized Form
    • Field Detail

      • percentageAnomalousAttributesOption

        public FloatOption percentageAnomalousAttributesOption
      • univariateAnomalyprobabilityThresholdOption

        public FloatOption univariateAnomalyprobabilityThresholdOption
      • minNumberInstancesOption

        public IntOption minNumberInstancesOption
      • probabilityFunctionOption

        public ClassOption probabilityFunctionOption
      • anomalyScore

        public double anomalyScore
    • Constructor Detail

      • AnomalinessRatioScore

        public AnomalinessRatioScore()
    • Method Detail

      • getAnomalyScore

        public double getAnomalyScore()
      • prepareForUseImpl

        protected void prepareForUseImpl​(TaskMonitor monitor,
                                         ObjectRepository repository)
        Description copied from class: AbstractOptionHandler
        This method describes the implementation of how to prepare this object for use. All classes that extends this class have to implement prepareForUseImpl and not prepareForUse since prepareForUse calls prepareForUseImpl.
        Specified by:
        prepareForUseImpl in class AbstractOptionHandler
        Parameters:
        monitor - the TaskMonitor to use
        repository - the ObjectRepository to use
      • getDescription

        public void getDescription​(StringBuilder sb,
                                   int indent)
        Description copied from interface: MOAObject
        Returns a string representation of this object. Used in AbstractMOAObject.toString to give a string representation of the object.
        Parameters:
        sb - the stringbuilder to add the description
        indent - the number of characters to indent