public class PairedStatsCorrected extends PairedStats
For more information see:
Claude Nadeau and Yoshua Bengio, "Inference for the Generalization Error," Machine Learning, 2001.
correlation, count, differencesProbability, differencesSignificance, differencesStats, sigLevel, xStats, xySum, yStats
Constructor and Description |
---|
PairedStatsCorrected(double sig,
double testTrainRatio)
Creates a new PairedStatsCorrected object with the supplied
significance level and train/test ratio.
|
Modifier and Type | Method and Description |
---|---|
void |
calculateDerived()
Calculates the derived statistics (significance etc).
|
java.lang.String |
getRevision()
Returns the revision string.
|
static void |
main(java.lang.String[] args)
Tests the paired stats object from the command line.
|
add, add, getDegreesOfFreedom, setDegreesOfFreedom, subtract, subtract, toString
public PairedStatsCorrected(double sig, double testTrainRatio)
sig
- the significance level for comparisonstestTrainRatio
- the number test examples/training examplespublic void calculateDerived()
calculateDerived
in class PairedStats
public java.lang.String getRevision()
getRevision
in interface RevisionHandler
getRevision
in class PairedStats
public static void main(java.lang.String[] args)
args
- ignored.