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

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

public class GeneralRegressionPredictorSettings
extends Object

This class hold the settings for the General Regression Predictor node.

Author:
Heiko Hofer

Field Summary
(package private) static String CFG_INCLUDE_PROBABILITIES
          Key for whether to include probabilities in the output.
(package private) static String CFG_TARGET
          Key for the target column, used for dialog settings.
 
Constructor Summary
GeneralRegressionPredictorSettings()
           
 
Method Summary
 boolean getIncludeProbabilities()
           
 void loadSettings(NodeSettingsRO settings)
          Loads the settings from the node settings object.
 void loadSettingsForDialog(NodeSettingsRO settings)
          Loads the settings from the node settings object using default values if some settings are missing.
 void saveSettings(NodeSettingsWO settings)
          Saves the settings into the node settings object.
 void setIncludeProbabilities(boolean includeProbabilities)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CFG_INCLUDE_PROBABILITIES

static final String CFG_INCLUDE_PROBABILITIES
Key for whether to include probabilities in the output.

See Also:
Constant Field Values

CFG_TARGET

static final String CFG_TARGET
Key for the target column, used for dialog settings.

See Also:
Constant Field Values
Constructor Detail

GeneralRegressionPredictorSettings

public GeneralRegressionPredictorSettings()
Method Detail

getIncludeProbabilities

public boolean getIncludeProbabilities()
Returns:
the includeProbabilities

setIncludeProbabilities

public void setIncludeProbabilities(boolean includeProbabilities)
Parameters:
includeProbabilities - the includeProbabilities to set

loadSettings

public void loadSettings(NodeSettingsRO settings)
                  throws InvalidSettingsException
Loads the settings from the node settings object.

Parameters:
settings - a node settings object
Throws:
InvalidSettingsException - if some settings are missing

loadSettingsForDialog

public void loadSettingsForDialog(NodeSettingsRO settings)
Loads the settings from the node settings object using default values if some settings are missing.

Parameters:
settings - a node settings object

saveSettings

public void saveSettings(NodeSettingsWO settings)
Saves the settings into the node settings object.

Parameters:
settings - a node settings 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.