public class PMMLGeneralRegressionTranslator extends Object implements PMMLTranslator
Constructor and Description |
---|
PMMLGeneralRegressionTranslator()
Creates a new PMML content translator for general regression models.
|
PMMLGeneralRegressionTranslator(PMMLGeneralRegressionContent content)
Creates a new PMML content translator for general regression models.
|
Modifier and Type | Method and Description |
---|---|
org.apache.xmlbeans.SchemaType |
exportTo(org.dmg.pmml.PMMLDocument pmmlDoc,
PMMLPortObjectSpec spec)
Exports the translators state to a PMML document.
|
PMMLGeneralRegressionContent |
getContent() |
void |
initializeFrom(org.dmg.pmml.PMMLDocument pmmlDoc)
Initializes the translator based on a PMML document.
|
public PMMLGeneralRegressionTranslator()
initializeFrom(PMMLDocument)
method.public PMMLGeneralRegressionTranslator(PMMLGeneralRegressionContent content)
exportTo(PMMLDocument, PMMLPortObjectSpec)
method.content
- the regression content for the modelpublic void initializeFrom(org.dmg.pmml.PMMLDocument pmmlDoc)
initializeFrom
in interface PMMLTranslator
pmmlDoc
- the PMML documentpublic org.apache.xmlbeans.SchemaType exportTo(org.dmg.pmml.PMMLDocument pmmlDoc, PMMLPortObjectSpec spec)
exportTo
in interface PMMLTranslator
pmmlDoc
- the PMML document to export tospec
- the spec of the PMMLPortObjectpublic PMMLGeneralRegressionContent getContent()
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.