@@ -23,22 +23,22 @@ class Constrain(ElementwiseTransform):
2323 * : str
2424 String containing the name of the data variable to be transformed e.g. "sigma". See examples below.
2525
26- lower: int or float or np.darray, optional
26+ lower : int or float or np.darray, optional
2727 Lower bound for named data variable.
28- upper: int or float or np.darray, optional
28+ upper : int or float or np.darray, optional
2929 Upper bound for named data variable.
30- method: str, optional
30+ method : str, optional
3131 Method by which to shrink the network predictions space to specified bounds. Choose from
3232 - Double bounded methods: sigmoid, expit, (default = sigmoid)
3333 - Lower bound only methods: softplus, exp, (default = softplus)
3434 - Upper bound only methods: softplus, exp, (default = softplus)
35- inclusive: {'both', 'lower', 'upper', 'none'}, optional
35+ inclusive : {'both', 'lower', 'upper', 'none'}, optional
3636 Indicates which bounds are inclusive (or exclusive).
3737 - "both" (default): Both lower and upper bounds are inclusive.
3838 - "lower": Lower bound is inclusive, upper bound is exclusive.
3939 - "upper": Lower bound is exclusive, upper bound is inclusive.
4040 - "none": Both lower and upper bounds are exclusive.
41- epsilon: float, optional
41+ epsilon : float, optional
4242 Small value to ensure inclusive bounds are not violated.
4343 Current default is 1e-15 as this ensures finite outcomes
4444 with the default transformations applied to data exactly at the boundaries.
0 commit comments