📄 tester.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.5.0_10) on Fri Jan 26 16:34:52 NZDT 2007 --><TITLE>Tester</TITLE><META NAME="keywords" CONTENT="weka.experiment.Tester interface"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="Tester";}</SCRIPT><NOSCRIPT></NOSCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../weka/experiment/TaskStatusInfo.html" title="class in weka.experiment"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html?weka/experiment/Tester.html" target="_top"><B>FRAMES</B></A> <A HREF="Tester.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">weka.experiment</FONT><BR>Interface Tester</H2><DL><DT><B>All Superinterfaces:</B> <DD>java.io.Serializable</DD></DL><DL><DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../weka/experiment/PairedCorrectedTTester.html" title="class in weka.experiment">PairedCorrectedTTester</A>, <A HREF="../../weka/experiment/PairedTTester.html" title="class in weka.experiment">PairedTTester</A></DD></DL><HR><DL><DT><PRE>public interface <B>Tester</B><DT>extends java.io.Serializable</DL></PRE><P>Interface for different kinds of Testers in the Experimenter.<P><P><DL><DT><B>Version:</B></DT> <DD>$Revision: 1.3 $</DD><DT><B>Author:</B></DT> <DD>FracPete (fracpete at waikato dot ac dot nz)</DD></DL><HR><P><!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#assign(weka.experiment.Tester)">assign</A></B>(<A HREF="../../weka/experiment/Tester.html" title="interface in weka.experiment">Tester</A> tester)</CODE><BR> retrieves all the settings from the given Tester</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../weka/experiment/PairedStats.html" title="class in weka.experiment">PairedStats</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#calculateStatistics(weka.core.Instance, int, int, int)">calculateStatistics</A></B>(<A HREF="../../weka/core/Instance.html" title="class in weka.core">Instance</A> datasetSpecifier, int resultset1Index, int resultset2Index, int comparisonColumn)</CODE><BR> Computes a paired t-test comparison for a specified dataset between two resultsets.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#displayResultset(int)">displayResultset</A></B>(int index)</CODE><BR> Checks whether the resultset with the given index shall be displayed.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../weka/core/Range.html" title="class in weka.core">Range</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#getDatasetKeyColumns()">getDatasetKeyColumns</A></B>()</CODE><BR> Get the value of DatasetKeyColumns.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#getDisplayedResultsets()">getDisplayedResultsets</A></B>()</CODE><BR> Gets the indices of the the datasets that are displayed (if <code>null</code> then all are displayed).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#getDisplayName()">getDisplayName</A></B>()</CODE><BR> returns the name of the testing algorithm</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#getFoldColumn()">getFoldColumn</A></B>()</CODE><BR> Get the value of FoldColumn.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#getInstances()">getInstances</A></B>()</CODE><BR> Get the value of Instances.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#getNumDatasets()">getNumDatasets</A></B>()</CODE><BR> Gets the number of datasets in the resultsets</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#getNumResultsets()">getNumResultsets</A></B>()</CODE><BR> Gets the number of resultsets in the data.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../weka/experiment/ResultMatrix.html" title="class in weka.experiment">ResultMatrix</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#getResultMatrix()">getResultMatrix</A></B>()</CODE><BR> Gets the instance that produces the output.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../weka/core/Range.html" title="class in weka.core">Range</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#getResultsetKeyColumns()">getResultsetKeyColumns</A></B>()</CODE><BR> Get the value of ResultsetKeyColumns.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#getResultsetName(int)">getResultsetName</A></B>(int index)</CODE><BR> Gets a string descriptive of the specified resultset.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#getRunColumn()">getRunColumn</A></B>()</CODE><BR> Get the value of RunColumn.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#getShowStdDevs()">getShowStdDevs</A></B>()</CODE><BR> Returns true if standard deviations have been requested.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#getSignificanceLevel()">getSignificanceLevel</A></B>()</CODE><BR> Get the value of SignificanceLevel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#getSortColumn()">getSortColumn</A></B>()</CODE><BR> Returns the column to sort on, -1 means the default sorting.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#getSortColumnName()">getSortColumnName</A></B>()</CODE><BR> Returns the name of the column to sort on.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#getToolTipText()">getToolTipText</A></B>()</CODE><BR> returns a string that is displayed as tooltip on the "perform test" button in the experimenter</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#header(int)">header</A></B>(int comparisonColumn)</CODE><BR> Creates a "header" string describing the current resultsets.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#multiResultsetFull(int, int)">multiResultsetFull</A></B>(int baseResultset, int comparisonColumn)</CODE><BR> Creates a comparison table where a base resultset is compared to the other resultsets.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#multiResultsetRanking(int)">multiResultsetRanking</A></B>(int comparisonColumn)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#multiResultsetSummary(int)">multiResultsetSummary</A></B>(int comparisonColumn)</CODE><BR> Carries out a comparison between all resultsets, counting the number of datsets where one resultset outperforms the other.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int[][]</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#multiResultsetWins(int, int[][])">multiResultsetWins</A></B>(int comparisonColumn, int[][] nonSigWin)</CODE><BR> Carries out a comparison between all resultsets, counting the number of datsets where one resultset outperforms the other.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#resultsetKey()">resultsetKey</A></B>()</CODE><BR> Creates a key that maps resultset numbers to their descriptions.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#setDatasetKeyColumns(weka.core.Range)">setDatasetKeyColumns</A></B>(<A HREF="../../weka/core/Range.html" title="class in weka.core">Range</A> newDatasetKeyColumns)</CODE><BR> Set the value of DatasetKeyColumns.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#setDisplayedResultsets(int[])">setDisplayedResultsets</A></B>(int[] cols)</CODE><BR> Sets the indicies of the datasets to display (<code>null</code> means all).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#setFoldColumn(int)">setFoldColumn</A></B>(int newFoldColumn)</CODE><BR> Set the value of FoldColumn.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#setInstances(weka.core.Instances)">setInstances</A></B>(<A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A> newInstances)</CODE><BR> Set the value of Instances.</TD></TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -