org.knime.base.node.preproc.autobinner.pmml
Class PMMLPreprocDiscretize

java.lang.Object
  extended by org.knime.core.node.port.pmml.preproc.PMMLPreprocOperation
      extended by org.knime.base.node.preproc.autobinner.pmml.PMMLPreprocDiscretize

public final class PMMLPreprocDiscretize
extends PMMLPreprocOperation

Author:
Heiko Hofer

Nested Class Summary
(package private) static class PMMLPreprocDiscretize.PMMLPreprocDiscretizeContentHandler
           
 
Nested classes/interfaces inherited from class org.knime.core.node.port.pmml.preproc.PMMLPreprocOperation
PMMLPreprocOperation.PMMLTransformElement
 
Field Summary
 
Fields inherited from class org.knime.core.node.port.pmml.preproc.PMMLPreprocOperation
CDATA, DATA_DICT, DATATYPE, DERIVED_FIELD, EXTENSION, FIELD, LINEAR_NORM, LOCAL_TRANS, NAME, NORM, OP_TYPE_CONTINOUS, OPTYPE, ORIG, VALUE
 
Constructor Summary
PMMLPreprocDiscretize()
          Used in load method.
PMMLPreprocDiscretize(DisretizeConfiguration config)
           
 
Method Summary
 List<String> getColumnNames()
          
 DisretizeConfiguration getConfiguration()
           
 PMMLContentHandler getHandlerForLoad()
          This method will probably be remove soon when the PMMLPreprocPortObject is gone.
 String getName()
          
 String getSummary()
          
 PMMLPreprocOperation.PMMLTransformElement getTransformElement()
          
 void parse(Element transformElement)
          Parses the passed PMMLTransformElement to retrieve the contained PMMLPreprocOperations.
 void save(TransformerHandler handler, ExecutionMonitor executionMonitor)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PMMLPreprocDiscretize

public PMMLPreprocDiscretize()
Used in load method.


PMMLPreprocDiscretize

public PMMLPreprocDiscretize(DisretizeConfiguration config)
Parameters:
config - The discretize configuration.
Method Detail

getConfiguration

public DisretizeConfiguration getConfiguration()
Returns:
the configuration

getHandlerForLoad

public PMMLContentHandler getHandlerForLoad()
This method will probably be remove soon when the PMMLPreprocPortObject is gone.

Specified by:
getHandlerForLoad in class PMMLPreprocOperation
Returns:
The PMMLContentHandler for loading the operation

getName

public String getName()

Specified by:
getName in class PMMLPreprocOperation
Returns:
the name of this operation

getSummary

public String getSummary()

Specified by:
getSummary in class PMMLPreprocOperation
Returns:
the summary of this operation

getTransformElement

public PMMLPreprocOperation.PMMLTransformElement getTransformElement()

Specified by:
getTransformElement in class PMMLPreprocOperation
Returns:
The PMML Element this operation should be written into.

save

public void save(TransformerHandler handler,
                 ExecutionMonitor executionMonitor)
          throws SAXException

Specified by:
save in class PMMLPreprocOperation
Throws:
SAXException

getColumnNames

public List<String> getColumnNames()

Specified by:
getColumnNames in class PMMLPreprocOperation
Returns:
a list with the names of the columns to be preprocessed

parse

public void parse(Element transformElement)
Parses the passed PMMLTransformElement to retrieve the contained PMMLPreprocOperations. Elements that can be interpreted are "consumed" (removed from the transformation element.

Specified by:
parse in class PMMLPreprocOperation
Parameters:
transformElement - an xml element containing a PMMLPreprocOperation.PMMLTransformElement to be parsed.


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.