|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.base.node.mine.neural.mlp.PMMLNeuralNetworkTranslator
public class PMMLNeuralNetworkTranslator
A NeuralNetwork translator class between KNIME and PMML.
| Constructor Summary | |
|---|---|
PMMLNeuralNetworkTranslator()
Creates a new neural network translator. |
|
PMMLNeuralNetworkTranslator(MultiLayerPerceptron mlp)
Creates an initialized neural network handler that can be used to output the neural network model. |
|
| Method Summary | |
|---|---|
protected void |
addInputLayer(org.dmg.pmml40.NeuralNetworkDocument.NeuralNetwork nnModel,
MultiLayerPerceptron mlp)
Writes the PMML input layer of the MLP. |
protected void |
addLayer(org.dmg.pmml40.NeuralNetworkDocument.NeuralNetwork nnModel,
MultiLayerPerceptron mlp,
int layer)
Writes a layer of the MLP. |
protected void |
addOutputLayer(org.dmg.pmml40.NeuralNetworkDocument.NeuralNetwork nnModel,
MultiLayerPerceptron mlp,
PMMLPortObjectSpec spec)
Writes the PMML output layer of the MLP. |
org.apache.xmlbeans.SchemaType |
exportTo(org.dmg.pmml40.PMMLDocument pmmlDoc,
PMMLPortObjectSpec spec)
Exports the translators state to a PMML document. |
MultiLayerPerceptron |
getMLP()
|
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 PMMLNeuralNetworkTranslator(MultiLayerPerceptron mlp)
mlp - the neural networkpublic PMMLNeuralNetworkTranslator()
| 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
protected void addInputLayer(org.dmg.pmml40.NeuralNetworkDocument.NeuralNetwork nnModel,
MultiLayerPerceptron mlp)
nnModel - the Neural Network model.mlp - the underlying MultiLayerPerceptron.
protected void addLayer(org.dmg.pmml40.NeuralNetworkDocument.NeuralNetwork nnModel,
MultiLayerPerceptron mlp,
int layer)
nnModel - the NeuralNetwork model.mlp - the underlying MultiLayerPerceptron.layer - the number of the current layer.
protected void addOutputLayer(org.dmg.pmml40.NeuralNetworkDocument.NeuralNetwork nnModel,
MultiLayerPerceptron mlp,
PMMLPortObjectSpec spec)
nnModel - the neural network model.mlp - the underlying MultiLayerPerceptron.spec - the port object specpublic MultiLayerPerceptron getMLP()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||