|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.base.node.mine.decisiontree2.PMMLDecisionTreeTranslator
public class PMMLDecisionTreeTranslator
A DecisionTree translator class between KNIME and PMML.
| Constructor Summary | |
|---|---|
PMMLDecisionTreeTranslator()
For usage with the initializeFrom(PMMLDocument) method. |
|
PMMLDecisionTreeTranslator(DecisionTree tree)
Creates a new decision tree translator initialized with the decision tree. |
|
| Method Summary | |
|---|---|
org.apache.xmlbeans.SchemaType |
exportTo(org.dmg.pmml40.PMMLDocument pmmlDoc,
PMMLPortObjectSpec spec)
Exports the translators state to a PMML document. |
DecisionTree |
getDecisionTree()
|
void |
initializeFrom(org.dmg.pmml40.PMMLDocument pmmlDoc)
Initializes the translator based on a PMML document. |
DecisionTree |
parseDecTreeFromModel(org.dmg.pmml40.TreeModelDocument.TreeModel treeModel)
Builds a decision tree object out of the TreeModel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PMMLDecisionTreeTranslator(DecisionTree tree)
exportTo(PMMLDocument, PMMLPortObjectSpec) method.
tree - the KNIME decision treepublic PMMLDecisionTreeTranslator()
initializeFrom(PMMLDocument) method.
| Method Detail |
|---|
public org.apache.xmlbeans.SchemaType exportTo(org.dmg.pmml40.PMMLDocument pmmlDoc,
PMMLPortObjectSpec spec)
exportTo in interface PMMLTranslatorpmmlDoc - the PMML document to export tospec - the spec of the PMMLPortObject
public void initializeFrom(org.dmg.pmml40.PMMLDocument pmmlDoc)
initializeFrom in interface PMMLTranslatorpmmlDoc - the PMML documentpublic DecisionTree parseDecTreeFromModel(org.dmg.pmml40.TreeModelDocument.TreeModel treeModel)
treeModel - treeModel parsed from the PMML.
public DecisionTree getDecisionTree()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||