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

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

public final class PMMLPCell
extends Object

Encapsulates a PCell in PMML General Regression.

Author:
Heiko Hofer

Constructor Summary
PMMLPCell(String parameterName, double beta)
           
PMMLPCell(String parameterName, double beta, int df)
           
PMMLPCell(String parameterName, double beta, int df, String targetCategory)
           
PMMLPCell(String parameterName, double beta, String targetCategory)
           
 
Method Summary
 double getBeta()
           
 Integer getDf()
           
 String getParameterName()
           
 String getTargetCategory()
           
(package private)  void writePMML(TransformerHandler handler)
          Writes the PMML to the given handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PMMLPCell

public PMMLPCell(String parameterName,
                 double beta)
Parameters:
parameterName - the name of the parameter
beta - parameter value

PMMLPCell

public PMMLPCell(String parameterName,
                 double beta,
                 String targetCategory)
Parameters:
parameterName - the name of the parameter
beta - parameter value
targetCategory - the optional target category

PMMLPCell

public PMMLPCell(String parameterName,
                 double beta,
                 int df)
Parameters:
parameterName - the name of the parameter
beta - parameter value
df - degrees of freedom

PMMLPCell

public PMMLPCell(String parameterName,
                 double beta,
                 int df,
                 String targetCategory)
Parameters:
parameterName - the name of the parameter
beta - parameter value
df - degrees of freedom
targetCategory - the optional target category
Method Detail

getParameterName

public String getParameterName()
Returns:
the parameterName

getBeta

public double getBeta()
Returns:
the beta

getDf

public Integer getDf()
Returns:
the df

getTargetCategory

public String getTargetCategory()
Returns:
the targetCategory

writePMML

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


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.