org.knime.base.node.preproc.autobinner
Class AutoBinnerLearnSettings

java.lang.Object
  extended by org.knime.base.node.preproc.autobinner.AutoBinnerLearnSettings

public final class AutoBinnerLearnSettings
extends Object

This class hold the settings for the Logistic Learner Node.

Author:
Heiko Hofer

Nested Class Summary
static class AutoBinnerLearnSettings.BinNaming
          The method for naming bins
static class AutoBinnerLearnSettings.Method
          The name of the autobinning method
 
Constructor Summary
AutoBinnerLearnSettings()
           
 
Method Summary
 int getBinCount()
           
 AutoBinnerLearnSettings.BinNaming getBinNaming()
           
 boolean getIncludeAll()
           
 AutoBinnerLearnSettings.Method getMethod()
           
 boolean getReplaceColumn()
           
 double[] getSampleQuantiles()
           
 String[] getTargetColumn()
           
 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 setBinCount(int binCount)
           
 void setBinNaming(AutoBinnerLearnSettings.BinNaming binNaming)
           
 void setIncludeAll(boolean includeAll)
           
 void setMethod(AutoBinnerLearnSettings.Method method)
           
 void setReplaceColumn(boolean replaceColumn)
           
 void setSampleQuantiles(double[] sampleQuantiles)
           
 void setTargetColumn(String[] targetColumn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoBinnerLearnSettings

public AutoBinnerLearnSettings()
Method Detail

getTargetColumn

public String[] getTargetColumn()
Returns:
the targetColumn

setTargetColumn

public void setTargetColumn(String[] targetColumn)
Parameters:
targetColumn - the targetColumn to set

getIncludeAll

public boolean getIncludeAll()
Returns:
the includeAll

setIncludeAll

public void setIncludeAll(boolean includeAll)
Parameters:
includeAll - the includeAll to set

getMethod

public AutoBinnerLearnSettings.Method getMethod()
Returns:
the method

setMethod

public void setMethod(AutoBinnerLearnSettings.Method method)
Parameters:
method - the method to set

getBinCount

public int getBinCount()
Returns:
the binCount

setBinCount

public void setBinCount(int binCount)
Parameters:
binCount - the binCount to set

getSampleQuantiles

public double[] getSampleQuantiles()
Returns:
the sampleQuantiles

setSampleQuantiles

public void setSampleQuantiles(double[] sampleQuantiles)
Parameters:
sampleQuantiles - the sampleQuantiles to set

getBinNaming

public AutoBinnerLearnSettings.BinNaming getBinNaming()
Returns:
the binNaming

setBinNaming

public void setBinNaming(AutoBinnerLearnSettings.BinNaming binNaming)
Parameters:
binNaming - the binNaming to set

getReplaceColumn

public boolean getReplaceColumn()
Returns:
the replaceColumn

setReplaceColumn

public void setReplaceColumn(boolean replaceColumn)
Parameters:
replaceColumn - the replaceColumn 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.