org.knime.base.node.preproc.pmml.normalize
Class NormalizerPMMLNodeModel
java.lang.Object
org.knime.core.node.NodeModel
org.knime.base.node.preproc.normalize.NormalizerNodeModel
org.knime.base.node.preproc.pmml.normalize.NormalizerPMMLNodeModel
public class NormalizerPMMLNodeModel
- extends NormalizerNodeModel
The NormalizeNodeModel uses the Normalizer to normalize the input DataTable.
- Author:
- Nicolas Cebron, University of Konstanz
- See Also:
Normalizer
|
Constructor Summary |
NormalizerPMMLNodeModel()
Creates a new normalizer node model with an optional PMML inport and
a PMML model outport. |
| Methods inherited from class org.knime.base.node.preproc.normalize.NormalizerNodeModel |
calculate, configure, getColumns, getMode, loadInternals, loadValidatedSettingsFrom, reset, saveInternals, saveSettingsTo, setColumns, updateNumericColumnSelection, validateSettings |
| Methods inherited from class org.knime.core.node.NodeModel |
addWarningListener, configure, continueLoop, execute, executeModel, getAvailableFlowVariables, getCredentialsProvider, getInHiLiteHandler, getLoopEndNode, getLoopStartNode, getNrInPorts, getNrOutPorts, getOutgoingFlowObjectStack, getOutHiLiteHandler, getWarningMessage, notifyViews, notifyWarningListeners, onDispose, peekFlowVariableDouble, peekFlowVariableInt, peekFlowVariableString, peekScopeVariableDouble, peekScopeVariableInt, peekScopeVariableString, pushFlowVariableDouble, pushFlowVariableInt, pushFlowVariableString, pushScopeVariableDouble, pushScopeVariableInt, pushScopeVariableString, removeWarningListener, resetAndConfigureLoopBody, setInHiLiteHandler, setWarningMessage, stateChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NormalizerPMMLNodeModel
public NormalizerPMMLNodeModel()
- Creates a new normalizer node model with an optional PMML inport and
a PMML model outport.
prepareConfigure
protected PortObjectSpec[] prepareConfigure(PortObjectSpec[] inSpecs)
throws InvalidSettingsException
- Overrides:
prepareConfigure in class NormalizerNodeModel
- Parameters:
inSpecs - An array of DataTableSpecs (as many as this model has
inputs).
- Returns:
- An array of DataTableSpecs (as many as this model has outputs)
- Throws:
InvalidSettingsException - if the #configure() failed,
that is, the settings are inconsistent with given
DataTableSpec elements.
execute
protected PortObject[] execute(PortObject[] inObjects,
ExecutionContext exec)
throws Exception
- Execute method for general port types. The argument objects represent the
input objects and are guaranteed to be subclasses of the
PortObject classes that are defined through the
PortTypes given in the
constructor.
Similarly, the returned output objects need to comply with their port
types object class (otherwise an error is reported by the framework).
For a general description of the execute method refer to the description
of the specialized
NodeModel.execute(BufferedDataTable[], ExecutionContext) methods as it
addresses more use cases.
- Overrides:
execute in class NormalizerNodeModel
- Parameters:
inObjects - The input objects.exec - For BufferedDataTable creation and progress.
- Returns:
- The output objects.
- Throws:
Exception - If the node execution fails for any reason.
Copyright, 2003 - 2012. 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.