|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttrans.roc.SgrBacCounter
Application for scoring '.sgr' files for positives and negatives in relation to the BAC spike in data.
Constructor Summary | |
SgrBacCounter(java.lang.String[] args)
|
Method Summary | |
Bin |
findBin(Sgr sgr)
Finds an appropriate bin given an sgr object |
static double |
fractionPositive(java.util.ArrayList doubles,
double scoreCutOff,
double divider)
Given an ArrayList of Double, calculates the fraction that is >= scoreCutOff. |
static void |
main(java.lang.String[] args)
|
void |
makeBins()
|
void |
makePositives()
|
static int |
positive(Positive[] pos,
Sgr sgr)
Checks to see if an sgr object is one of the positives, if not returns -1, otherwise returns index number. |
void |
scanSgrArray()
Scans an sgr array, sorting into bins. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SgrBacCounter(java.lang.String[] args)
Method Detail |
public void scanSgrArray()
public static int positive(Positive[] pos, Sgr sgr)
public Bin findBin(Sgr sgr)
public static void main(java.lang.String[] args)
public static double fractionPositive(java.util.ArrayList doubles, double scoreCutOff, double divider)
public void makeBins()
public void makePositives()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |