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

Class weka.experiment.PairedCorrectedTTester

java.lang.Object
    |
    +----weka.experiment.PairedTTester
            |
            +----weka.experiment.PairedCorrectedTTester

public class PairedCorrectedTTester
extends PairedTTester
Behaves the same as PairedTTester, only it uses the corrected resampled t-test statistic.

For more information see:

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

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

Constructor Index

 o PairedCorrectedTTester()
 

Method Index

 o calculateStatistics(Instance, int, int, int)
Computes a paired t-test comparison for a specified dataset between two resultsets.
 o main(String[])
Test the class from the command line.

Constructor Detail

 o PairedCorrectedTTester
public PairedCorrectedTTester()

Method Detail

 o calculateStatistics
public PairedStats calculateStatistics(Instance datasetSpecifier,
                                       int resultset1Index,
                                       int resultset2Index,
                                       int comparisonColumn) throws java.lang.Exception
          Computes a paired t-test comparison for a specified dataset between two resultsets.
Parameters:
datasetSpecifier - the dataset specifier
resultset1Index - the index of the first resultset
resultset2Index - the index of the second resultset
comparisonColumn - the column containing values to compare
Returns:
the results of the paired comparison
Throws:
java.lang.Exception - if an error occurs
Overrides:
calculateStatistics in class PairedTTester
 o main
public static void main(java.lang.String args[])
          Test the class from the command line.
Parameters:
args - contains options for the instance ttests

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