org.knime.base.node.mine.regression
Class PMMLRegressionTranslator.NumericPredictor

java.lang.Object
  extended by org.knime.base.node.mine.regression.PMMLRegressionTranslator.NumericPredictor
Enclosing class:
PMMLRegressionTranslator

public static final class PMMLRegressionTranslator.NumericPredictor
extends Object

This class represents a single numeric predictor with its name (usually the column name it is responsible for), the exponent and the coefficient.

Author:
Bernd Wiswedel, University of Konstanz

Constructor Summary
PMMLRegressionTranslator.NumericPredictor(String name, int exponent, double coefficient)
          Creates a new numeric predictor.
 
Method Summary
 double getCoefficient()
           
 int getExponent()
           
 String getName()
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PMMLRegressionTranslator.NumericPredictor

public PMMLRegressionTranslator.NumericPredictor(String name,
                                                 int exponent,
                                                 double coefficient)
Creates a new numeric predictor.

Parameters:
name - the predictor's name (usually the column name)
exponent - the exponent
coefficient - the coefficient
Method Detail

getName

public String getName()
Returns:
the name

getExponent

public int getExponent()
Returns:
the exponent

getCoefficient

public double getCoefficient()
Returns:
the value

toString

public String toString()

Overrides:
toString 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.