org.knime.base.node.viz.roc
Class ROCSettings

java.lang.Object
  extended by org.knime.base.node.viz.roc.ROCSettings

public class ROCSettings
extends Object

This class holds the settings for the ROC curve view.

Author:
Thorsten Meinl, University of Konstanz

Constructor Summary
ROCSettings()
           
 
Method Summary
 String getClassColumn()
          Returns the name of the class column.
 List<String> getCurves()
          Returns the list of class probability columns that should be shown in the ROC view.
 DataCell getPositiveClass()
          Returns the value from the class column that represents the "positive" class.
 void loadSettings(NodeSettingsRO settings)
          Loads the settings from the given node settings object.
 void loadSettingsForDialog(NodeSettingsRO settings)
          Loads the settings from the given node settings object.
 void saveSettings(NodeSettingsWO settings)
          Saves this object's settings to the given node settings.
 void setClassColumn(String colName)
          Sets the name of the class column.
 void setPositiveClass(DataCell value)
          Sets the value from the class column that represents the "positive" class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ROCSettings

public ROCSettings()
Method Detail

getCurves

public List<String> getCurves()
Returns the list of class probability columns that should be shown in the ROC view.

Returns:
a list with column names

getClassColumn

public String getClassColumn()
Returns the name of the class column.

Returns:
the class column's name

setPositiveClass

public void setPositiveClass(DataCell value)
Sets the value from the class column that represents the "positive" class.

Parameters:
value - any value

getPositiveClass

public DataCell getPositiveClass()
Returns the value from the class column that represents the "positive" class.

Returns:
any value

setClassColumn

public void setClassColumn(String colName)
Sets the name of the class column.

Parameters:
colName - the class column's name

saveSettings

public void saveSettings(NodeSettingsWO settings)
Saves this object's settings to the given node settings.

Parameters:
settings - the node settings

loadSettings

public void loadSettings(NodeSettingsRO settings)
                  throws InvalidSettingsException
Loads the settings from the given node settings object.

Parameters:
settings - the node settings
Throws:
InvalidSettingsException - if the settings are invalid

loadSettingsForDialog

public void loadSettingsForDialog(NodeSettingsRO settings)
Loads the settings from the given node settings object.

Parameters:
settings - the node settings


Copyright, 2003 - 2010. 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.