public interface Tester
extends java.io.Serializable
| Modifier and Type | Method and Description | 
|---|---|
void | 
assign(Tester tester)
retrieves all the settings from the given Tester 
 | 
PairedStats | 
calculateStatistics(Instance datasetSpecifier,
                   int resultset1Index,
                   int resultset2Index,
                   int comparisonColumn)
Computes a paired t-test comparison for a specified dataset between
 two resultsets. 
 | 
boolean | 
displayResultset(int index)
Checks whether the resultset with the given index shall be displayed. 
 | 
Range | 
getDatasetKeyColumns()
Get the value of DatasetKeyColumns. 
 | 
int[] | 
getDisplayedResultsets()
Gets the indices of the the datasets that are displayed (if  
null
 then all are displayed). | 
java.lang.String | 
getDisplayName()
returns the name of the testing algorithm 
 | 
int | 
getFoldColumn()
Get the value of FoldColumn. 
 | 
Instances | 
getInstances()
Get the value of Instances. 
 | 
int | 
getNumDatasets()
Gets the number of datasets in the resultsets 
 | 
int | 
getNumResultsets()
Gets the number of resultsets in the data. 
 | 
ResultMatrix | 
getResultMatrix()
Gets the instance that produces the output. 
 | 
Range | 
getResultsetKeyColumns()
Get the value of ResultsetKeyColumns. 
 | 
java.lang.String | 
getResultsetName(int index)
Gets a string descriptive of the specified resultset. 
 | 
int | 
getRunColumn()
Get the value of RunColumn. 
 | 
boolean | 
getShowStdDevs()
Returns true if standard deviations have been requested. 
 | 
double | 
getSignificanceLevel()
Get the value of SignificanceLevel. 
 | 
int | 
getSortColumn()
Returns the column to sort on, -1 means the default sorting. 
 | 
java.lang.String | 
getSortColumnName()
Returns the name of the column to sort on. 
 | 
java.lang.String | 
getToolTipText()
returns a string that is displayed as tooltip on the "perform test"
 button in the experimenter 
 | 
java.lang.String | 
header(int comparisonColumn)
Creates a "header" string describing the current resultsets. 
 | 
java.lang.String | 
multiResultsetFull(int baseResultset,
                  int comparisonColumn)
Creates a comparison table where a base resultset is compared to the
 other resultsets. 
 | 
java.lang.String | 
multiResultsetRanking(int comparisonColumn)  | 
java.lang.String | 
multiResultsetSummary(int comparisonColumn)
Carries out a comparison between all resultsets, counting the number
 of datsets where one resultset outperforms the other. 
 | 
int[][] | 
multiResultsetWins(int comparisonColumn,
                  int[][] nonSigWin)
Carries out a comparison between all resultsets, counting the number
 of datsets where one resultset outperforms the other. 
 | 
java.lang.String | 
resultsetKey()
Creates a key that maps resultset numbers to their descriptions. 
 | 
void | 
setDatasetKeyColumns(Range newDatasetKeyColumns)
Set the value of DatasetKeyColumns. 
 | 
void | 
setDisplayedResultsets(int[] cols)
Sets the indicies of the datasets to display ( 
null means all). | 
void | 
setFoldColumn(int newFoldColumn)
Set the value of FoldColumn. 
 | 
void | 
setInstances(Instances newInstances)
Set the value of Instances. 
 | 
void | 
setResultMatrix(ResultMatrix matrix)
Sets the matrix to use to produce the output. 
 | 
void | 
setResultsetKeyColumns(Range newResultsetKeyColumns)
Set the value of ResultsetKeyColumns. 
 | 
void | 
setRunColumn(int newRunColumn)
Set the value of RunColumn. 
 | 
void | 
setShowStdDevs(boolean s)
Set whether standard deviations are displayed or not. 
 | 
void | 
setSignificanceLevel(double newSignificanceLevel)
Set the value of SignificanceLevel. 
 | 
void | 
setSortColumn(int newSortColumn)
Set the column to sort on, -1 means the default sorting. 
 | 
java.lang.String getDisplayName()
java.lang.String getToolTipText()
void assign(Tester tester)
tester - the Tester to get the settings fromvoid setResultMatrix(ResultMatrix matrix)
matrix - the instance to use to produce the outputResultMatrixResultMatrix getResultMatrix()
void setShowStdDevs(boolean s)
s - true if standard deviations are to be displayedboolean getShowStdDevs()
int getNumDatasets()
int getNumResultsets()
java.lang.String getResultsetName(int index)
index - the index of the resultsetboolean displayResultset(int index)
index - the index of the resultset to check whether it shall be displayedPairedStats calculateStatistics(Instance datasetSpecifier, int resultset1Index, int resultset2Index, int comparisonColumn) throws java.lang.Exception
datasetSpecifier - the dataset specifierresultset1Index - the index of the first resultsetresultset2Index - the index of the second resultsetcomparisonColumn - the column containing values to comparejava.lang.Exception - if an error occursjava.lang.String resultsetKey()
java.lang.String header(int comparisonColumn)
comparisonColumn - a value of type 'int'int[][] multiResultsetWins(int comparisonColumn,
                           int[][] nonSigWin)
                    throws java.lang.Exception
comparisonColumn - the index of the comparison columnjava.lang.Exception - if an error occursjava.lang.String multiResultsetSummary(int comparisonColumn)
                                throws java.lang.Exception
comparisonColumn - the index of the comparison columnjava.lang.Exception - if an error occursjava.lang.String multiResultsetRanking(int comparisonColumn)
                                throws java.lang.Exception
java.lang.Exceptionjava.lang.String multiResultsetFull(int baseResultset,
                                    int comparisonColumn)
                             throws java.lang.Exception
baseResultset - the index of the base resultsetcomparisonColumn - the index of the column to compare overjava.lang.Exception - if an error occursRange getResultsetKeyColumns()
void setResultsetKeyColumns(Range newResultsetKeyColumns)
newResultsetKeyColumns - Value to assign to ResultsetKeyColumns.int[] getDisplayedResultsets()
null
 then all are displayed). The base is always displayed.void setDisplayedResultsets(int[] cols)
null means all).
 The base is always displayed.cols - the indices of the datasets to displaydouble getSignificanceLevel()
void setSignificanceLevel(double newSignificanceLevel)
newSignificanceLevel - Value to assign to SignificanceLevel.Range getDatasetKeyColumns()
void setDatasetKeyColumns(Range newDatasetKeyColumns)
newDatasetKeyColumns - Value to assign to DatasetKeyColumns.int getRunColumn()
void setRunColumn(int newRunColumn)
newRunColumn - Value to assign to RunColumn.int getFoldColumn()
void setFoldColumn(int newFoldColumn)
newFoldColumn - Value to assign to FoldColumn.java.lang.String getSortColumnName()
int getSortColumn()
void setSortColumn(int newSortColumn)
newSortColumn - the new sort column.Instances getInstances()
void setInstances(Instances newInstances)
newInstances - Value to assign to Instances.