tracts.util.rate_to_physical_function#
- rate_to_physical_function(x)#
Convert a rate parameter from optimizer space to physical space. This transformation maps unconstrained real values to the interval
(0, 1)using the logistic sigmoid function.- Parameters:
x (float | numpy.ndarray) – Rate parameter in optimizer space.
- Returns:
Rate parameter in physical space.
- Return type:
float | numpy.ndarray