Transform probability [Obj,Integer]¶
Description¶
Transforms probabilities of all pairs in SOURCE
.
Input¶
SOURCE [OBJ,INTEGER]
: a list of objects
Output¶
RESULT [OBJ,INTEGER]
: a list of objects with transformed probabilities
Parameters¶
Transformation
: how to transform the probabilityp
(which is in the range]0,1]
) of each item in inputCOMPLEMENT
:p = 1 - p
INVERSE
:p = 1 / p
CONSTANT
(Value
):p = Value
PRIOR
(Value
):p = Value * p
RANDOM
:p =
a random number in the range]0,1]
RANKING
: keeps the same ranking as in input, but distributes the probabilities more regularly.