程序包 weka.experiment

类 PairedCorrectedTTester

java.lang.Object
weka.experiment.PairedTTester
weka.experiment.PairedCorrectedTTester
所有已实现的接口:
Serializable, OptionHandler, RevisionHandler, TechnicalInformationHandler, Tester

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

For more information see:

Claude Nadeau, Yoshua Bengio (2001). Inference for the Generalization Error. Machine Learning..

BibTeX:

 @article{Nadeau2001,
    author = {Claude Nadeau and Yoshua Bengio},
    journal = {Machine Learning},
    title = {Inference for the Generalization Error},
    year = {2001},
    PDF = {http://www.iro.umontreal.ca/\~lisa/bib/pub_subject/comparative/pointeurs/nadeau_MLJ1597.pdf}
 }
 

Valid options are:

 -D <index,index2-index4,...>
  Specify list of columns that specify a unique
  dataset.
  First and last are valid indexes. (default none)
 -R <index>
  Set the index of the column containing the run number
 -F <index>
  Set the index of the column containing the fold number
 -G <index1,index2-index4,...>
  Specify list of columns that specify a unique
  'result generator' (eg: classifier name and options).
  First and last are valid indexes. (default none)
 -S <significance level>
  Set the significance level for comparisons (default 0.05)
 -V
  Show standard deviations
 -L
  Produce table comparisons in Latex table format
 -csv
  Produce table comparisons in CSV table format
 -html
  Produce table comparisons in HTML table format
 -significance
  Produce table comparisons with only the significance values
 -gnuplot
  Produce table comparisons output suitable for GNUPlot
版本:
$Revision: 1.13 $
作者:
Richard Kirkby (rkirkby@cs.waikato.ac.nz)
另请参阅:
  • 构造器详细资料

    • PairedCorrectedTTester

      public PairedCorrectedTTester()
  • 方法详细资料

    • getTechnicalInformation

      public TechnicalInformation getTechnicalInformation()
      Returns an instance of a TechnicalInformation object, containing detailed information about the technical background of this class, e.g., paper reference or book this class is based on.
      指定者:
      getTechnicalInformation 在接口中 TechnicalInformationHandler
      返回:
      the technical information about this class
    • calculateStatistics

      public PairedStats calculateStatistics(Instance datasetSpecifier, int resultset1Index, int resultset2Index, int comparisonColumn) throws Exception
      Computes a paired t-test comparison for a specified dataset between two resultsets.
      指定者:
      calculateStatistics 在接口中 Tester
      覆盖:
      calculateStatistics 在类中 PairedTTester
      参数:
      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
      返回:
      the results of the paired comparison
      抛出:
      Exception - if an error occurs
    • main

      public static void main(String[] args)
      Test the class from the command line.
      参数:
      args - contains options for the instance ttests
    • getDisplayName

      public String getDisplayName()
      returns the name of the tester
      指定者:
      getDisplayName 在接口中 Tester
      覆盖:
      getDisplayName 在类中 PairedTTester
      返回:
      the display name
    • getToolTipText

      public String getToolTipText()
      returns a string that is displayed as tooltip on the "perform test" button in the experimenter
      指定者:
      getToolTipText 在接口中 Tester
      覆盖:
      getToolTipText 在类中 PairedTTester
      返回:
      the string for the tool tip
    • getRevision

      public String getRevision()
      Returns the revision string.
      指定者:
      getRevision 在接口中 RevisionHandler
      覆盖:
      getRevision 在类中 PairedTTester
      返回:
      the revision