|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.base.node.mine.regression.PMMLRegressionTranslator
public class PMMLRegressionTranslator
A regression model translator class between KNIME and PMML.
| Nested Class Summary | |
|---|---|
static class |
PMMLRegressionTranslator.NumericPredictor
This class represents a single numeric predictor with its name (usually the column name it is responsible for), the exponent and the coefficient. |
static class |
PMMLRegressionTranslator.RegressionTable
This table wraps a polynomial regression formula for use inside a PMML model. |
| Constructor Summary | |
|---|---|
PMMLRegressionTranslator()
For usage with the initializeFrom(PMMLDocument) method. |
|
PMMLRegressionTranslator(String modelName,
String algorithmName,
PMMLRegressionTranslator.RegressionTable regressionTable,
String targetField)
For usage with the exportTo(PMMLDocument, PMMLPortObjectSpec)
method. |
|
| Method Summary | |
|---|---|
org.apache.xmlbeans.SchemaType |
exportTo(org.dmg.pmml40.PMMLDocument pmmlDoc,
PMMLPortObjectSpec spec)
Exports the translators state to a PMML document. |
String |
getAlgorithmName()
|
String |
getModelName()
|
PMMLRegressionTranslator.RegressionTable |
getRegressionTable()
|
void |
initializeFrom(org.dmg.pmml40.PMMLDocument pmmlDoc)
Initializes the translator based on a PMML document. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PMMLRegressionTranslator()
initializeFrom(PMMLDocument) method.
public PMMLRegressionTranslator(String modelName,
String algorithmName,
PMMLRegressionTranslator.RegressionTable regressionTable,
String targetField)
exportTo(PMMLDocument, PMMLPortObjectSpec)
method.
modelName - the name of the modelalgorithmName - the name of the algorithmregressionTable - the regression tabletargetField - the name of the target column| Method Detail |
|---|
public void initializeFrom(org.dmg.pmml40.PMMLDocument pmmlDoc)
initializeFrom in interface PMMLTranslatorpmmlDoc - the PMML document
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 String getModelName()
public String getAlgorithmName()
public PMMLRegressionTranslator.RegressionTable getRegressionTable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||