Code Examples
A repository of 155 code examples for BeepBeep
mining.trenddistance.MaxSymbols Class Reference

Trend distance based on the maximum number of distinct symbols in a stream. More...

Static Public Member Functions

static void main (String[] args)
 

Detailed Description

Trend distance based on the maximum number of distinct symbols in a stream.

In this example, we compute the number of distinct symbols in a sliding window of width 4. That number, minus 3, must be less than or equal to 0. In other words, there cannot be 4 distinct symbols in any window.

The parameters of the TrendDistance processor in this example are as follows:

ParameterValue
Window Width
4
Beta processor
Processor chain
Reference Pattern
3
Distance Function
Distance Function
Comparison Function
≤
Distance Threshold

1

Author
Sylvain Hallé

Definition at line 82 of file MaxSymbols.java.


The documentation for this class was generated from the following file: