org.knime.base.node.mine.regression.logistic.learner
Class LogRegLearnerSettings

java.lang.Object
  extended by org.knime.base.node.mine.regression.logistic.learner.LogRegLearnerSettings

public class LogRegLearnerSettings
extends Object

This class hold the settings for the Logistic Learner Node.

Author:
Heiko Hofer

Field Summary
(package private) static String CFG_TARGET
          Key for the target column, used for dialog settings.
(package private) static String CFG_VARIATES
          Key for the included columns, used for dialog settings.
(package private) static String CFG_VARIATES_USE_ALL
          Key for whether to include all appropriate columns by default.
 
Constructor Summary
LogRegLearnerSettings()
           
 
Method Summary
 boolean getIncludeAll()
          Returns true, if all input columns except of the target should be used as independent variables.
 String[] getIncludedColumns()
          The included columns which are the independent variables.
 String getTargetColumn()
          The target column which is the dependent variable.
 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 setIncludeAll(boolean includeAll)
          Pass true, when all input columns except of the target should be used as independent variables.
 void setIncludedColumns(String[] includedColumns)
          Set the included columns which are the independent variables.
 void setTargetColumn(String targetColumn)
          Set the target column which is the dependent variable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CFG_VARIATES

static final String CFG_VARIATES
Key for the included columns, used for dialog settings.

See Also:
Constant Field Values

CFG_VARIATES_USE_ALL

static final String CFG_VARIATES_USE_ALL
Key for whether to include all appropriate columns by default.

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

LogRegLearnerSettings

public LogRegLearnerSettings()
Method Detail

getTargetColumn

public String getTargetColumn()
The target column which is the dependent variable.

Returns:
the targetColumn

setTargetColumn

public void setTargetColumn(String targetColumn)
Set the target column which is the dependent variable.

Parameters:
targetColumn - the targetColumn to set

getIncludedColumns

public String[] getIncludedColumns()
The included columns which are the independent variables.

Returns:
the includedColumns

setIncludedColumns

public void setIncludedColumns(String[] includedColumns)
Set the included columns which are the independent variables.

Parameters:
includedColumns - the includedColumns to set

getIncludeAll

public boolean getIncludeAll()
Returns true, if all input columns except of the target should be used as independent variables.

Returns:
the includeAll

setIncludeAll

public void setIncludeAll(boolean includeAll)
Pass true, when all input columns except of the target should be used as independent variables.

Parameters:
includeAll - the includeAll 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.