You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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:

  • The last tuple wasn't an anomaly, but the current tuple is an anomaly
  • The value of the last tuple was too low, but the value of the current tuple is too high
  • The value of the last tuple was too high, but the value of the current tuple is too low
  • The distance from the normal value-area to the value of the current tuple raised in comparison to the last (also anomal) tuple at least by the value-area of the normal area (6 in the example).

 

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