|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.base.node.mine.regression.polynomial.learner.PolyRegLearnerSettings
public class PolyRegLearnerSettings
This class holds the settings for the polynomial regression learner node.
Constructor Summary | |
---|---|
PolyRegLearnerSettings()
|
Method Summary | |
---|---|
int |
getDegree()
Returns the maximum degree that polynomial used for regression should have. |
int |
getMaxRowsForView()
Returns the maximum number of rows that are shown in the curve view. |
Set<String> |
getSelectedColumns()
Returns an (unmodifieable) set of the select column names. |
String |
getTargetColumn()
Returns the name of the target column that holds the dependent variable. |
boolean |
isIncludeAll()
|
void |
loadSettingsFrom(NodeSettingsRO settings)
Loads the settings from the node settings object. |
void |
saveSettingsTo(NodeSettingsWO settings)
Saves the settings to the node settings object. |
void |
setDegree(int degree)
Sets the maximum degree that polynomial used for regression should have. |
void |
setIncludeAll(boolean includeAll)
|
void |
setMaxRowsForView(int maxRowsForView)
Sets the maximum number of rows that are shown in the curve view. |
void |
setSelectedColumns(Set<String> columnNames)
Sets the names of the columns that should be used for the regression. |
void |
setTargetColumn(String targetColumn)
Sets the name of the target column that holds the dependent variable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PolyRegLearnerSettings()
Method Detail |
---|
public int getDegree()
public String getTargetColumn()
public void loadSettingsFrom(NodeSettingsRO settings) throws InvalidSettingsException
settings
- the node settings
InvalidSettingsException
- if one of the settings is missingpublic void saveSettingsTo(NodeSettingsWO settings)
settings
- the node settingspublic void setDegree(int degree)
degree
- the maximum degreepublic void setTargetColumn(String targetColumn)
targetColumn
- the target column's namepublic int getMaxRowsForView()
public void setMaxRowsForView(int maxRowsForView)
maxRowsForView
- the maximum number of rowspublic void setSelectedColumns(Set<String> columnNames)
columnNames
- a set with the selected column namespublic Set<String> getSelectedColumns()
public boolean isIncludeAll()
public void setIncludeAll(boolean includeAll)
includeAll
- the includeAll to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |