tester.html

来自「数据挖掘的最常用工具。由于开源」· HTML 代码 · 共 1,098 行 · 第 1/3 页

HTML
1,098
字号
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#setResultMatrix(weka.experiment.ResultMatrix)">setResultMatrix</A></B>(<A HREF="../../weka/experiment/ResultMatrix.html" title="class in weka.experiment">ResultMatrix</A>&nbsp;matrix)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the matrix to use to produce the output.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#setResultsetKeyColumns(weka.core.Range)">setResultsetKeyColumns</A></B>(<A HREF="../../weka/core/Range.html" title="class in weka.core">Range</A>&nbsp;newResultsetKeyColumns)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the value of ResultsetKeyColumns.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#setRunColumn(int)">setRunColumn</A></B>(int&nbsp;newRunColumn)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the value of RunColumn.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#setShowStdDevs(boolean)">setShowStdDevs</A></B>(boolean&nbsp;s)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set whether standard deviations are displayed or not.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#setSignificanceLevel(double)">setSignificanceLevel</A></B>(double&nbsp;newSignificanceLevel)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the value of SignificanceLevel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Tester.html#setSortColumn(int)">setSortColumn</A></B>(int&nbsp;newSortColumn)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the column to sort on, -1 means the default sorting.</TD></TR></TABLE>&nbsp;<P><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getDisplayName()"><!-- --></A><H3>getDisplayName</H3><PRE>java.lang.String <B>getDisplayName</B>()</PRE><DL><DD>returns the name of the testing algorithm<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getToolTipText()"><!-- --></A><H3>getToolTipText</H3><PRE>java.lang.String <B>getToolTipText</B>()</PRE><DL><DD>returns a string that is displayed as tooltip on the "perform test" button in the experimenter<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="assign(weka.experiment.Tester)"><!-- --></A><H3>assign</H3><PRE>void <B>assign</B>(<A HREF="../../weka/experiment/Tester.html" title="interface in weka.experiment">Tester</A>&nbsp;tester)</PRE><DL><DD>retrieves all the settings from the given Tester<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>tester</CODE> - the Tester to get the settings from</DL></DD></DL><HR><A NAME="setResultMatrix(weka.experiment.ResultMatrix)"><!-- --></A><H3>setResultMatrix</H3><PRE>void <B>setResultMatrix</B>(<A HREF="../../weka/experiment/ResultMatrix.html" title="class in weka.experiment">ResultMatrix</A>&nbsp;matrix)</PRE><DL><DD>Sets the matrix to use to produce the output.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>matrix</CODE> - the instance to use to produce the output<DT><B>See Also:</B><DD><A HREF="../../weka/experiment/ResultMatrix.html" title="class in weka.experiment"><CODE>ResultMatrix</CODE></A></DL></DD></DL><HR><A NAME="getResultMatrix()"><!-- --></A><H3>getResultMatrix</H3><PRE><A HREF="../../weka/experiment/ResultMatrix.html" title="class in weka.experiment">ResultMatrix</A> <B>getResultMatrix</B>()</PRE><DL><DD>Gets the instance that produces the output.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the instance to produce the output</DL></DD></DL><HR><A NAME="setShowStdDevs(boolean)"><!-- --></A><H3>setShowStdDevs</H3><PRE>void <B>setShowStdDevs</B>(boolean&nbsp;s)</PRE><DL><DD>Set whether standard deviations are displayed or not.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - true if standard deviations are to be displayed</DL></DD></DL><HR><A NAME="getShowStdDevs()"><!-- --></A><H3>getShowStdDevs</H3><PRE>boolean <B>getShowStdDevs</B>()</PRE><DL><DD>Returns true if standard deviations have been requested.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if standard deviations are to be displayed.</DL></DD></DL><HR><A NAME="getNumDatasets()"><!-- --></A><H3>getNumDatasets</H3><PRE>int <B>getNumDatasets</B>()</PRE><DL><DD>Gets the number of datasets in the resultsets<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of datasets in the resultsets</DL></DD></DL><HR><A NAME="getNumResultsets()"><!-- --></A><H3>getNumResultsets</H3><PRE>int <B>getNumResultsets</B>()</PRE><DL><DD>Gets the number of resultsets in the data.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of resultsets in the data</DL></DD></DL><HR><A NAME="getResultsetName(int)"><!-- --></A><H3>getResultsetName</H3><PRE>java.lang.String <B>getResultsetName</B>(int&nbsp;index)</PRE><DL><DD>Gets a string descriptive of the specified resultset.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the resultset<DT><B>Returns:</B><DD>a descriptive string for the resultset</DL></DD></DL><HR><A NAME="displayResultset(int)"><!-- --></A><H3>displayResultset</H3><PRE>boolean <B>displayResultset</B>(int&nbsp;index)</PRE><DL><DD>Checks whether the resultset with the given index shall be displayed.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the resultset to check whether it shall be displayed<DT><B>Returns:</B><DD>whether the specified resultset is displayed</DL></DD></DL><HR><A NAME="calculateStatistics(weka.core.Instance, int, int, int)"><!-- --></A><H3>calculateStatistics</H3><PRE><A HREF="../../weka/experiment/PairedStats.html" title="class in weka.experiment">PairedStats</A> <B>calculateStatistics</B>(<A HREF="../../weka/core/Instance.html" title="class in weka.core">Instance</A>&nbsp;datasetSpecifier,                                int&nbsp;resultset1Index,                                int&nbsp;resultset2Index,                                int&nbsp;comparisonColumn)                                throws java.lang.Exception</PRE><DL><DD>Computes a paired t-test comparison for a specified dataset between two resultsets.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>datasetSpecifier</CODE> - the dataset specifier<DD><CODE>resultset1Index</CODE> - the index of the first resultset<DD><CODE>resultset2Index</CODE> - the index of the second resultset<DD><CODE>comparisonColumn</CODE> - the column containing values to compare<DT><B>Returns:</B><DD>the results of the paired comparison<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an error occurs</DL></DD></DL><HR><A NAME="resultsetKey()"><!-- --></A><H3>resultsetKey</H3><PRE>java.lang.String <B>resultsetKey</B>()</PRE><DL><DD>Creates a key that maps resultset numbers to their descriptions.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a value of type 'String'</DL></DD></DL><HR><A NAME="header(int)"><!-- --></A><H3>header</H3><PRE>java.lang.String <B>header</B>(int&nbsp;comparisonColumn)</PRE><DL><DD>Creates a "header" string describing the current resultsets.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>comparisonColumn</CODE> - a value of type 'int'<DT><B>Returns:</B><DD>a value of type 'String'</DL></DD></DL><HR><A NAME="multiResultsetWins(int, int[][])"><!-- --></A><H3>multiResultsetWins</H3><PRE>int[][] <B>multiResultsetWins</B>(int&nbsp;comparisonColumn,                           int[][]&nbsp;nonSigWin)                           throws java.lang.Exception</PRE><DL><DD>Carries out a comparison between all resultsets, counting the number of datsets where one resultset outperforms the other.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>comparisonColumn</CODE> - the index of the comparison column<DT><B>Returns:</B><DD>a 2d array where element [i][j] is the number of times resultset j performed significantly better than resultset i.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an error occurs</DL></DD></DL><HR><A NAME="multiResultsetSummary(int)"><!-- --></A><H3>multiResultsetSummary</H3><PRE>java.lang.String <B>multiResultsetSummary</B>(int&nbsp;comparisonColumn)                                       throws java.lang.Exception</PRE><DL><DD>Carries out a comparison between all resultsets, counting the number of datsets where one resultset outperforms the other. The results are summarized in a table.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>comparisonColumn</CODE> - the index of the comparison column<DT><B>Returns:</B><DD>the results in a string<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an error occurs</DL></DD></DL><HR><A NAME="multiResultsetRanking(int)"><!-- --></A><H3>multiResultsetRanking</H3><PRE>java.lang.String <B>multiResultsetRanking</B>(int&nbsp;comparisonColumn)                                       throws java.lang.Exception</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE></DL></DD></DL><HR><A NAME="multiResultsetFull(int, int)"><!-- --></A><H3>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?