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

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

public final class PMMLPCovCell
extends Object

Encapsulates a PCovCell in PMML General Regression.

Author:
Heiko Hofer

Constructor Summary
PMMLPCovCell(String pRow, String pCol, double value)
           
PMMLPCovCell(String pRow, String pCol, double value, String targetCategory)
           
PMMLPCovCell(String pRow, String pCol, String tRow, String tCol, double value)
           
PMMLPCovCell(String pRow, String pCol, String tRow, String tCol, double value, String targetCategory)
           
 
Method Summary
 String getPCol()
           
 String getPRow()
           
 String getTargetCategory()
           
 String getTCol()
           
 String getTRow()
           
 double getValue()
           
(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

PMMLPCovCell

public PMMLPCovCell(String pRow,
                    String pCol,
                    double value)
Parameters:
pRow - row for parameter name
pCol - column for parameter name
value - the value

PMMLPCovCell

public PMMLPCovCell(String pRow,
                    String pCol,
                    double value,
                    String targetCategory)
Parameters:
pRow - row for parameter name
pCol - column for parameter name
value - the value
targetCategory - the optional target category

PMMLPCovCell

public PMMLPCovCell(String pRow,
                    String pCol,
                    String tRow,
                    String tCol,
                    double value)
Parameters:
pRow - row for parameter name
pCol - column for parameter name
tRow - row for target name
tCol - column for target name
value - the value

PMMLPCovCell

public PMMLPCovCell(String pRow,
                    String pCol,
                    String tRow,
                    String tCol,
                    double value,
                    String targetCategory)
Parameters:
pRow - row for parameter name
pCol - column for parameter name
tRow - row for target name
tCol - column for target name
value - the value
targetCategory - the optional target category
Method Detail

getPRow

public String getPRow()
Returns:
the pRow

getPCol

public String getPCol()
Returns:
the pCol

getTRow

public String getTRow()
Returns:
the tRow

getTCol

public String getTCol()
Returns:
the tCol

getValue

public double getValue()
Returns:
the value

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.