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

📄 instancejoiner.html

📁 weka是机器学习和数据挖掘领域最有影响力的开源项目之一
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="inputFormat(weka.core.Instances)"><!-- --></A><H3>inputFormat</H3><PRE>public boolean <B>inputFormat</B>(<A HREF="../../../weka/core/Instances.html" title="class in weka.core">Instances</A>&nbsp;instanceInfo)</PRE><DL><DD>Sets the format of the input instances. If the filter is able to determine the output format before seeing any input instances, it does so here. This default implementation assumes the output format is determined when  batchFinished() is called.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>instanceInfo</CODE> - an Instances object containing the input instance structure (any instances contained in the object are ignored - only the structure is required).<DT><B>Returns:</B><DD>true if the outputFormat may be collected immediately</DL></DD></DL><HR><A NAME="outputFormat()"><!-- --></A><H3>outputFormat</H3><PRE>public <A HREF="../../../weka/core/Instances.html" title="class in weka.core">Instances</A> <B>outputFormat</B>()                       throws java.lang.Exception</PRE><DL><DD>Gets the format of the output instances. This should only be called after input() or batchFinished() has returned true.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/gui/streams/InstanceProducer.html#outputFormat()">outputFormat</A></CODE> in interface <CODE><A HREF="../../../weka/gui/streams/InstanceProducer.html" title="interface in weka.gui.streams">InstanceProducer</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an Instances object containing the output instance structure only.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if no input structure has been defined (or the output format hasn't been determined yet)</DL></DD></DL><HR><A NAME="input(weka.core.Instance)"><!-- --></A><H3>input</H3><PRE>public boolean <B>input</B>(<A HREF="../../../weka/core/Instance.html" title="class in weka.core">Instance</A>&nbsp;instance)              throws java.lang.Exception</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE></DL></DD></DL><HR><A NAME="batchFinished()"><!-- --></A><H3>batchFinished</H3><PRE>public void <B>batchFinished</B>()                   throws java.lang.Exception</PRE><DL><DD>Signify that this batch of input to the filter is finished. If the filter requires all instances prior to filtering, output() may now be called to retrieve the filtered instances. Any subsequent instances filtered should be filtered based on setting obtained from the first batch (unless the inputFormat has been re-assigned or new options have been set). This default implementation assumes all instance processing occurs during inputFormat() and input().<P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if no input structure has been defined</DL></DD></DL><HR><A NAME="outputPeek()"><!-- --></A><H3>outputPeek</H3><PRE>public <A HREF="../../../weka/core/Instance.html" title="class in weka.core">Instance</A> <B>outputPeek</B>()                    throws java.lang.Exception</PRE><DL><DD>Output an instance after filtering but do not remove from the output queue.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/gui/streams/InstanceProducer.html#outputPeek()">outputPeek</A></CODE> in interface <CODE><A HREF="../../../weka/gui/streams/InstanceProducer.html" title="interface in weka.gui.streams">InstanceProducer</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the instance that has most recently been filtered (or null if the queue is empty).<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if no input structure has been defined</DL></DD></DL><HR><A NAME="setDebug(boolean)"><!-- --></A><H3>setDebug</H3><PRE>public void <B>setDebug</B>(boolean&nbsp;debug)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getDebug()"><!-- --></A><H3>getDebug</H3><PRE>public boolean <B>getDebug</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="addInstanceListener(weka.gui.streams.InstanceListener)"><!-- --></A><H3>addInstanceListener</H3><PRE>public void <B>addInstanceListener</B>(<A HREF="../../../weka/gui/streams/InstanceListener.html" title="interface in weka.gui.streams">InstanceListener</A>&nbsp;ipl)</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/gui/streams/InstanceProducer.html#addInstanceListener(weka.gui.streams.InstanceListener)">addInstanceListener</A></CODE> in interface <CODE><A HREF="../../../weka/gui/streams/InstanceProducer.html" title="interface in weka.gui.streams">InstanceProducer</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="removeInstanceListener(weka.gui.streams.InstanceListener)"><!-- --></A><H3>removeInstanceListener</H3><PRE>public void <B>removeInstanceListener</B>(<A HREF="../../../weka/gui/streams/InstanceListener.html" title="interface in weka.gui.streams">InstanceListener</A>&nbsp;ipl)</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/gui/streams/InstanceProducer.html#removeInstanceListener(weka.gui.streams.InstanceListener)">removeInstanceListener</A></CODE> in interface <CODE><A HREF="../../../weka/gui/streams/InstanceProducer.html" title="interface in weka.gui.streams">InstanceProducer</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="instanceProduced(weka.gui.streams.InstanceEvent)"><!-- --></A><H3>instanceProduced</H3><PRE>public void <B>instanceProduced</B>(<A HREF="../../../weka/gui/streams/InstanceEvent.html" title="class in weka.gui.streams">InstanceEvent</A>&nbsp;e)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="secondInstanceProduced(weka.gui.streams.InstanceEvent)"><!-- --></A><H3>secondInstanceProduced</H3><PRE>public void <B>secondInstanceProduced</B>(<A HREF="../../../weka/gui/streams/InstanceEvent.html" title="class in weka.gui.streams">InstanceEvent</A>&nbsp;e)</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/gui/streams/SerialInstanceListener.html#secondInstanceProduced(weka.gui.streams.InstanceEvent)">secondInstanceProduced</A></CODE> in interface <CODE><A HREF="../../../weka/gui/streams/SerialInstanceListener.html" title="interface in weka.gui.streams">SerialInstanceListener</A></CODE></DL></DD><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <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> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</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/gui/streams/InstanceEvent.html" title="class in weka.gui.streams"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../weka/gui/streams/InstanceListener.html" title="interface in weka.gui.streams"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?weka/gui/streams/InstanceJoiner.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="InstanceJoiner.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

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