org.knime.base.node.mine.regression.pmmlgreg
Class PMMLPredictor

java.lang.Object
  extended by org.knime.base.node.mine.regression.pmmlgreg.PMMLPredictor

public final class PMMLPredictor
extends Object

Encapsulates a Predictor in PMML General Regression.

Author:
Heiko Hofer

Constructor Summary
PMMLPredictor(String name)
           
 
Method Summary
 boolean equals(Object obj)
          
 String getName()
           
 int hashCode()
          
 void writePMML(TransformerHandler handler)
          Writes the PMML to the given handler.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PMMLPredictor

public PMMLPredictor(String name)
Parameters:
name - the name of the predictor
Method Detail

getName

public String getName()
Returns:
the name

writePMML

public void writePMML(TransformerHandler handler)
               throws SAXException
Writes the PMML to the given handler.

Parameters:
handler - the transformation handler
Throws:
SAXException - if anything goes wrong while serializing the model

hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)

Overrides:
equals in class Object


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.