stereodisc
Class ANNAccuracy
java.lang.Object
stereodisc.Analyzer
stereodisc.ANNAccuracy
- Direct Known Subclasses:
- ANNMapper, CDRStatistics, Illustrator, ObservationACDRs, ObservationStatistics, ObserverAccuracy, ROC
public class ANNAccuracy
- extends Analyzer
Stereo disk photograph analysis.
Uses ANN to analyze stereo feature sets.
Uses soft classification to determine the ROC curve for one specific set of features.
Copyright (c) 1999-2007, Michael Abramoff. All rights reserved.
|
Method Summary |
static void |
main(java.lang.String[] args)
|
static double[] |
unitvars(float[][] m,
double[] vars,
double[] avgs)
Make unit variance all elements in m columnwise. |
static double[] |
zeromeans(float[][] m,
double[] avgs)
Zeromean all elements in m columnwise. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ANNAccuracy
public ANNAccuracy()
main
public static void main(java.lang.String[] args)
zeromeans
public static double[] zeromeans(float[][] m,
double[] avgs)
throws java.lang.IllegalArgumentException
- Zeromean all elements in m columnwise. If avgs != null, use those columnwise averages,
otherwise compute columnwise averages of m, and subtract these averages
from the elements in each column. Return the used averages.
- Parameters:
m - a matrix of float[][] IS MODIFIED!avgs - a double[] with the averages, null if averages have to be computed.
- Throws:
java.lang.IllegalArgumentException
unitvars
public static double[] unitvars(float[][] m,
double[] vars,
double[] avgs)
throws java.lang.IllegalArgumentException
- Make unit variance all elements in m columnwise. If vars != null, use those columnwise variances,
otherwise compute columnwise variances of m, and divide the elements in each column of m by the square root of these variances
- Parameters:
m - a matrix of float[][] IS MODIFIED!vars - a double[] with the variances, null if these have to be computed.
- Throws:
java.lang.IllegalArgumentException