|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.base.data.normalize.AffineTransConfiguration
public final class AffineTransConfiguration
Configuration object for a AffineTransTable
.
Constructor Summary | |
---|---|
AffineTransConfiguration()
Default, no normalization on columns. |
|
AffineTransConfiguration(String[] names,
double[] scales,
double[] translations,
double[] min,
double[] max,
String summary)
|
Method Summary | |
---|---|
double[] |
getMax()
|
double[] |
getMin()
|
String[] |
getNames()
|
double[] |
getScales()
|
String |
getSummary()
|
double[] |
getTranslations()
|
static AffineTransConfiguration |
load(ModelContentRO settings)
Restores content. |
protected void |
save(ModelContentWO model)
Saves this object to the argument model content. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AffineTransConfiguration()
public AffineTransConfiguration(String[] names, double[] scales, double[] translations, double[] min, double[] max, String summary)
names
- The names of the columns being normalizedscales
- the scale parameters (same order as names
)translations
- the translation parametersmin
- the minimum values (for sanity checks). If the normalized
value is slightly off the desired minimum value because of
rounding errors, it is set to this bounding value. Can be
Double.NaN
, then no checks are performed.max
- the maximum values (for sanity checks). If the normalized
value is slightly off the desired maximum value because of
rounding errors, it is set to this bounding value. Can be
Double.NaN
, then no checks are performed.summary
- Port summary
NullPointerException
- if any argument is null
IllegalArgumentException
- if the arrays don't have the same
length or the scales or translations arguments contain NaN.Method Detail |
---|
public String[] getNames()
public double[] getScales()
public double[] getTranslations()
public double[] getMin()
public double[] getMax()
public String getSummary()
protected void save(ModelContentWO model)
model
- To write to.public static AffineTransConfiguration load(ModelContentRO settings) throws InvalidSettingsException
settings
- To load from.
InvalidSettingsException
- If that fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |