📄 pairedttester.html
字号:
public boolean <B>displayResultset</B>(int index)</PRE><DL><DD>Checks whether the resultset with the given index shall be displayed.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/Tester.html#displayResultset(int)">displayResultset</A></CODE> in interface <CODE><A HREF="../../weka/experiment/Tester.html" title="interface in weka.experiment">Tester</A></CODE></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>public <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> datasetSpecifier, int resultset1Index, int resultset2Index, int comparisonColumn) throws java.lang.Exception</PRE><DL><DD>Computes a paired t-test comparison for a specified dataset between two resultsets.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/Tester.html#calculateStatistics(weka.core.Instance, int, int, int)">calculateStatistics</A></CODE> in interface <CODE><A HREF="../../weka/experiment/Tester.html" title="interface in weka.experiment">Tester</A></CODE></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>public java.lang.String <B>resultsetKey</B>()</PRE><DL><DD>Creates a key that maps resultset numbers to their descriptions.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/Tester.html#resultsetKey()">resultsetKey</A></CODE> in interface <CODE><A HREF="../../weka/experiment/Tester.html" title="interface in weka.experiment">Tester</A></CODE></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>public java.lang.String <B>header</B>(int comparisonColumn)</PRE><DL><DD>Creates a "header" string describing the current resultsets.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/Tester.html#header(int)">header</A></CODE> in interface <CODE><A HREF="../../weka/experiment/Tester.html" title="interface in weka.experiment">Tester</A></CODE></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>public int[][] <B>multiResultsetWins</B>(int comparisonColumn, int[][] 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><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/Tester.html#multiResultsetWins(int, int[][])">multiResultsetWins</A></CODE> in interface <CODE><A HREF="../../weka/experiment/Tester.html" title="interface in weka.experiment">Tester</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>comparisonColumn</CODE> - the index of the comparison column<DD><CODE>nonSigWin</CODE> - for storing the non-significant wins<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>public java.lang.String <B>multiResultsetSummary</B>(int 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><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/Tester.html#multiResultsetSummary(int)">multiResultsetSummary</A></CODE> in interface <CODE><A HREF="../../weka/experiment/Tester.html" title="interface in weka.experiment">Tester</A></CODE></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>public java.lang.String <B>multiResultsetRanking</B>(int comparisonColumn) throws java.lang.Exception</PRE><DL><DD>returns a ranking of the resultsets<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/Tester.html#multiResultsetRanking(int)">multiResultsetRanking</A></CODE> in interface <CODE><A HREF="../../weka/experiment/Tester.html" title="interface in weka.experiment">Tester</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>comparisonColumn</CODE> - the column to compare with<DT><B>Returns:</B><DD>the ranking<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if something goes wrong</DL></DD></DL><HR><A NAME="multiResultsetFull(int, int)"><!-- --></A><H3>multiResultsetFull</H3><PRE>public java.lang.String <B>multiResultsetFull</B>(int baseResultset, int comparisonColumn) throws java.lang.Exception</PRE><DL><DD>Creates a comparison table where a base resultset is compared to the other resultsets. Results are presented for every dataset.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/Tester.html#multiResultsetFull(int, int)">multiResultsetFull</A></CODE> in interface <CODE><A HREF="../../weka/experiment/Tester.html" title="interface in weka.experiment">Tester</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>baseResultset</CODE> - the index of the base resultset<DD><CODE>comparisonColumn</CODE> - the index of the column to compare over<DT><B>Returns:</B><DD>the comparison table string<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an error occurs</DL></DD></DL><HR><A NAME="listOptions()"><!-- --></A><H3>listOptions</H3><PRE>public java.util.Enumeration <B>listOptions</B>()</PRE><DL><DD>Lists options understood by this object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/core/OptionHandler.html#listOptions()">listOptions</A></CODE> in interface <CODE><A HREF="../../weka/core/OptionHandler.html" title="interface in weka.core">OptionHandler</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an enumeration of Options.</DL></DD></DL><HR><A NAME="setOptions(java.lang.String[])"><!-- --></A><H3>setOptions</H3><PRE>public void <B>setOptions</B>(java.lang.String[] options) throws java.lang.Exception</PRE><DL><DD>Parses a given list of options. <p/> <!-- options-start --> Valid options are: <p/> <pre> -D <index,index2-index4,...> Specify list of columns that specify a unique dataset. First and last are valid indexes. (default none)</pre> <pre> -R <index> Set the index of the column containing the run number</pre> <pre> -F <index> Set the index of the column containing the fold number</pre> <pre> -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)</pre> <pre> -S <significance level> Set the significance level for comparisons (default 0.05)</pre> <pre> -V Show standard deviations</pre> <pre> -L Produce table comparisons in Latex table format</pre> <pre> -csv Produce table comparisons in CSV table format</pre> <pre> -html Produce table comparisons in HTML table format</pre> <pre> -significance Produce table comparisons with only the significance values</pre> <pre> -gnuplot Produce table comparisons output suitable for GNUPlot</pre> <!-- options-end --><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/core/OptionHandler.html#setOptions(java.lang.String[])">setOptions</A></CODE> in interface <CODE><A HREF="../../weka/core/OptionHandler.html" title="interface in weka.core">OptionHandler</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>options</CODE> - an array containing options to set.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if invalid options are given</DL></DD></DL><HR><A NAME="getOptions()"><!-- --></A><H3>getOptions</H3><PRE>public java.lang.String[] <B>getOptions</B>()</PRE><DL><DD>Gets current settings of the PairedTTester.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/core/OptionHandler.html#getOptions()">getOptions</A></CODE> in interface <CODE><A HREF="../../weka/core/OptionHandler.html" title="interface in weka.core">OptionHandler</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array of strings containing current options.</DL></DD></DL><HR><A NAME="getResultsetKeyColumns()"><!-- --></A><H3>getResultsetKeyColumns</H3><PRE>public <A HREF="../../weka/core/Range.html" title="class in weka.core">Range</A> <B>getResultsetKeyColumns</B>()</PRE><DL><DD>Get the value of ResultsetKeyColumns.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/Tester.html#getResultsetKeyColumns()">getResultsetKeyColumns</A></CODE> in interface <CODE><A HREF="../../weka/experiment/Tester.html" title="interface in weka.experiment">Tester</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of ResultsetKeyColumns.</DL></DD></DL><HR><A NAME="setResultsetKeyColumns(weka.core.Range)"><!-- --></A><H3>setResultsetKeyColumns</H3><PRE>public void <B>setResultsetKeyColumns</B>(<A HREF="../../weka/core/Range.html" title="class in weka.core">Range</A> newResultsetKeyColumns)</PRE><DL><DD>Set the value of ResultsetKeyColumns.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/Tester.html#setResultsetKeyColumns(weka.core.Range)">setResultsetKeyColumns</A></CODE> in interface <CODE><A HREF="../../weka/experiment/Tester.html" title="interface in weka.experiment">Tester</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newResultsetKeyColumns</CODE> - Value to assign to ResultsetKeyColumns.</DL></DD></DL><HR><A NAME="getDisplayedResultsets()"><!-- --></A><H3>getDisplayedResultsets</H3><PRE>public int[] <B>getDisplayedResultsets</B>()</PRE><DL><DD>Gets the indices of the the datasets that are displayed (if <code>null</code> then all are displayed). The base is always displayed.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/Tester.html#getDisplayedResultsets()">getDisplayedResultsets</A></CODE> in interface <CODE><A HREF="../../weka/experiment/Tester.html" title="interface in weka.experiment">Tester</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the indices of the datasets to display</DL></DD></DL><HR><A NAME="setDisplayedResultsets(int[])"><!-- --></A><H3>setDisplayedResultsets</H3><PRE>public void <B>setDisplayedResultsets</B>(int[] cols)</PRE><DL><DD>Sets the indicies of the datasets to display (<code>null</code> means all). The base is always displayed.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/Tester.html#setDisplayedResultsets(int[])">setDisplayedResultsets</A></CODE> in interface <CODE><A HREF="../../weka/experiment/Tester.html" title="interface in weka.experiment">Tester</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>cols</CODE> - the indices of the datasets to display</DL></DD></DL><HR><A NAME="getSignificanceLevel()"><!-- --></A><H3>getSignificanceLevel</H3><PRE>public double <B>getSignificanceLevel</B>()</PRE><DL><DD>Get the value of SignificanceLevel.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/Tester.html#getSignificanceLevel()">getSignificanceLevel</A></CODE> in interface <CODE><A HREF="../../weka/experiment/Tester.html" title="interface in weka.experiment">Tester</A></CODE></DL></DD><DD><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -