com.rapidminer.tools.math
Class ROCData

java.lang.Object
  extended by com.rapidminer.tools.math.ROCData
All Implemented Interfaces:
java.lang.Iterable<ROCPoint>

public class ROCData
extends java.lang.Object
implements java.lang.Iterable<ROCPoint>

This container holds all ROC data points for a single ROC curve.

Author:
Ingo Mierswa

Constructor Summary
ROCData()
           
 
Method Summary
 void addPoint(ROCPoint point)
           
 double getBestIsometricsTPValue()
           
 double getInterpolatedThreshold(double d)
           
 double getInterpolatedTruePositives(double d)
           
 int getNumberOfPoints()
           
 ROCPoint getPoint(int index)
           
 double getTotalNegatives()
           
 double getTotalPositives()
           
 java.util.Iterator<ROCPoint> iterator()
           
 void removePoint(ROCPoint point)
           
 void setBestIsometricsTPValue(double value)
           
 void setTotalNegatives(double sumNeg)
           
 void setTotalPositives(double sumPos)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ROCData

public ROCData()
Method Detail

addPoint

public void addPoint(ROCPoint point)

removePoint

public void removePoint(ROCPoint point)

getNumberOfPoints

public int getNumberOfPoints()

getPoint

public ROCPoint getPoint(int index)

getInterpolatedTruePositives

public double getInterpolatedTruePositives(double d)

getInterpolatedThreshold

public double getInterpolatedThreshold(double d)

iterator

public java.util.Iterator<ROCPoint> iterator()
Specified by:
iterator in interface java.lang.Iterable<ROCPoint>

setTotalPositives

public void setTotalPositives(double sumPos)

getTotalPositives

public double getTotalPositives()

setTotalNegatives

public void setTotalNegatives(double sumNeg)

getTotalNegatives

public double getTotalNegatives()

setBestIsometricsTPValue

public void setBestIsometricsTPValue(double value)

getBestIsometricsTPValue

public double getBestIsometricsTPValue()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2001-2009 by Rapid-I