Generate Session ID
Synopsis
This operator creates a new attribute with a consecutive id identifying a session.
Description
A session is defined as a series of dates with less than max gap time units between them. The max gap threshold and its unit can be configured. A possible subsequent operator is Group Into Collection to process each session separately.
Input
exa
The input ExampleSet
Output
out
The resulting ExampleSet with the new Session id.
ori
The original ExampleSet.
Parameters
Date attribute
The name of the attribute which contains the date to be used.
Gap threshold
The maximum difference between two dates that will still belong to the same session.
Gap unit
Unit of the gap threshold. If "none" is selected, this operator can also be applied on numerical attributes. The threshold is specified without sign (i.e. as an absolute value).
Use absolutes
If activated the absolute difference between two examples is used.