Module transforms

Expand description

Common transformation functions that can be used with FunctionTransformer

Functionsยง

abs
Absolute value transformation
add_constant
Add a constant
clip
Clip values to a range
exp
Exponential transformation
expm1
Expm1 transformation (exp(x) - 1)
log
Natural logarithm transformation
log1p
Log1p transformation (log(1 + x))
logit
Logit transformation
multiply_constant
Multiply by a constant
reciprocal
Reciprocal transformation
sigmoid
Sigmoid transformation (inverse of logit)
sign
Sign transformation
sqrt
Square root transformation
square
Square transformation