org.knime.base.node.mine.cluster
Class LinearNorm
java.lang.Object
org.knime.base.node.mine.cluster.LinearNorm
public class LinearNorm
- extends Object
- Author:
- Fabian Dill, University of Konstanz
Method Summary |
void |
addInterval(double origValue,
double normValue)
Represents a LinearNorm PMML element. |
String |
getName()
|
double |
unnormalize(double value)
Unnormalizes the given values. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinearNorm
public LinearNorm(String fieldName)
- Parameters:
fieldName
- the name of the field
addInterval
public void addInterval(double origValue,
double normValue)
- Represents a LinearNorm PMML element.
Adds an pair of values: original value and normed value.
- Parameters:
origValue
- the original valuenormValue
- the mapped norm value
getName
public String getName()
- Returns:
- the name of the field
unnormalize
public double unnormalize(double value)
- Unnormalizes the given values.
- Parameters:
value
- normalized which should be "unnormalized"
- Returns:
- unnormalized value
Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display,
or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the
copyright owner or as specified in the license file distributed with this product.