Package | Description |
---|---|
org.tribuo.transform.transformations |
Provides implementations of standard transformations like binning, scaling, taking logs and exponents.
|
Modifier and Type | Method and Description |
---|---|
static 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 applies
Math.exp(double) . |
static SimpleTransform |
SimpleTransform.log()
Generate a SimpleTransform that applies
Math.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.
|
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.