Represents a single anomaly detected by AnomalyDetectionModel: the time interval where the actual values diverged from the predicted ones. Carries the observed and expected values at that point plus an anomaly score, and is returned from anomalies() and topAnomalies().


Properties

PropertyReturnsDescription
actualdoubleObserved actual value at this anomaly, taken directly from the input time series.
endDateDateEnd of the anomaly interval, as reported by EGADS' change point detector.
expecteddoubleValue the trained model predicted for this point, against which the actual value is compared.
scoredoubleAnomaly score assigned by EGADS' change point detector.
startDateDateStart of the anomaly interval, as reported by EGADS' change point detector.

Methods

getActual()

Returns: double

Observed actual value at this anomaly, taken directly from the input time series.

getEndDate()

Returns: Date

End of the anomaly interval, as reported by EGADS' change point detector.

getExpected()

Returns: double

Value the trained model predicted for this point, against which the actual value is compared.

getScore()

Returns: double

Anomaly score assigned by EGADS' change point detector.

getStartDate()

Returns: Date

Start of the anomaly interval, as reported by EGADS' change point detector.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.