experiment.html

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

HTML
1,421
字号
<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></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="runExperiment()"><!-- --></A><H3>runExperiment</H3><PRE>public void <B>runExperiment</B>()</PRE><DL><DD>Runs all iterations of the experiment, continuing past errors.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="postProcess()"><!-- --></A><H3>postProcess</H3><PRE>public void <B>postProcess</B>()                 throws java.lang.Exception</PRE><DL><DD>Signals that the experiment is finished running, so that cleanup can be done.<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="getDatasets()"><!-- --></A><H3>getDatasets</H3><PRE>public javax.swing.DefaultListModel <B>getDatasets</B>()</PRE><DL><DD>Gets the datasets in the experiment.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the datasets in the experiment.</DL></DD></DL><HR><A NAME="setDatasets(javax.swing.DefaultListModel)"><!-- --></A><H3>setDatasets</H3><PRE>public void <B>setDatasets</B>(javax.swing.DefaultListModel&nbsp;ds)</PRE><DL><DD>Set the datasets to use in the experiment<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>ds</CODE> - the list of datasets to use</DL></DD></DL><HR><A NAME="getResultListener()"><!-- --></A><H3>getResultListener</H3><PRE>public <A HREF="../../weka/experiment/ResultListener.html" title="interface in weka.experiment">ResultListener</A> <B>getResultListener</B>()</PRE><DL><DD>Gets the result listener where results will be sent.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the result listener where results will be sent.</DL></DD></DL><HR><A NAME="setResultListener(weka.experiment.ResultListener)"><!-- --></A><H3>setResultListener</H3><PRE>public void <B>setResultListener</B>(<A HREF="../../weka/experiment/ResultListener.html" title="interface in weka.experiment">ResultListener</A>&nbsp;newResultListener)</PRE><DL><DD>Sets the result listener where results will be sent.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newResultListener</CODE> - the result listener where results will be sent.</DL></DD></DL><HR><A NAME="getResultProducer()"><!-- --></A><H3>getResultProducer</H3><PRE>public <A HREF="../../weka/experiment/ResultProducer.html" title="interface in weka.experiment">ResultProducer</A> <B>getResultProducer</B>()</PRE><DL><DD>Get the result producer used for the current experiment.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the result producer used for the current experiment.</DL></DD></DL><HR><A NAME="setResultProducer(weka.experiment.ResultProducer)"><!-- --></A><H3>setResultProducer</H3><PRE>public void <B>setResultProducer</B>(<A HREF="../../weka/experiment/ResultProducer.html" title="interface in weka.experiment">ResultProducer</A>&nbsp;newResultProducer)</PRE><DL><DD>Set the result producer used for the current experiment.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newResultProducer</CODE> - result producer to use for the current  experiment.</DL></DD></DL>

⌨️ 快捷键说明

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