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

Trend distance based on the average of values in a stream. More...

Static Public Member Functions

static void main (String[] args)
 

Detailed Description

Trend distance based on the average of values in a stream.

This example is similar to AverageValueAbsolute. However, the distance function computes the ratio (instead of the difference) between the reference average and the observed average.

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

ParameterValue
Window Width
3
Beta processor
Processor chain
Reference Pattern
6
Distance Function
Distance Function
Comparison Function
≤
Distance Threshold
½
Author
Sylvain Hallé

Definition at line 76 of file AverageValueRelative.java.


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