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

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

public static final class PMMLRegressionPortObject.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
PMMLRegressionPortObject.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

PMMLRegressionPortObject.NumericPredictor

public PMMLRegressionPortObject.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 - 2010. 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.