All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home

Class weka.experiment.PairedStatsCorrected

java.lang.Object
    |
    +----weka.experiment.PairedStats
            |
            +----weka.experiment.PairedStatsCorrected

public class PairedStatsCorrected
extends PairedStats
A class for storing stats on a paired comparison. This version is based on the corrected resampled t-test statistic, which uses the ratio of the number of test examples/the number of training examples.

For more information see:

Claude Nadeau and Yoshua Bengio, "Inference for the Generalization Error," Machine Learning, 2001.

Version:
$Revision: 1.2 $
Author:
Richard Kirkby (rkirkby@cs.waikato.ac.nz)

Constructor Index

 o PairedStatsCorrected(double, double)
Creates a new PairedStatsCorrected object with the supplied significance level and train/test ratio.

Method Index

 o calculateDerived()
Calculates the derived statistics (significance etc).

Constructor Detail

 o PairedStatsCorrected
public PairedStatsCorrected(double sig,
                            double testTrainRatio)
          Creates a new PairedStatsCorrected object with the supplied significance level and train/test ratio.
Parameters:
sig - the significance level for comparisons
trainTestRatio - the number test examples/training examples

Method Detail

 o calculateDerived
public void calculateDerived()
          Calculates the derived statistics (significance etc).
Overrides:
calculateDerived in class PairedStats

All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home