org.knime.base.node.mine.regression.logistic.predict
Class PPMatrix

java.lang.Object
  extended by org.knime.base.node.mine.regression.logistic.predict.PPMatrix

public class PPMatrix
extends Object

A convenient class to access the data of PMMLPPCells.

Author:
Heiko Hofer

Constructor Summary
PPMatrix(PMMLPPCell... cells)
          Creates an instance which is a decorate for the given cells.
 
Method Summary
 String getPredictor(String parameterName)
           
 String getValue(String parameterName, String predictorName, String targetCategory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PPMatrix

public PPMatrix(PMMLPPCell... cells)
Creates an instance which is a decorate for the given cells.

Parameters:
cells - the cells that are decorated by this instance
Method Detail

getValue

public String getValue(String parameterName,
                       String predictorName,
                       String targetCategory)
Parameters:
parameterName - The name of the parameter as defined in the element ParameterList
predictorName - The name of the predictor as defined in the element MiningSchema
targetCategory - the category of the target or null if not present
Returns:
The value of the parameter to predictor matrix

getPredictor

public String getPredictor(String parameterName)
Parameters:
parameterName - The name of the parameter as defined in the element ParameterList
Returns:
the predictor name for the given parameter


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.