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

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

final class ParamMatrix
extends Object

Convenient class to access the contents of PMMLPCells.

Author:
Heiko Hofer

Constructor Summary
ParamMatrix(PMMLPCell... cells)
          Creates an instance which is a decorate for the given cells.
 
Method Summary
 double getBeta(String parameterName, String targetCategory)
          Gives the coefficient for the given parameter and the given category of the target.
 Integer getDegreesOfFreedom(String parameterName, String targetCategory)
          Gives the degrees of freedom for the given parameter and the given category of the target.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParamMatrix

ParamMatrix(PMMLPCell... cells)
Creates an instance which is a decorate for the given cells.

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

getBeta

public double getBeta(String parameterName,
                      String targetCategory)
Gives the coefficient for the given parameter and the given category of the target.

Parameters:
parameterName - the parameter
targetCategory - the category of the target
Returns:
the coefficient

getDegreesOfFreedom

public Integer getDegreesOfFreedom(String parameterName,
                                   String targetCategory)
Gives the degrees of freedom for the given parameter and the given category of the target.

Parameters:
parameterName - the parameter
targetCategory - the category of the target
Returns:
the degrees of freedom


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.