|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.base.node.mine.regression.logistic.learner.LogRegLearnerSettings
public class LogRegLearnerSettings
This class hold the settings for the Logistic Learner Node.
| 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 |
|---|
static final String CFG_VARIATES
static final String CFG_VARIATES_USE_ALL
static final String CFG_TARGET
| Constructor Detail |
|---|
public LogRegLearnerSettings()
| Method Detail |
|---|
public String getTargetColumn()
public void setTargetColumn(String targetColumn)
targetColumn - the targetColumn to setpublic String[] getIncludedColumns()
public void setIncludedColumns(String[] includedColumns)
includedColumns - the includedColumns to setpublic boolean getIncludeAll()
public void setIncludeAll(boolean includeAll)
includeAll - the includeAll to set
public void loadSettings(NodeSettingsRO settings)
throws InvalidSettingsException
settings - a node settings object
InvalidSettingsException - if some settings are missingpublic void loadSettingsForDialog(NodeSettingsRO settings)
settings - a node settings objectpublic void saveSettings(NodeSettingsWO settings)
settings - a node settings object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||