Skip to content

Files

Latest commit

1b5903f · May 2, 2024

History

History
29 lines (24 loc) · 705 Bytes

detectanomalies.adoc

File metadata and controls

29 lines (24 loc) · 705 Bytes

DetectAnomalies()

DetectAnomalies(node, dciId, startTime, endTime, threshold) => <<class-scoreddcivalue>>

Detect anomalies for DCI within given period

Table 1. Parameters

node

<<class-node

Node object

dciId

Integer

DCI id

startTime

Integer

Perios start time

endTime

Integer

End time is optional (default is current time)

threshold

Number

Threshold is optional (default is 0.75)

Return

Returns null on error and [class-scoreddcivalue] on success

Example
scoredValue = DetectAnomalies($node, 312119, 1714653725, GetCurrentTime(), 0.50); //array with scored values