Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.visualization
Class ResultROCCurveVisualizer<O extends DatabaseObject>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.logging.AbstractLoggable
      extended by de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
          extended by de.lmu.ifi.dbs.elki.visualization.ResultROCCurveVisualizer<O>
Type Parameters:
O - Database object type
All Implemented Interfaces:
ResultHandler<O,MultiResult>, Parameterizable

public class ResultROCCurveVisualizer<O extends DatabaseObject>
extends AbstractParameterizable
implements ResultHandler<O,MultiResult>

Visualize a ROC curve. Use as -outputhandler for ComputeROCCurve

Author:
Erich Schubert

Nested Class Summary
(package private)  class ResultROCCurveVisualizer.ROCWindow
           
 
Field Summary
 
Fields inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
optionHandler
 
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debug, logger
 
Constructor Summary
ResultROCCurveVisualizer()
           
 
Method Summary
private  IterableResult<Pair<Double,Double>> findCurveResult(MultiResult result)
           
 void processResult(Database<O> db, MultiResult result)
          Process a result.
 void setNormalization(Normalization<O> normalization)
          Setter for normalization
 String shortDescription()
          Returns a short description of the class.
 
Methods inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
addOption, addParameterizable, addParameterizable, checkGlobalParameterConstraints, collectOptions, getAttributeSettings, getParameters, rememberParametersExcept, removeOption, removeParameterizable, setParameters
 
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debugFine, debugFiner, debugFinest, exception, progress, verbose, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.lmu.ifi.dbs.elki.utilities.optionhandling.Parameterizable
checkGlobalParameterConstraints, collectOptions, getParameters, setParameters
 

Constructor Detail

ResultROCCurveVisualizer

public ResultROCCurveVisualizer()
Method Detail

processResult

public void processResult(Database<O> db,
                          MultiResult result)
                   throws IllegalStateException
Description copied from interface: ResultHandler
Process a result.

Specified by:
processResult in interface ResultHandler<O extends DatabaseObject,MultiResult>
Parameters:
db - Database the result is for
result - Result object
Throws:
IllegalStateException

findCurveResult

private IterableResult<Pair<Double,Double>> findCurveResult(MultiResult result)

setNormalization

public void setNormalization(Normalization<O> normalization)
Description copied from interface: ResultHandler
Setter for normalization

Specified by:
setNormalization in interface ResultHandler<O extends DatabaseObject,MultiResult>
Parameters:
normalization - new normalization object

shortDescription

public String shortDescription()
Description copied from class: AbstractParameterizable
Returns a short description of the class.

Specified by:
shortDescription in interface Parameterizable
Overrides:
shortDescription in class AbstractParameterizable
Returns:
Description of the class

Release 0.2.1 (2009-07-13_1605)