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

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

public final class PMMLParameter
extends Object

Encapsulates a Parameter in PMML GenearlRegression.

Author:
Heiko Hofer

Constructor Summary
PMMLParameter(String name)
           
PMMLParameter(String name, String label)
           
 
Method Summary
 String getLabel()
           
 String getName()
           
(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

PMMLParameter

public PMMLParameter(String name)
Parameters:
name - name of the parameter

PMMLParameter

public PMMLParameter(String name,
                     String label)
Parameters:
name - name of the parameter
label - the label
Method Detail

getName

public String getName()
Returns:
the name

getLabel

public String getLabel()
Returns:
the label

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.