org.knime.core.node.port.pmml
Interface PMMLTranslator

All Known Implementing Classes:
PMMLClusterTranslator, PMMLDataDictionaryTranslator, PMMLDecisionTreeTranslator, PMMLGeneralRegressionTranslator, PMMLNeuralNetworkTranslator, PMMLRegressionTranslator, PMMLSVMTranslator

public interface PMMLTranslator

Author:
Dominik Morent, KNIME.com, Zurich, Switzerland

Method Summary
 org.apache.xmlbeans.SchemaType exportTo(org.dmg.pmml40.PMMLDocument pmmlDoc, PMMLPortObjectSpec spec)
          Exports the translators state to a PMML document.
 void initializeFrom(org.dmg.pmml40.PMMLDocument pmmlDoc)
          Initializes the translator based on a PMML document.
 

Method Detail

initializeFrom

void initializeFrom(org.dmg.pmml40.PMMLDocument pmmlDoc)
Initializes the translator based on a PMML document.

Parameters:
pmmlDoc - the PMML document

exportTo

org.apache.xmlbeans.SchemaType exportTo(org.dmg.pmml40.PMMLDocument pmmlDoc,
                                        PMMLPortObjectSpec spec)
Exports the translators state to a PMML document.

Parameters:
pmmlDoc - the PMML document to export to
spec - the spec of the PMMLPortObject
Returns:
the schema type of the exported schema if applicable, otherwise null


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.