📄 abstracttimeseriesfilter.html
字号:
format or if there was a problem with the filtering.</DL></DD></DL><HR><A NAME="batchFinished()"><!-- --></A><H3>batchFinished</H3><PRE>public boolean <B>batchFinished</B>()</PRE><DL><DD>Signifies 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.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../weka/filters/Filter.html#batchFinished()">batchFinished</A></CODE> in class <CODE><A HREF="../../weka/filters/Filter.html">Filter</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if there are instances pending output<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if no input structure has been defined</DL></DD></DL><HR><A NAME="getFillWithMissing()"><!-- --></A><H3>getFillWithMissing</H3><PRE>public boolean <B>getFillWithMissing</B>()</PRE><DL><DD>Gets whether missing values should be used rather than removing instances where the translated value is not known (due to border effects).<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if so</DL></DD></DL><HR><A NAME="setFillWithMissing(boolean)"><!-- --></A><H3>setFillWithMissing</H3><PRE>public void <B>setFillWithMissing</B>(boolean newFillWithMissing)</PRE><DL><DD>Sets whether missing values should be used rather than removing instances where the translated value is not known (due to border effects).<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newFillWithMissing</CODE> - true if so</DL></DD></DL><HR><A NAME="getInstanceRange()"><!-- --></A><H3>getInstanceRange</H3><PRE>public int <B>getInstanceRange</B>()</PRE><DL><DD>Gets the number of instances forward to translate values between. A negative number indicates taking values from a past instance.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of InstanceRange.</DL></DD></DL><HR><A NAME="setInstanceRange(int)"><!-- --></A><H3>setInstanceRange</H3><PRE>public void <B>setInstanceRange</B>(int newInstanceRange)</PRE><DL><DD>Sets the number of instances forward to translate values between. A negative number indicates taking values from a past instance.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newInstanceRange</CODE> - Value to assign to InstanceRange.</DL></DD></DL><HR><A NAME="getInvertSelection()"><!-- --></A><H3>getInvertSelection</H3><PRE>public boolean <B>getInvertSelection</B>()</PRE><DL><DD>Get whether the supplied columns are to be removed or kept<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the supplied columns will be kept</DL></DD></DL><HR><A NAME="setInvertSelection(boolean)"><!-- --></A><H3>setInvertSelection</H3><PRE>public void <B>setInvertSelection</B>(boolean invert)</PRE><DL><DD>Set whether selected columns should be removed or kept. If true the selected columns are kept and unselected columns are copied. If false selected columns are copied and unselected columns are kept.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>invert</CODE> - the new invert setting</DL></DD></DL><HR><A NAME="attributeIndicesTipText()"><!-- --></A><H3>attributeIndicesTipText</H3><PRE>public java.lang.String <B>attributeIndicesTipText</B>()</PRE><DL><DD>Returns the tip text for this property<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="getAttributeIndices()"><!-- --></A><H3>getAttributeIndices</H3><PRE>public java.lang.String <B>getAttributeIndices</B>()</PRE><DL><DD>Get the current range selection<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string containing a comma separated list of ranges</DL></DD></DL><HR><A NAME="setAttributeIndices(java.lang.String)"><!-- --></A><H3>setAttributeIndices</H3><PRE>public void <B>setAttributeIndices</B>(java.lang.String rangeList)</PRE><DL><DD>Set which attributes are to be copied (or kept if invert is true)<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rangeList</CODE> - a string representing the list of attributes. Since the string will typically come from a user, attributes are indexed from 1. <br> eg: first-3,5,6-last</DL></DD></DL><HR><A NAME="setAttributeIndicesArray(int[])"><!-- --></A><H3>setAttributeIndicesArray</H3><PRE>public void <B>setAttributeIndicesArray</B>(int[] attributes)</PRE><DL><DD>Set which attributes are to be copied (or kept if invert is true)<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>attributes</CODE> - an array containing indexes of attributes to select. Since the array will typically come from a program, attributes are indexed from 0.</DL></DD></DL><HR><A NAME="resetHistory()"><!-- --></A><H3>resetHistory</H3><PRE>protected void <B>resetHistory</B>()</PRE><DL><DD>Clears any instances from the history queue.<DD><DL></DL></DD></DL><HR><A NAME="historyInput(weka.core.Instance)"><!-- --></A><H3>historyInput</H3><PRE>protected <A HREF="../../weka/core/Instance.html">Instance</A> <B>historyInput</B>(<A HREF="../../weka/core/Instance.html">Instance</A> instance)</PRE><DL><DD>Adds an instance to the history buffer. If enough instances are in the buffer, a new instance may be output, with selected attribute values copied from one to another.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>instance</CODE> - the input instance<DT><B>Returns:</B><DD>a new instance with translated values, or null if no output instance is produced</DL></DD></DL><HR><A NAME="mergeInstances(weka.core.Instance, weka.core.Instance)"><!-- --></A><H3>mergeInstances</H3><PRE>protected abstract <A HREF="../../weka/core/Instance.html">Instance</A> <B>mergeInstances</B>(<A HREF="../../weka/core/Instance.html">Instance</A> source, <A HREF="../../weka/core/Instance.html">Instance</A> dest)</PRE><DL><DD>Creates a new instance the same as one instance (the "destination") but with some attribute values copied from another instance (the "source")<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - the source instance<DD><CODE>dest</CODE> - the destination instance<DT><B>Returns:</B><DD>the new merged instance</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> </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="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</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"> PREV CLASS <A HREF="../../weka/filters/AddFilter.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> <A HREF="AbstractTimeSeriesFilter.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 + -