edu.mit.util.stats
Class ResultTracker
java.lang.Object
edu.mit.util.stats.Results
edu.mit.util.stats.ResultTracker
public class ResultTracker
- extends Results
Tracks SegmentResults across multiple runs or trials or whatever...
- Version:
- 1.0
- Author:
- Jacob Eisenstein
ResultTracker
public ResultTracker()
combine
public void combine(Results r)
- Overrides:
combine
in class Results
combine
public void combine(ResultTracker r)
averageRepeatedMeasures
public Results averageRepeatedMeasures()
all_accuracy
public double[] all_accuracy()
all_fMeasure
public double[] all_fMeasure()
all_recall
public double[] all_recall()
all_precision
public double[] all_precision()
all_falseAlarm
public double[] all_falseAlarm()
size
public int size()
toDoubleArray
public static double[] toDoubleArray(ArrayList<Double> v)
matlabString
public String matlabString()
mean
public double mean(double[] data)
variance
public double variance(double[] data)
pairedTTest
public static double pairedTTest(ResultTracker x,
ResultTracker y)
- outputs t-score that the distributions of fmeasures are different.
These results check out with those produced at the website:
http://www.physics.csbsju.edu/cgi-bin/stats/Paired_t-test
- Parameters:
x
- A set of resultsy
- A set of results
- Returns:
- t-score that the distributions of fmeasures are different
makeDoubleArray
protected double[] makeDoubleArray(ArrayList<Double> v)
getString
protected String getString(ArrayList<Double> v)
toString
public String toString()
- Overrides:
toString
in class Results
main
public static void main(String[] argv)
Copyright © 2008 MIT. All Rights Reserved.