Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The operator builds a tree from the incoming tuples and counts for each node, how often it was used. With this information, it can calculate the probability for each node in comparison to its siblings and therefore for each path in the tree. If the probability is below the value given by the user, the current tuple is marked as anomaly and will be reported.

Parameters

...

  • treeDepth The maximum depth of the tree. Default is 2.
  • minRelativeFrequencyPath The minimal relative frequency of that path. The default is 0.3 (which means 30%).
  • minRelativeFrequencyNode The minimal relative frequency of all single nodes of the path. The default is 0.3 (which means 30%)
  • firstTupleIsRoot If true, tuples which are equal to the first tuple are always the root. It could be good to set the maxdepth higher than the expected number of states between two occurences of the root state.
  • uniqueBackupId A unique ID for this operator to save and read backup data.

Example

Code Block
linenumberstrue
stateAnalysis = RARESEQUENCE({
                    treedepth = 100,
                    minrelativefrequencyPath = 0.1,
					minrelativefrequencyNode = 0.3,
					firsttupleisroot = 'true'
                  },
                  state
                )

...