defaultMapFunction

public final Double defaultMapFunction(Double x, Double l1, Double l2)

Default smooth map function using tanh.

Parameters

x

input in the range [0, 1].

l1

weight towards 0. (l1 0)

l2

weight towards 1. (l2 0)