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

📄 randomsplitresultproducer.html

📁 由java开发的软件包
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<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;listener)</PRE><DL><DD>Sets the object to send results of each run to.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/ResultProducer.html#setResultListener(weka.experiment.ResultListener)">setResultListener</A></CODE> in interface <CODE><A HREF="../../weka/experiment/ResultProducer.html" title="interface in weka.experiment">ResultProducer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - a value of type 'ResultListener'</DL></DD></DL><HR><A NAME="getTimestamp()"><!-- --></A><H3>getTimestamp</H3><PRE>public static java.lang.Double <B>getTimestamp</B>()</PRE><DL><DD>Gets a Double representing the current date and time. eg: 1:46pm on 20/5/1999 -> 19990520.1346<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a value of type Double</DL></DD></DL><HR><A NAME="preProcess()"><!-- --></A><H3>preProcess</H3><PRE>public void <B>preProcess</B>()                throws java.lang.Exception</PRE><DL><DD>Prepare to generate results.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/ResultProducer.html#preProcess()">preProcess</A></CODE> in interface <CODE><A HREF="../../weka/experiment/ResultProducer.html" title="interface in weka.experiment">ResultProducer</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an error occurs during preprocessing.</DL></DD></DL><HR><A NAME="postProcess()"><!-- --></A><H3>postProcess</H3><PRE>public void <B>postProcess</B>()                 throws java.lang.Exception</PRE><DL><DD>Perform any postprocessing. When this method is called, it indicates that no more requests to generate results for the current experiment will be sent.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/ResultProducer.html#postProcess()">postProcess</A></CODE> in interface <CODE><A HREF="../../weka/experiment/ResultProducer.html" title="interface in weka.experiment">ResultProducer</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an error occurs</DL></DD></DL><HR><A NAME="doRunKeys(int)"><!-- --></A><H3>doRunKeys</H3><PRE>public void <B>doRunKeys</B>(int&nbsp;run)               throws java.lang.Exception</PRE><DL><DD>Gets the keys for a specified run number. Different run numbers correspond to different randomizations of the data. Keys produced should be sent to the current ResultListener<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/ResultProducer.html#doRunKeys(int)">doRunKeys</A></CODE> in interface <CODE><A HREF="../../weka/experiment/ResultProducer.html" title="interface in weka.experiment">ResultProducer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>run</CODE> - the run number to get keys for.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if a problem occurs while getting the keys</DL></DD></DL><HR><A NAME="doRun(int)"><!-- --></A><H3>doRun</H3><PRE>public void <B>doRun</B>(int&nbsp;run)           throws java.lang.Exception</PRE><DL><DD>Gets the results for a specified run number. Different run numbers correspond to different randomizations of the data. Results produced should be sent to the current ResultListener<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/ResultProducer.html#doRun(int)">doRun</A></CODE> in interface <CODE><A HREF="../../weka/experiment/ResultProducer.html" title="interface in weka.experiment">ResultProducer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>run</CODE> - the run number to get results for.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if a problem occurs while getting the results</DL></DD></DL><HR><A NAME="getKeyNames()"><!-- --></A><H3>getKeyNames</H3><PRE>public java.lang.String[] <B>getKeyNames</B>()</PRE><DL><DD>Gets the names of each of the columns produced for a single run. This method should really be static.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/ResultProducer.html#getKeyNames()">getKeyNames</A></CODE> in interface <CODE><A HREF="../../weka/experiment/ResultProducer.html" title="interface in weka.experiment">ResultProducer</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array containing the name of each column</DL></DD></DL><HR><A NAME="getKeyTypes()"><!-- --></A><H3>getKeyTypes</H3><PRE>public java.lang.Object[] <B>getKeyTypes</B>()</PRE><DL><DD>Gets the data types of each of the columns produced for a single run. This method should really be static.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/ResultProducer.html#getKeyTypes()">getKeyTypes</A></CODE> in interface <CODE><A HREF="../../weka/experiment/ResultProducer.html" title="interface in weka.experiment">ResultProducer</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array containing objects of the type of each column. The  objects should be Strings, or Doubles.</DL></DD></DL><HR><A NAME="getResultNames()"><!-- --></A><H3>getResultNames</H3><PRE>public java.lang.String[] <B>getResultNames</B>()</PRE><DL><DD>Gets the names of each of the columns produced for a single run. This method should really be static.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/ResultProducer.html#getResultNames()">getResultNames</A></CODE> in interface <CODE><A HREF="../../weka/experiment/ResultProducer.html" title="interface in weka.experiment">ResultProducer</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array containing the name of each column</DL></DD></DL><HR><A NAME="getResultTypes()"><!-- --></A><H3>getResultTypes</H3><PRE>public java.lang.Object[] <B>getResultTypes</B>()</PRE><DL><DD>Gets the data types of each of the columns produced for a single run. This method should really be static.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/ResultProducer.html#getResultTypes()">getResultTypes</A></CODE> in interface <CODE><A HREF="../../weka/experiment/ResultProducer.html" title="interface in weka.experiment">ResultProducer</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array containing objects of the type of each column. The  objects should be Strings, or Doubles.</DL></DD></DL><HR><A NAME="getCompatibilityState()"><!-- --></A><H3>getCompatibilityState</H3><PRE>public java.lang.String <B>getCompatibilityState</B>()</PRE><DL><DD>Gets a description of the internal settings of the result producer, sufficient for distinguishing a ResultProducer instance from another with different settings (ignoring those settings set through this interface). For example, a cross-validation ResultProducer may have a setting for the number of folds. For a given state, the results produced should be compatible. Typically if a ResultProducer is an OptionHandler, this string will represent the command line arguments required to set the ResultProducer to that state.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/ResultProducer.html#getCompatibilityState()">getCompatibilityState</A></CODE> in interface <CODE><A HREF="../../weka/experiment/ResultProducer.html" title="interface in weka.experiment">ResultProducer</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the description of the ResultProducer state, or null if no state is defined</DL></DD></DL><HR><A NAME="outputFileTipText()"><!-- --></A><H3>outputFileTipText</H3><PRE>public java.lang.String <B>outputFileTipText</B>()</PRE><DL><DD>Returns the tip text for this property<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>tip text for this property suitable for displaying in the explorer/experimenter gui</DL></DD></DL><HR><A NAME="getOutputFile()"><!-- --></A><H3>getOutputFile</H3><PRE>public java.io.File <B>getOutputFile</B>()</PRE><DL><DD>Get the value of OutputFile.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of OutputFile.</DL></DD></DL><HR><A NAME="setOutputFile(java.io.File)"><!-- --></A><H3>setOutputFile</H3><PRE>public void <B>setOutputFile</B>(java.io.File&nbsp;newOutputFile)</PRE><DL><DD>Set the value of OutputFile.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newOutputFile</CODE> - Value to assign to OutputFile.</DL></DD></DL><HR><A NAME="randomizeDataTipText()"><!-- --></A><H3>randomizeDataTipText</H3><PRE>public java.lang.String <B>randomizeDataTipText</B>()</PRE><DL><DD>Returns the tip text for this property<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>tip text for this property suitable for displaying in the explorer/experimenter gui</DL></DD></DL><HR><A NAME="getRandomizeData()"><!-- --></A><H3>getRandomizeData</H3><PRE>public boolean <B>getRandomizeData</B>()</PRE><DL><DD>Get if dataset is to be randomized<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if dataset is to be randomized</DL></DD></DL><HR><A NAME="setRandomizeData(boolean)"><!-- --></A><H3>setRandomizeData</H3><PRE>public void <B>setRandomizeData</B>(boolean&nbsp;d)</PRE><DL><DD>Set to true if dataset is to be randomized<P><DD><DL></DL></DD>

⌨️ 快捷键说明

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