public abstract class AbstractNormalizerPMMLNodeModel extends Normalizer2NodeModel
NormalizerNormalizer2NodeModel.CalculationResultCOLUMNS_KEY, DECIMALSCALING_MODE, MINMAX_MODE, MODE_KEY, NEWMAX_KEY, NEWMIN_KEY, NONORM_MODE, ZSCORE_MODE| Constructor and Description |
|---|
AbstractNormalizerPMMLNodeModel() |
AbstractNormalizerPMMLNodeModel(PortType modelPortType) |
AbstractNormalizerPMMLNodeModel(PortType inModelPortType,
PortType outModelPortType) |
| Modifier and Type | Method and Description |
|---|---|
protected PortObject[] |
execute(PortObject[] inObjects,
ExecutionContext exec)
Execute method for general port types.
|
protected PortObjectSpec[] |
prepareConfigure(PortObjectSpec[] inSpecs) |
calculate, configure, getColumns, getMode, loadInternals, loadValidatedSettingsFrom, reset, saveInternals, saveSettingsTo, setColumns, updateNumericColumnSelection, validateSettingsaddWarningListener, computeFinalOutputSpecs, configure, continueLoop, createInitialStreamableOperatorInternals, createMergeOperator, createStreamableOperator, execute, finishStreamableExecution, getAvailableFlowVariables, getAvailableInputFlowVariables, getCredentialsProvider, getInHiLiteHandler, getInPortType, getInputPortRoles, getInteractiveNodeView, getLogger, getLoopEndNode, getLoopStartNode, getNrInPorts, getNrOutPorts, getOutHiLiteHandler, getOutPortType, getOutputPortRoles, getWarningMessage, iterate, notifyViews, notifyWarningListeners, onDispose, peekFlowVariableDouble, peekFlowVariableInt, peekFlowVariableString, pushFlowVariableDouble, pushFlowVariableInt, pushFlowVariableString, removeWarningListener, resetAndConfigureLoopBody, setInHiLiteHandler, setWarningMessage, stateChangedpublic AbstractNormalizerPMMLNodeModel(PortType modelPortType)
modelPortType - the type of the optional model input portpublic AbstractNormalizerPMMLNodeModel(PortType inModelPortType, PortType outModelPortType)
modelPortType - the type of the optional model input portpublic AbstractNormalizerPMMLNodeModel()
protected PortObjectSpec[] prepareConfigure(PortObjectSpec[] inSpecs) throws InvalidSettingsException
prepareConfigure in class Normalizer2NodeModelinSpecs - An array of DataTableSpecs (as many as this model has
inputs).InvalidSettingsException - if the #configure() failed,
that is, the settings are inconsistent with given
DataTableSpec elements.protected PortObject[] execute(PortObject[] inObjects, ExecutionContext exec) throws Exception
inObjects represent the input objects and the
returned array represents the output objects. The elements in the argument array are generally guaranteed to be
not null and 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) and must not be null. There are few exceptions to these rules:
InactiveBranchConsumer may find instances of InactiveBranchPortObject in
case the corresponding input is inactive.InactiveBranchPortObject elements in case the output should be
inactivated.corresponding flags.
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.
execute in class Normalizer2NodeModelinObjects - The input objects.exec - For BufferedDataTable creation and progress.Exception - If the node execution fails for any reason.
KNIME GmbH, Konstanz, Germany
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.