filter.html
来自「由java开发的软件包」· HTML 代码 · 共 689 行 · 第 1/3 页
HTML
689 行
</DD><DD><DL><DT><B>Returns:</B><DD>true if there are instances pending output<DT><B>Throws:</B><DD><CODE>java.lang.NullPointerException</CODE> - if no input structure has been defined,<DD><CODE>java.lang.Exception</CODE> - if there was a problem finishing the batch.</DL></DD></DL><HR><A NAME="output()"><!-- --></A><H3>output</H3><PRE>public <A HREF="../../weka/core/Instance.html" title="class in weka.core">Instance</A> <B>output</B>()</PRE><DL><DD>Output an instance after filtering and remove from the output queue.<P><DD><DL></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.NullPointerException</CODE> - if no output 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>()</PRE><DL><DD>Output an instance after filtering but do not remove from the output queue.<P><DD><DL></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.NullPointerException</CODE> - if no input structure has been defined</DL></DD></DL><HR><A NAME="numPendingOutput()"><!-- --></A><H3>numPendingOutput</H3><PRE>public int <B>numPendingOutput</B>()</PRE><DL><DD>Returns the number of instances pending output<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of instances pending output<DT><B>Throws:</B><DD><CODE>java.lang.NullPointerException</CODE> - if no input structure has been defined</DL></DD></DL><HR><A NAME="isOutputFormatDefined()"><!-- --></A><H3>isOutputFormatDefined</H3><PRE>public boolean <B>isOutputFormatDefined</B>()</PRE><DL><DD>Returns whether the output format is ready to be collected<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the output format is set</DL></DD></DL><HR><A NAME="useFilter(weka.core.Instances, weka.filters.Filter)"><!-- --></A><H3>useFilter</H3><PRE>public static <A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A> <B>useFilter</B>(<A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A> data, <A HREF="../../weka/filters/Filter.html" title="class in weka.filters">Filter</A> filter) throws java.lang.Exception</PRE><DL><DD>Filters an entire set of instances through a filter and returns the new set.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - the data to be filtered<DD><CODE>filter</CODE> - the filter to be used<DT><B>Returns:</B><DD>the filtered set of data<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the filter can't be used successfully</DL></DD></DL><HR><A NAME="filterFile(weka.filters.Filter, java.lang.String[])"><!-- --></A><H3>filterFile</H3><PRE>public static void <B>filterFile</B>(<A HREF="../../weka/filters/Filter.html" title="class in weka.filters">Filter</A> filter, java.lang.String[] options) throws java.lang.Exception</PRE><DL><DD>Method for testing filters.<P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if something goes wrong or the user requests help on command options</DL></DD></DL><HR><A NAME="batchFilterFile(weka.filters.Filter, java.lang.String[])"><!-- --></A><H3>batchFilterFile</H3><PRE>public static void <B>batchFilterFile</B>(<A HREF="../../weka/filters/Filter.html" title="class in weka.filters">Filter</A> filter, java.lang.String[] options) throws java.lang.Exception</PRE><DL><DD>Method for testing filters ability to process multiple batches.<P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if something goes wrong or the user requests help on command options</DL></DD></DL><HR><A NAME="main(java.lang.String[])"><!-- --></A><H3>main</H3><PRE>public static void <B>main</B>(java.lang.String[] args)</PRE><DL><DD>Main method for testing this class.<P><DD><DL></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=3 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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../Tutorial.pdf"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/index.html"><FONT CLASS="NavBarFont1"><B>Weka's home</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../weka/filters/AllFilter.html" title="class in weka.filters"><B>PREV CLASS</B></A> <A HREF="../../weka/filters/NullFilter.html" title="class in weka.filters"><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> <A HREF="Filter.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + =
减小字号Ctrl + -
显示快捷键?