reducer.shannonentropy.1
reducerThe reducer.shannonentropy.1
computes the Shannon entropy of the values it receives from the framework REDUCE
at each tick.
The values are considerred as occurences of an underlying symbol (or as values of a counter).
The returned entropy is normalized by being divided by log(N) where N is the number of values.
If N equals 1, then 1 is returned.
The input values must be of type LONG.