Uses of Class
org.tribuo.transform.transformations.SimpleTransform
Package
Description
Provides implementations of standard transformations like binning, scaling, taking logs and exponents.
-
Uses of SimpleTransform in org.tribuo.transform.transformations
Modifier and TypeMethodDescriptionstatic SimpleTransform
SimpleTransform.add
(double operand) Generate a SimpleTransform that adds the operand to each value.static SimpleTransform
SimpleTransform.binarise()
Generate a SimpleTransform that sets negative and zero values to zero and positive values to one.static SimpleTransform
SimpleTransform.div
(double operand) Generate a SimpleTransform that divides each value by the operand.static SimpleTransform
SimpleTransform.exp()
Generate a SimpleTransform that appliesMath.exp(double)
.static SimpleTransform
SimpleTransform.log()
Generate a SimpleTransform that appliesMath.log(double)
.static SimpleTransform
SimpleTransform.mul
(double operand) Generate a SimpleTransform that multiplies each value by the operand.static SimpleTransform
SimpleTransform.sub
(double operand) Generate a SimpleTransform that subtracts the operand from each value.static SimpleTransform
SimpleTransform.threshold
(double min, double max) Generate a SimpleTransform that sets values below min to min, and values above max to max.