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