📄 remoteexperiment.html
字号:
<BR> Launch a sub experiment on a remote host</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/RemoteExperiment.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/RemoteExperiment.html#nextIteration()">nextIteration</A></B>()</CODE><BR> Overides the one in 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/RemoteExperiment.html#postProcess()">postProcess</A></B>()</CODE><BR> overides the one in 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/RemoteExperiment.html#runExperiment()">runExperiment</A></B>()</CODE><BR> Overides runExperiment in 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/RemoteExperiment.html#setBaseExperiment(weka.experiment.Experiment)">setBaseExperiment</A></B>(<A HREF="../../weka/experiment/Experiment.html">Experiment</A> base)</CODE><BR> Set the base 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/RemoteExperiment.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/RemoteExperiment.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/RemoteExperiment.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/RemoteExperiment.html#setPropertyPath(weka.experiment.PropertyNode[])">setPropertyPath</A></B>(<A HREF="../../weka/experiment/PropertyNode.html">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/RemoteExperiment.html#setResultListener(weka.experiment.ResultListener)">setResultListener</A></B>(<A HREF="../../weka/experiment/ResultListener.html">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/RemoteExperiment.html#setResultProducer(weka.experiment.ResultProducer)">setResultProducer</A></B>(<A HREF="../../weka/experiment/ResultProducer.html">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/RemoteExperiment.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/RemoteExperiment.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/RemoteExperiment.html#setSplitByDataSet(boolean)">setSplitByDataSet</A></B>(boolean sd)</CODE><BR> Set whether sub experiments are to be created on the basis of data set.</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/RemoteExperiment.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/RemoteExperiment.html#toString()">toString</A></B>()</CODE><BR> Overides toString in Experiment</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/experiment/RemoteExperiment.html#waitingExperiment(int)">waitingExperiment</A></B>(int expNum)</CODE><BR> Push an experiment back on the queue of waiting experiments</TD></TR></TABLE> <A NAME="methods_inherited_from_class_weka.experiment.Experiment"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class weka.experiment.<A HREF="../../weka/experiment/Experiment.html">Experiment</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../weka/experiment/Experiment.html#classFirst(boolean)">classFirst</A>, <A HREF="../../weka/experiment/Experiment.html#getAdvanceDataSetFirst()">getAdvanceDataSetFirst</A>, <A HREF="../../weka/experiment/Experiment.html#getCurrentDatasetNumber()">getCurrentDatasetNumber</A>, <A HREF="../../weka/experiment/Experiment.html#getCurrentPropertyNumber()">getCurrentPropertyNumber</A>, <A HREF="../../weka/experiment/Experiment.html#getCurrentRunNumber()">getCurrentRunNumber</A>, <A HREF="../../weka/experiment/Experiment.html#getDatasets()">getDatasets</A>, <A HREF="../../weka/experiment/Experiment.html#getNotes()">getNotes</A>, <A HREF="../../weka/experiment/Experiment.html#getOptions()">getOptions</A>, <A HREF="../../weka/experiment/Experiment.html#getPropertyArray()">getPropertyArray</A>, <A HREF="../../weka/experiment/Experiment.html#getPropertyArrayLength()">getPropertyArrayLength</A>, <A HREF="../../weka/experiment/Experiment.html#getPropertyArrayValue(int)">getPropertyArrayValue</A>, <A HREF="../../weka/experiment/Experiment.html#getPropertyPath()">getPropertyPath</A>, <A HREF="../../weka/experiment/Experiment.html#getResultListener()">getResultListener</A>, <A HREF="../../weka/experiment/Experiment.html#getResultProducer()">getResultProducer</A>, <A HREF="../../weka/experiment/Experiment.html#getRunLower()">getRunLower</A>, <A HREF="../../weka/experiment/Experiment.html#getRunUpper()">getRunUpper</A>, <A HREF="../../weka/experiment/Experiment.html#getUsePropertyIterator()">getUsePropertyIterator</A>, <A HREF="../../weka/experiment/Experiment.html#hasMoreIterations()">hasMoreIterations</A>, <A HREF="../../weka/experiment/Experiment.html#listOptions()">listOptions</A>, <A HREF="../../weka/experiment/Experiment.html#setAdvanceDataSetFirst(boolean)">setAdvanceDataSetFirst</A>, <A HREF="../../weka/experiment/Experiment.html#setOptions(java.lang.String[])">setOptions</A>, <A HREF="../../weka/experiment/Experiment.html#setProperty(int, java.lang.Object)">setProperty</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="m_remoteHosts"><!-- --></A><H3>m_remoteHosts</H3><PRE>protected javax.swing.DefaultListModel <B>m_remoteHosts</B></PRE><DL><DD>Holds the names of machines with remoteEngine servers running</DL><HR><A NAME="AVAILABLE"><!-- --></A><H3>AVAILABLE</H3><PRE>protected static final int <B>AVAILABLE</B></PRE><DL></DL><HR><A NAME="IN_USE"><!-- --></A><H3>IN_USE</H3><PRE>protected static final int <B>IN_USE</B></PRE><DL></DL><HR><A NAME="CONNECTION_FAILED"><!-- --></A><H3>CONNECTION_FAILED</H3><PRE>protected static final int <B>CONNECTION_FAILED</B></PRE><DL></DL><HR><A NAME="SOME_OTHER_FAILURE"><!-- --></A><H3>SOME_OTHER_FAILURE</H3><PRE>protected static final int <B>SOME_OTHER_FAILURE</B></PRE><DL></DL><HR><A NAME="MAX_FAILURES"><!-- --></A><H3>MAX_FAILURES</H3><PRE>protected static final int <B>MAX_FAILURES</B></PRE><DL><DD>allow at most 3 failures on a host before it is removed from the listof usable hosts</DL><HR><A NAME="m_subExperiments"><!-- --></A><H3>m_subExperiments</H3><PRE>protected <A HREF="../../weka/experiment/Experiment.html">Experiment</A>[] <B>m_subExperiments</B></PRE><DL><DD>The sub experiments</DL><HR><A NAME="m_subExpComplete"><!-- --></A><H3>m_subExpComplete</H3><PRE>protected int[] <B>m_subExpComplete</B></PRE><DL><DD>The status of each of the sub-experiments</DL><HR><A NAME="m_splitByDataSet"><!-- --></A><H3>m_splitByDataSet</H3><PRE>protected boolean <B>m_splitByDataSet</B></PRE><DL><DD>If true, then sub experiments are created on the basis of data sets rather than run number.</DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="RemoteExperiment(weka.experiment.Experiment)"><!-- --></A><H3>RemoteExperiment</H3><PRE>public <B>RemoteExperiment</B>(<A HREF="../../weka/experiment/Experiment.html">Experiment</A> base) throws java.lang.Exception</PRE><DL><DD>Construct a new RemoteExperiment using a base Experiment<DD><DL><DT><B>Parameters:</B><DD><CODE>base</CODE> - the base experiment to use</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getSplitByDataSet()"><!-- --></A><H3>getSplitByDataSet</H3><PRE>public boolean <B>getSplitByDataSet</B>()</PRE><DL><DD>Returns true if sub experiments are to be created on the basis of data set..<DD><DL><DT><B>Returns:</B><DD>a <code>boolean</code> value indicating whether sub experiments are to be created on the basis of data set (true) or run number (false).</DL></DD></DL><HR><A NAME="setSplitByDataSet(boolean)"><!-- --></A><H3>setSplitByDataSet</H3><PRE>public void <B>setSplitByDataSet</B>(boolean sd)</PRE><DL><DD>Set whether sub experiments are to be created on the basis of data set.<DD><DL><DT><B>Parameters:</B><DD><CODE>sd</CODE> - true if sub experiments are to be created on the basis of data set. Otherwise sub experiments are created on the basis of run number.</DL></DD></DL><HR><A NAME="addRemoteExperimentListener(weka.experiment.RemoteExperimentListener)"><!-- --></A><H3>addRemoteExperimentListener</H3><PRE>public void <B>addRemoteExperimentListener</B>(<A HREF="../../weka/experiment/RemoteExperimentListener.html">RemoteExperimentListener</A> r)</PRE><DL><DD>Add an object to the list of those interested in recieving update information from the RemoteExperiment<DD><DL><DT><B>Parameters:</B><DD><CODE>r</CODE> - a listener</DL></DD></DL><HR><A NAME="getBaseExperiment()"><!-- --></A><H3>getBaseExperiment</H3><PRE>public <A HREF="../../weka/experiment/Experiment.html">Experiment</A> <B>getBaseExperiment</B>()</PRE><DL><DD>Get the base experiment used by this remote experiment<DD><DL><DT><B>Returns:</B><DD>the base experiment</DL></DD></DL><HR><A NAME="setBaseExperiment(weka.experiment.Experiment)"><!-- --></A><H3>setBaseExperiment</H3><PRE>public void <B>setBaseExperiment</B>(<A HREF="../../weka/experiment/Experiment.html">Experiment</A> base) throws java.lang.Exception</PRE><DL><DD>Set the base experiment. A sub experiment will be created for each run in the base experiment.<DD><DL><DT><B>Parameters:</B><DD><CODE>base</CODE> - the base experiment to use.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if supplied base experiment is null</DL></DD></DL><HR><A NAME="setNotes(java.lang.String)"><!-- --></A><H3>setNotes</H3><PRE>public void <B>setNotes</B>(java.lang.String newNotes)</PRE><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -