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

📄 resultproducer.html

📁 < 数据挖掘--实用机器学习技术及java实现> 一书结合数据挖掘和机器学习的知识,作者陈述了自动挖掘模式的基础理论,并且以java语言实现了具有代表性的各类数据挖掘方法.例如:class
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<PRE>public void <B>setResultListener</B>(<A HREF="../../weka/experiment/ResultListener.html">ResultListener</A>&nbsp;listener)</PRE><DL><DD>Sets the object to send results of each run to.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - a value of type 'ResultListener'</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>Sets a list of method names for additional measures to look for in SplitEvaluators.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>additionalMeasures</CODE> - a list of method names</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. The ResultProducer should call preProcess(this) on the ResultListener it is to send results to.<DD><DL></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. The ResultProducer should call preProcess(this) on the ResultListener it is to send results to.<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="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, but only if the ResultListener says the result is required (it may already have that result). A single run may produce multiple results.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>run</CODE> - the run number to generate 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="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<DD><DL></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="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 key columns produced for a single run. The names should not contain spaces (use '_' instead for easy  translation.)<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array containing the name of each key column<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the key names could not be determined (perhaps because of a problem from a nested sub-resultproducer)</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 key columns produced for a single run.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array containing objects of the type of each key 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 result columns produced for a single run. The names should not contain spaces (use '_' instead for easy  translation.)<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array containing the name of each result 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 result columns produced for a  single run.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array containing objects of the type of each result 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 those command line arguments required to set the ResultProducer to that state.<DD><DL></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><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../weka/experiment/ResultListener.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../weka/experiment/SplitEvaluator.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="ResultProducer.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

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