unsortedness
-
emlib.combinatorics.unsortedness(seq)[source]
The entropy of the ordering in this seq.
- Parameters:
seq (Union
[list
, tuple
, ndarray
]) – the seq to evaluate
- Return type:
float
- Returns:
a value between 0 and 1, where 0 means sorted and 1 means random order
Styled using the Piccolo Theme