public final class LinearScalingTransformation extends Object implements Transformation
Values outside the observed range are clamped to the desired min or max.
Modifier and Type | Class and Description |
---|---|
static class |
LinearScalingTransformation.LinearScalingTransformationProvenance
Provenance for
LinearScalingTransformation . |
Constructor and Description |
---|
LinearScalingTransformation()
Defaults to zero - one.
|
LinearScalingTransformation(double targetMin,
double targetMax) |
Modifier and Type | Method and Description |
---|---|
TransformStatistics |
createStats()
Creates the statistics object for this Transformation.
|
TransformationProvenance |
getProvenance() |
void |
postConfig()
Used by the OLCUT configuration system, and should not be called by external code.
|
String |
toString() |
public LinearScalingTransformation()
public LinearScalingTransformation(double targetMin, double targetMax)
public void postConfig()
postConfig
in interface com.oracle.labs.mlrg.olcut.config.Configurable
public TransformStatistics createStats()
Transformation
createStats
in interface Transformation
public TransformationProvenance getProvenance()
getProvenance
in interface com.oracle.labs.mlrg.olcut.provenance.Provenancable<TransformationProvenance>
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.