compound sigmoids: sigmoid-min
sigmoid-min:
description:
sigmoid-min[t] ket
set the coeff x of the ket to min(t, x)
examples:
sigmoid-min[4] rank split[" "] |one two three four five six>
|one> + 2|two> + 3|three> + 4|four> + 4|five> + 4|six>
-- set the coeffs to random values with mean 0.5, standard deviation 0.7:
-- within range [0,1]:
sigmoid-min[1] sigmoid-max[0] random[0.5, 0.7] split[" "] |one two three four five six>
0.093304|one> + 0.077091|two> + |three> + 0.265837|four> + 0|five> + 0.071054|six>
see also:
sigmoid-max
Home