|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectbaseCode.math.ROC
Functions for calculating Receiver operator characteristics.
Copyright (c) 2004 Columbia University
| Constructor Summary | |
ROC()
|
|
| Method Summary | |
static double |
aroc(int totalSize,
java.util.Set ranks)
Calculate area under ROC. |
static double |
aroc(int totalSize,
java.util.Set ranks,
int maxFP)
Calculate area under ROC, up to a given number of False positives. |
static double |
rocpval(int numpos,
double aroc)
For an AROC value, calculates a p value based on approximation for calculating the stanadard deviation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ROC()
| Method Detail |
public static double aroc(int totalSize,
java.util.Set ranks)
totalSize - intranks - Map
public static double aroc(int totalSize,
java.util.Set ranks,
int maxFP)
totalSize - intranks - MapmaxFP - - the maximum number of false positives to see before stopping. Set to 50 to get the Gribskov roc50.
If maxFP <= 0, it is ignored.
public static double rocpval(int numpos,
double aroc)
numpos - How many positives are in the data.aroc - The AROC
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||