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

📄 learningrateresultproducer.html

📁 由java开发的软件包
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<PRE>public void <B>postProcess</B>(<A HREF="../../weka/experiment/ResultProducer.html" title="interface in weka.experiment">ResultProducer</A>&nbsp;rp)                 throws java.lang.Exception</PRE><DL><DD>When this method is called, it indicates that no more results will be sent that need to be grouped together in any way.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/ResultListener.html#postProcess(weka.experiment.ResultProducer)">postProcess</A></CODE> in interface <CODE><A HREF="../../weka/experiment/ResultListener.html" title="interface in weka.experiment">ResultListener</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rp</CODE> - the ResultProducer that generated the results<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an error occurs</DL></DD></DL><HR><A NAME="postProcess()"><!-- --></A><H3>postProcess</H3><PRE>public void <B>postProcess</B>()                 throws java.lang.Exception</PRE><DL><DD>When this method is called, it indicates that no more requests to generate results for the current experiment will be sent. The ResultProducer should call preProcess(this) on the ResultListener it is to send results to.<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="acceptResult(weka.experiment.ResultProducer, java.lang.Object[], java.lang.Object[])"><!-- --></A><H3>acceptResult</H3><PRE>public void <B>acceptResult</B>(<A HREF="../../weka/experiment/ResultProducer.html" title="interface in weka.experiment">ResultProducer</A>&nbsp;rp,                         java.lang.Object[]&nbsp;key,                         java.lang.Object[]&nbsp;result)                  throws java.lang.Exception</PRE><DL><DD>Accepts results from a ResultProducer.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/ResultListener.html#acceptResult(weka.experiment.ResultProducer, java.lang.Object[], java.lang.Object[])">acceptResult</A></CODE> in interface <CODE><A HREF="../../weka/experiment/ResultListener.html" title="interface in weka.experiment">ResultListener</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rp</CODE> - the ResultProducer that generated the results<DD><CODE>key</CODE> - an array of Objects (Strings or Doubles) that uniquely identify a result for a given ResultProducer with given compatibilityState<DD><CODE>result</CODE> - the results stored in an array. The objects stored in the array may be Strings, Doubles, or null (for the missing value).<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the result could not be accepted.</DL></DD></DL><HR><A NAME="isResultRequired(weka.experiment.ResultProducer, java.lang.Object[])"><!-- --></A><H3>isResultRequired</H3><PRE>public boolean <B>isResultRequired</B>(<A HREF="../../weka/experiment/ResultProducer.html" title="interface in weka.experiment">ResultProducer</A>&nbsp;rp,                                java.lang.Object[]&nbsp;key)                         throws java.lang.Exception</PRE><DL><DD>Determines whether the results for a specified key must be generated.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/ResultListener.html#isResultRequired(weka.experiment.ResultProducer, java.lang.Object[])">isResultRequired</A></CODE> in interface <CODE><A HREF="../../weka/experiment/ResultListener.html" title="interface in weka.experiment">ResultListener</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rp</CODE> - the ResultProducer wanting to generate the results<DD><CODE>key</CODE> - an array of Objects (Strings or Doubles) that uniquely identify a result for a given ResultProducer with given compatibilityState<DT><B>Returns:</B><DD>true if the result should be generated<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if it could not be determined if the result  is needed.</DL></DD></DL><HR><A NAME="getKeyNames()"><!-- --></A><H3>getKeyNames</H3><PRE>public java.lang.String[] <B>getKeyNames</B>()                               throws java.lang.Exception</PRE><DL><DD>Gets the names of each of the columns produced for a single run.<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<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if key names cannot be generated</DL></DD></DL><HR><A NAME="getKeyTypes()"><!-- --></A><H3>getKeyTypes</H3><PRE>public java.lang.Object[] <B>getKeyTypes</B>()                               throws java.lang.Exception</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.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the key types could not be determined (perhaps because of a problem from a nested sub-resultproducer)</DL></DD></DL><HR><A NAME="getResultNames()"><!-- --></A><H3>getResultNames</H3><PRE>public java.lang.String[] <B>getResultNames</B>()                                  throws java.lang.Exception</PRE><DL><DD>Gets the names of each of the columns produced for a single run. A new result field is added for the number of results used to produce each average. If only averages are being produced the names are not altered, if standard deviations are produced then "Dev_" and "Avg_" are prepended to each result deviation and average field respectively.<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<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the result names could not be determined (perhaps because of a problem from a nested sub-resultproducer)</DL></DD></DL><HR><A NAME="getResultTypes()"><!-- --></A><H3>getResultTypes</H3><PRE>public java.lang.Object[] <B>getResultTypes</B>()                                  throws java.lang.Exception</PRE><DL><DD>Gets the data types of each of the columns produced for a single run.<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.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the result types could not be determined (perhaps because of a problem from a nested sub-resultproducer)</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="listOptions()"><!-- --></A><H3>listOptions</H3><PRE>public java.util.Enumeration <B>listOptions</B>()</PRE><DL><DD>Returns an enumeration describing the available options..<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/core/OptionHandler.html#listOptions()">listOptions</A></CODE> in interface <CODE><A HREF="../../weka/core/OptionHandler.html" title="interface in weka.core">OptionHandler</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an enumeration of all the available options.</DL></DD></DL><HR><A NAME="setOptions(java.lang.String[])"><!-- --></A><H3>setOptions</H3><PRE>public void <B>setOptions</B>(java.lang.String[]&nbsp;options)                throws java.lang.Exception</PRE><DL><DD>Parses a given list of options. Valid options are:<p> -L num <br> The lowest number of instances to use. (default 0 = stepsize) <p> -U num <br> The upper number of instances to use. (default -1 = no limit) <p> -S num <br> The number of instances to add at each step. (default 10) <p> -W classname <br> Specify the full class name of the result producer. <p> All option after -- will be passed to the result producer.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/core/OptionHandler.html#setOptions(java.lang.String[])">setOptions</A></CODE> in interface <CODE><A HREF="../../weka/core/OptionHandler.html" title="interface in weka.core">OptionHandler</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>options</CODE> - the list of options as an array of strings<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an option is not supported</DL></DD></DL><HR><A NAME="getOptions()"><!-- --></A><H3>getOptions</H3><PRE>public java.lang.String[] <B>getOptions</B>()</PRE><DL><DD>Gets the current settings of the result producer.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/core/OptionHandler.html#getOptions()">getOptions</A></CODE> in interface <CODE><A HREF="../../weka/core/OptionHandler.html" title="interface in weka.core">OptionHandler</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array of strings suitable for passing to setOptions</DL></DD></DL><HR><A NAME="setAdditionalMeasures(java.lang.String[])"><!-- --></A><H3>setAdditionalMeasures</H3><PRE>public void <B>setAdditionalMeasures</B>(java.lang.String[]&nbsp;additionalMeasures)</PRE><DL><DD>Set a list of method names for additional measures to look for in SplitEvaluators. This could contain many measures (of which only a subset may be produceable by the current resultProducer) if an experiment is the type that iterates over a set of properties.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/ResultProducer.html#setAdditionalMeasures(java.lang.String[])">setAdditionalMeasures</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>additionalMeasures</CODE> - an array of measure names, null if none</DL></DD></DL><HR><A NAME="enumerateMeasures()"><!-- --></A><H3>enumerateMeasures</H3><PRE>public java.util.Enumeration <B>enumerateMeasures</B>()</PRE><DL><DD>Returns an enumeration of any additional measure names that might be in the result producer<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/core/AdditionalMeasureProducer.html#enumerateMeasures()">enumerateMeasures</A></CODE> in interface <CODE><A HREF="../../weka/core/AdditionalMeasureProducer.html" title="interface in weka.core">AdditionalMeasureProducer</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an enumeration of the measure names</DL></DD></DL><HR><A NAME="getMeasure(java.lang.String)"><!-- --></A><H3>getMeasure</H3><PRE>public double <B>getMeasure</B>(java.lang.String&nbsp;additionalMeasureName)</PRE><DL><DD>Returns the value of the named measure<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/core/AdditionalMeasureProducer.html#getMeasure(java.lang.String)">getMeasure</A></CODE> in interface <CODE><A HREF="../../weka/core/AdditionalMeasureProducer.html" title="interface in weka.core">AdditionalMeasureProducer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>additionalMeasureName</CODE> - the name of the measure to query for its value<DT><B>Returns:</B><DD>the value of the named measure<DT><B>Throws:</B>

⌨️ 快捷键说明

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