experiment.html
来自「数据挖掘的最常用工具。由于开源」· HTML 代码 · 共 1,421 行 · 第 1/4 页
HTML
1,421 行
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../weka/experiment/ResultListener.html" title="interface in weka.experiment">ResultListener</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Experiment.html#getResultListener()">getResultListener</A></B>()</CODE><BR> Gets 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> <A HREF="../../weka/experiment/ResultProducer.html" title="interface in weka.experiment">ResultProducer</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Experiment.html#getResultProducer()">getResultProducer</A></B>()</CODE><BR> Get 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> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Experiment.html#getRevision()">getRevision</A></B>()</CODE><BR> Returns the revision string.</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/Experiment.html#getRunLower()">getRunLower</A></B>()</CODE><BR> Get 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> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Experiment.html#getRunUpper()">getRunUpper</A></B>()</CODE><BR> Get 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> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Experiment.html#getUsePropertyIterator()">getUsePropertyIterator</A></B>()</CODE><BR> Gets 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> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Experiment.html#hasMoreIterations()">hasMoreIterations</A></B>()</CODE><BR> Returns true if there are more iterations to carry out in the experiment.</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/Experiment.html#initialize()">initialize</A></B>()</CODE><BR> Prepares an experiment for running, initializing current iterator settings.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.Enumeration</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Experiment.html#listOptions()">listOptions</A></B>()</CODE><BR> Returns an enumeration describing the available options..</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Experiment.html#main(java.lang.String[])">main</A></B>(java.lang.String[] args)</CODE><BR> Configures/Runs the Experiment from the command line.</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/Experiment.html#nextIteration()">nextIteration</A></B>()</CODE><BR> Carries out the next iteration of the experiment.</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/Experiment.html#postProcess()">postProcess</A></B>()</CODE><BR> Signals that the experiment is finished running, so that cleanup can be done.</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/Experiment.html#runExperiment()">runExperiment</A></B>()</CODE><BR> Runs all iterations of the experiment, continuing past errors.</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/Experiment.html#setAdvanceDataSetFirst(boolean)">setAdvanceDataSetFirst</A></B>(boolean newAdvanceDataSetFirst)</CODE><BR> Set the value of m_AdvanceDataSetFirst.</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/Experiment.html#setDatasets(javax.swing.DefaultListModel)">setDatasets</A></B>(javax.swing.DefaultListModel ds)</CODE><BR> Set the datasets to use in the experiment</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/Experiment.html#setNotes(java.lang.String)">setNotes</A></B>(java.lang.String newNotes)</CODE><BR> Set the user notes.</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/Experiment.html#setOptions(java.lang.String[])">setOptions</A></B>(java.lang.String[] options)</CODE><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/Experiment.html#setPropertyArray(java.lang.Object)">setPropertyArray</A></B>(java.lang.Object newPropArray)</CODE><BR> Sets the array of values to set the custom property to.</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/Experiment.html#setPropertyPath(weka.experiment.PropertyNode[])">setPropertyPath</A></B>(<A HREF="../../weka/experiment/PropertyNode.html" title="class in weka.experiment">PropertyNode</A>[] newPropertyPath)</CODE><BR> Sets the path of properties taken to get to the custom property to iterate over.</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/Experiment.html#setResultListener(weka.experiment.ResultListener)">setResultListener</A></B>(<A HREF="../../weka/experiment/ResultListener.html" title="interface in weka.experiment">ResultListener</A> newResultListener)</CODE><BR> 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> 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> newResultProducer)</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Experiment.html#setRunLower(int)">setRunLower</A></B>(int newRunLower)</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Experiment.html#setRunUpper(int)">setRunUpper</A></B>(int newRunUpper)</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Experiment.html#setUsePropertyIterator(boolean)">setUsePropertyIterator</A></B>(boolean newUsePropertyIterator)</CODE><BR> 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> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/Experiment.html#toString()">toString</A></B>()</CODE><BR> Gets a string representation of the experiment configuration.</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"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></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"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></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"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="classFirst(boolean)"><!-- --></A><H3>classFirst</H3><PRE>public void <B>classFirst</B>(boolean 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><DT><B>Parameters:</B><DD><CODE>flag</CODE> - whether the class attribute is the first and not the last</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 newAdvanceDataSetFirst)</PRE><DL><DD>Set the value of m_AdvanceDataSetFirst.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newAdvanceDataSetFirst</CODE> - Value to assign to m_AdvanceRunFirst.</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 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.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?