⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 experiment.html

📁 由java开发的软件包
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</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/Experiment.html#setResultListener(weka.experiment.ResultListener)">setResultListener</A></B>(<A HREF="../../weka/experiment/ResultListener.html" title="interface in weka.experiment">ResultListener</A>&nbsp;newResultListener)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the result listener where results will be sent.</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/Experiment.html#setResultProducer(weka.experiment.ResultProducer)">setResultProducer</A></B>(<A HREF="../../weka/experiment/ResultProducer.html" title="interface in weka.experiment">ResultProducer</A>&nbsp;newResultProducer)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the result producer used for the current experiment.</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/Experiment.html#setRunLower(int)">setRunLower</A></B>(int&nbsp;newRunLower)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the lower run number for the experiment.</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/Experiment.html#setRunUpper(int)">setRunUpper</A></B>(int&nbsp;newRunUpper)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the upper run number for the experiment.</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/Experiment.html#setUsePropertyIterator(boolean)">setUsePropertyIterator</A></B>(boolean&nbsp;newUsePropertyIterator)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether the custom property iterator should be used.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Experiment.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a string representation of the experiment configuration.</TD></TR></TABLE>&nbsp;<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, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="FILE_EXTENSION"><!-- --></A><H3>FILE_EXTENSION</H3><PRE>public static java.lang.String <B>FILE_EXTENSION</B></PRE><DL><DD>The filename extension that should be used for experiment files<P><DL></DL></DL><!-- ========= 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="Experiment()"><!-- --></A><H3>Experiment</H3><PRE>public <B>Experiment</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="classFirst(boolean)"><!-- --></A><H3>classFirst</H3><PRE>public void <B>classFirst</B>(boolean&nbsp;flag)</PRE><DL><DD>Sets whether the first attribute is treated as the class for all datasets involved in the experiment. This information is not output with the result of the experiments!<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getAdvanceDataSetFirst()"><!-- --></A><H3>getAdvanceDataSetFirst</H3><PRE>public boolean <B>getAdvanceDataSetFirst</B>()</PRE><DL><DD>Get the value of m_DataSetFirstFirst.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of m_DataSetFirstFirst.</DL></DD></DL><HR><A NAME="setAdvanceDataSetFirst(boolean)"><!-- --></A><H3>setAdvanceDataSetFirst</H3><PRE>public void <B>setAdvanceDataSetFirst</B>(boolean&nbsp;newAdvanceDataSetFirst)</PRE><DL><DD>Set the value of m_AdvanceDataSetFirst.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getUsePropertyIterator()"><!-- --></A><H3>getUsePropertyIterator</H3><PRE>public boolean <B>getUsePropertyIterator</B>()</PRE><DL><DD>Gets whether the custom property iterator should be used.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if so</DL></DD></DL><HR><A NAME="setUsePropertyIterator(boolean)"><!-- --></A><H3>setUsePropertyIterator</H3><PRE>public void <B>setUsePropertyIterator</B>(boolean&nbsp;newUsePropertyIterator)</PRE><DL><DD>Sets whether the custom property iterator should be used.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newUsePropertyIterator</CODE> - true if so</DL></DD></DL><HR><A NAME="getPropertyPath()"><!-- --></A><H3>getPropertyPath</H3><PRE>public <A HREF="../../weka/experiment/PropertyNode.html" title="class in weka.experiment">PropertyNode</A>[] <B>getPropertyPath</B>()</PRE><DL><DD>Gets the path of properties taken to get to the custom property to iterate over.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array of PropertyNodes</DL></DD></DL><HR><A NAME="setPropertyPath(weka.experiment.PropertyNode[])"><!-- --></A><H3>setPropertyPath</H3><PRE>public void <B>setPropertyPath</B>(<A HREF="../../weka/experiment/PropertyNode.html" title="class in weka.experiment">PropertyNode</A>[]&nbsp;newPropertyPath)</PRE><DL><DD>Sets the path of properties taken to get to the custom property to iterate over.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newPropertyPath</CODE> - an array of PropertyNodes</DL></DD></DL><HR><A NAME="setPropertyArray(java.lang.Object)"><!-- --></A><H3>setPropertyArray</H3><PRE>public void <B>setPropertyArray</B>(java.lang.Object&nbsp;newPropArray)</PRE><DL><DD>Sets the array of values to set the custom property to.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newPropArray</CODE> - a value of type Object which should be an array of the appropriate values.</DL></DD></DL><HR><A NAME="getPropertyArray()"><!-- --></A><H3>getPropertyArray</H3><PRE>public java.lang.Object <B>getPropertyArray</B>()</PRE><DL><DD>Gets the array of values to set the custom property to.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a value of type Object which should be an array of the appropriate values.</DL></DD></DL><HR><A NAME="getPropertyArrayLength()"><!-- --></A><H3>getPropertyArrayLength</H3><PRE>public int <B>getPropertyArrayLength</B>()</PRE><DL><DD>Gets the number of custom iterator values that have been defined for the experiment.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of custom property iterator values.</DL></DD></DL><HR><A NAME="getPropertyArrayValue(int)"><!-- --></A><H3>getPropertyArrayValue</H3><PRE>public java.lang.Object <B>getPropertyArrayValue</B>(int&nbsp;index)</PRE><DL><DD>Gets a specified value from the custom property iterator array.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the value wanted<DT><B>Returns:</B><DD>the property array value</DL></DD></DL><HR><A NAME="getCurrentRunNumber()"><!-- --></A><H3>getCurrentRunNumber</H3><PRE>public int <B>getCurrentRunNumber</B>()</PRE><DL><DD>When an experiment is running, this returns the current run number.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current run number.</DL></DD></DL><HR><A NAME="getCurrentDatasetNumber()"><!-- --></A><H3>getCurrentDatasetNumber</H3><PRE>public int <B>getCurrentDatasetNumber</B>()</PRE><DL><DD>When an experiment is running, this returns the current dataset number.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current dataset number.</DL></DD></DL><HR><A NAME="getCurrentPropertyNumber()"><!-- --></A><H3>getCurrentPropertyNumber</H3><PRE>public int <B>getCurrentPropertyNumber</B>()</PRE><DL><DD>When an experiment is running, this returns the index of the current custom property value.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the index of the current custom property value.</DL></DD></DL><HR><A NAME="initialize()"><!-- --></A><H3>initialize</H3><PRE>public void <B>initialize</B>()                throws java.lang.Exception</PRE><DL><DD>Prepares an experiment for running, initializing current iterator settings.<P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an error occurs</DL></DD></DL><HR><A NAME="hasMoreIterations()"><!-- --></A><H3>hasMoreIterations</H3><PRE>public boolean <B>hasMoreIterations</B>()</PRE><DL><DD>Returns true if there are more iterations to carry out in the experiment.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if so</DL></DD></DL><HR><A NAME="nextIteration()"><!-- --></A><H3>nextIteration</H3><PRE>public void <B>nextIteration</B>()                   throws java.lang.Exception</PRE><DL><DD>Carries out the next iteration of the experiment.<P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an error occurs</DL></DD></DL><HR><A NAME="advanceCounters()"><!-- --></A><H3>advanceCounters</H3><PRE>public void <B>advanceCounters</B>()</PRE><DL><DD>Increments iteration counters appropriately.<P><DD><DL>

⌨️ 快捷键说明

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