rnel.ranking
¶
Total-order ranking cascades (Smarandache 2017, Critical Review XIV, [4] and [5]).
tinf_key(x)
¶
(T, I, N, F): score, accuracy, extended certainty, certainty (larger is better).
Source code in src/rnel/ranking.py
7 8 9 10 | |
mu_key(x)
¶
(T, I, N, U1..Un, F): s, a, ec(n), ..., ec(0), c, as restated in Definition 3.3.
The score constant n + 2 is inferred from the n = 0 case (2 + T + N - I - F)/4; confirm against [5].
Source code in src/rnel/ranking.py
13 14 15 16 17 18 19 20 21 22 23 24 | |
rank(tuples, key=tinf_key)
¶
Indices of the tuples from best to worst (lexicographic cascade).
Source code in src/rnel/ranking.py
27 28 29 | |