Enum Class SimpleTransform.Operation
java.lang.Object
java.lang.Enum<SimpleTransform.Operation>
org.tribuo.transform.transformations.SimpleTransform.Operation
- All Implemented Interfaces:
Serializable
,Comparable<SimpleTransform.Operation>
,Constable
- Enclosing class:
- SimpleTransform
Operations understood by this Transformation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAdds the specified constant.Binarises the output around 1.0.Divides by the specified constant.Exponentiates the inputsLogs the inputs (base_e)Multiplies by the specified constant.Subtracts the specified constant.Min and max thresholds applied to the input. -
Method Summary
Modifier and TypeMethodDescriptionstatic SimpleTransform.Operation
Returns the enum constant of this class with the specified name.static SimpleTransform.Operation[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
exp
Exponentiates the inputs -
log
Logs the inputs (base_e) -
add
Adds the specified constant. -
sub
Subtracts the specified constant. -
mul
Multiplies by the specified constant. -
div
Divides by the specified constant. -
binarise
Binarises the output around 1.0. -
threshold
Min and max thresholds applied to the input.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-