org.knime.base.node.mine.regression.pmmlgreg
Class PMMLPCell
java.lang.Object
org.knime.base.node.mine.regression.pmmlgreg.PMMLPCell
public final class PMMLPCell
- extends Object
Encapsulates a PCell in PMML General Regression.
- Author:
- Heiko Hofer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PMMLPCell
public PMMLPCell(String parameterName,
double beta)
- Parameters:
parameterName - the name of the parameterbeta - parameter value
PMMLPCell
public PMMLPCell(String parameterName,
double beta,
String targetCategory)
- Parameters:
parameterName - the name of the parameterbeta - parameter valuetargetCategory - the optional target category
PMMLPCell
public PMMLPCell(String parameterName,
double beta,
int df)
- Parameters:
parameterName - the name of the parameterbeta - parameter valuedf - degrees of freedom
PMMLPCell
public PMMLPCell(String parameterName,
double beta,
int df,
String targetCategory)
- Parameters:
parameterName - the name of the parameterbeta - parameter valuedf - degrees of freedomtargetCategory - the optional target category
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.