evaluation.networkperformance
Class ROCPoint

java.lang.Object
  extended by evaluation.networkperformance.ROCPoint

public class ROCPoint
extends Object

One single point in a ROC curve consisting of a true positive rate and a false positive rate value.

Author:
Jan Krumsiek

Constructor Summary
ROCPoint(float tp, float fp)
          Initialization constructr.
 
Method Summary
 float getFP()
          Returns the false positive rate value of that point of the curve
 float getTP()
          Returns the true positive rate value of that point of the curve
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ROCPoint

public ROCPoint(float tp,
                float fp)
Initialization constructr. Takes true positive rate and false positive rate value of that point in the curve

Parameters:
tp - true positive rate value
fp - false positive rate value
Method Detail

getTP

public float getTP()
Returns the true positive rate value of that point of the curve

Returns:
true positive rate value

getFP

public float getFP()
Returns the false positive rate value of that point of the curve

Returns:
false positive rate value