📄 pairedttester.html
字号:
<BR> Parses a given list of options.</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/PairedTTester.html#setProduceCSV(boolean)">setProduceCSV</A></B>(boolean c)</CODE><BR> Set whether csv is output</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/PairedTTester.html#setProduceLatex(boolean)">setProduceLatex</A></B>(boolean l)</CODE><BR> Set whether latex is output</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/PairedTTester.html#setResultsetKeyColumns(weka.core.Range)">setResultsetKeyColumns</A></B>(<A HREF="../../weka/core/Range.html" title="class in weka.core">Range</A> newResultsetKeyColumns)</CODE><BR> Set the value of ResultsetKeyColumns.</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/PairedTTester.html#setRunColumn(int)">setRunColumn</A></B>(int newRunColumn)</CODE><BR> Set the value of RunColumn.</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/PairedTTester.html#setShowStdDevs(boolean)">setShowStdDevs</A></B>(boolean s)</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/PairedTTester.html#setSignificanceLevel(double)">setSignificanceLevel</A></B>(double newSignificanceLevel)</CODE><BR> Set the value of SignificanceLevel.</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/PairedTTester.html#setStdDevPrec(int)">setStdDevPrec</A></B>(int precision)</CODE><BR> Sets the precision of the std.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="PairedTTester()"><!-- --></A><H3>PairedTTester</H3><PRE>public <B>PairedTTester</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="setMeanPrec(int)"><!-- --></A><H3>setMeanPrec</H3><PRE>public void <B>setMeanPrec</B>(int precision)</PRE><DL><DD>Sets the precision of the mean output<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>precision</CODE> - the number of digits used in printing the mean</DL></DD></DL><HR><A NAME="getMeanPrec()"><!-- --></A><H3>getMeanPrec</H3><PRE>public int <B>getMeanPrec</B>()</PRE><DL><DD>Gets the precision used for printing the mean<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of digits used in printing the mean</DL></DD></DL><HR><A NAME="setStdDevPrec(int)"><!-- --></A><H3>setStdDevPrec</H3><PRE>public void <B>setStdDevPrec</B>(int precision)</PRE><DL><DD>Sets the precision of the std. deviation output<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>precision</CODE> - the number of digits used in printing the std. deviation</DL></DD></DL><HR><A NAME="getStdDevPrec()"><!-- --></A><H3>getStdDevPrec</H3><PRE>public int <B>getStdDevPrec</B>()</PRE><DL><DD>Gets the precision used for printing the std. deviation<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of digits used in printing the std. deviation</DL></DD></DL><HR><A NAME="setProduceLatex(boolean)"><!-- --></A><H3>setProduceLatex</H3><PRE>public void <B>setProduceLatex</B>(boolean l)</PRE><DL><DD>Set whether latex is output<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>l</CODE> - true if tables are to be produced in Latex format</DL></DD></DL><HR><A NAME="getProduceLatex()"><!-- --></A><H3>getProduceLatex</H3><PRE>public boolean <B>getProduceLatex</B>()</PRE><DL><DD>Get whether latex is output<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if Latex is to be output</DL></DD></DL><HR><A NAME="setProduceCSV(boolean)"><!-- --></A><H3>setProduceCSV</H3><PRE>public void <B>setProduceCSV</B>(boolean c)</PRE><DL><DD>Set whether csv is output<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - true if tables are to be produced in csv format</DL></DD></DL><HR><A NAME="getProduceCSV()"><!-- --></A><H3>getProduceCSV</H3><PRE>public boolean <B>getProduceCSV</B>()</PRE><DL><DD>Get whether csv is output<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if csv is to be output</DL></DD></DL><HR><A NAME="setShowStdDevs(boolean)"><!-- --></A><H3>setShowStdDevs</H3><PRE>public void <B>setShowStdDevs</B>(boolean 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>public 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>public 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>public 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="getNumDisplayedResultsets()"><!-- --></A><H3>getNumDisplayedResultsets</H3><PRE>public int <B>getNumDisplayedResultsets</B>()</PRE><DL><DD>Gets the number of displayed resultsets in the data.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of displayed resultsets in the data</DL></DD></DL><HR><A NAME="getResultsetName(int)"><!-- --></A><H3>getResultsetName</H3><PRE>public java.lang.String <B>getResultsetName</B>(int 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>public boolean <B>displayResultset</B>(int 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>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></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></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></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></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>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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -