The ValueAnomalyDetection operator finds tuples whose value is not in a user-defined range. The example-query in the codeblock shows, how the operator can be used. The operator analyses the value of the "temp"-Attribute in the incoming data stream. If the value is not between 3.0 and -3.0, the tuple is considered as an anomaly. If you set the option "sendAllAnomalies" to false, the number of anomalies which are send further is reduced. The anomalies are only send further, if one of the following criteria is true:

Parameters

Example

#PARSER PQL
#RUNQUERY
valueAreaAnalysis = VALUEANOMALYDETECTION({
                        maxvalue = 3.0,
                        minvalue = -3.0,
                        sendallanomalies = 'false',
                        attribute = 'temp'
                      },
                      System.manual
                    )