|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.base.node.meta.feature.backwardelim.BWElimFilterSettings
public class BWElimFilterSettings
This class contains the settings for the feature elimination filter node.
Constructor Summary | |
---|---|
BWElimFilterSettings()
|
Method Summary | |
---|---|
List<String> |
includedColumns(BWElimModel model)
Returns a list with the columns that should be included in the output table. |
boolean |
includeTargetColumn()
Returns if the target column should be included in the output table. |
void |
includeTargetColumn(boolean b)
sets if the target column should be included in the output table. |
void |
loadSettings(NodeSettingsRO settings)
Loads the settings from passed node settings object into this object. |
void |
loadSettingsForDialog(NodeSettingsRO settings)
Loads the settings from passed node settings object into this object using default values if a settings is missing. |
int |
nrOfFeatures()
Returns the number of included feature for the selected level. |
void |
nrOfFeatures(int number)
Sets the number of included feature for the selected level. |
void |
saveSettings(NodeSettingsWO settings)
Saves the settings from this object into the passed node settings object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BWElimFilterSettings()
Method Detail |
---|
public boolean includeTargetColumn()
true
if it should be included, false
otherwisepublic void includeTargetColumn(boolean b)
b
- true
if it should be included, false
otherwisepublic List<String> includedColumns(BWElimModel model)
model
- the feature elimination model used
includeTargetColumn()
public int nrOfFeatures()
includedColumns(BWElimModel)
as the latter only contains
columns that are present in the input table while the number of features
is the "level" that comes out from the elimination loop.
public void nrOfFeatures(int number)
includedColumns(BWElimModel)
as the latter only contains columns that are present in the input table
while the number of features is the "level" that comes out from the
elimination loop.
number
- the number of included featurespublic void saveSettings(NodeSettingsWO settings)
settings
- a node settings objectpublic void loadSettings(NodeSettingsRO settings) throws InvalidSettingsException
settings
- a node settings object
InvalidSettingsException
- if a settings is missingpublic void loadSettingsForDialog(NodeSettingsRO settings)
settings
- a node settings object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |