org.knime.base.node.preproc.autobinner.apply
Class AutoBinnerApply

java.lang.Object
  extended by org.knime.base.node.preproc.autobinner.apply.AutoBinnerApply

public final class AutoBinnerApply
extends Object

Use this in other nodes for binning data.

Author:
Heiko Hofer

Constructor Summary
AutoBinnerApply()
           
 
Method Summary
 BufferedDataTable execute(PMMLPreprocDiscretize op, BufferedDataTable inTable, ExecutionContext exec)
          Performs binning.
 DataTableSpec getOutputSpec(PMMLPreprocDiscretize op, DataTableSpec dataSpec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoBinnerApply

public AutoBinnerApply()
Method Detail

getOutputSpec

public DataTableSpec getOutputSpec(PMMLPreprocDiscretize op,
                                   DataTableSpec dataSpec)
                            throws InvalidSettingsException
Parameters:
op - PMMLPreprocDiscretize operation
dataSpec - table with data to discretize
Returns:
The spec of the output.
Throws:
InvalidSettingsException - If settings are inconsistent

execute

public BufferedDataTable execute(PMMLPreprocDiscretize op,
                                 BufferedDataTable inTable,
                                 ExecutionContext exec)
                          throws InvalidSettingsException,
                                 CanceledExecutionException
Performs binning.

Parameters:
op - PMMLPreprocDiscretize operation
inTable - the input data table
exec - the execution context
Returns:
data table with binned data
Throws:
InvalidSettingsException - when settings are inconsistent
CanceledExecutionException - when execution is canceled


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.