abstractexampletable.html

来自「数据挖掘方面最新软件」· HTML 代码 · 共 703 行 · 第 1/3 页

HTML
703
字号
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of non null attributes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/example/table/AbstractExampleTable.html#getAttributes()">getAttributes</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new array containing all <A HREF="../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example"><CODE>Attribute</CODE></A>s.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/example/table/AbstractExampleTable.html#getNumberOfAttributes()">getNumberOfAttributes</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of attributes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/example/table/AbstractExampleTable.html#removeAttribute(com.rapidminer.example.Attribute)">removeAttribute</A></B>(<A HREF="../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A>&nbsp;attribute)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to calling <code>removeAttribute(attribute.getTableIndex())</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/example/table/AbstractExampleTable.html#removeAttribute(int)">removeAttribute</A></B>(int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the attribute with the given index to null.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/example/table/AbstractExampleTable.html#toDataString()">toDataString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dumps the complete data as string.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/example/table/AbstractExampleTable.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string representation of this example table.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_com.rapidminer.example.table.ExampleTable"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from interface com.rapidminer.example.table.<A HREF="../../../../com/rapidminer/example/table/ExampleTable.html" title="interface in com.rapidminer.example.table">ExampleTable</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../com/rapidminer/example/table/ExampleTable.html#getDataRow(int)">getDataRow</A>, <A HREF="../../../../com/rapidminer/example/table/ExampleTable.html#getDataRowReader()">getDataRowReader</A>, <A HREF="../../../../com/rapidminer/example/table/ExampleTable.html#size()">size</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_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>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="AbstractExampleTable(java.util.List)"><!-- --></A><H3>AbstractExampleTable</H3><PRE>public <B>AbstractExampleTable</B>(java.util.List&lt;<A HREF="../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A>&gt;&nbsp;attributes)</PRE><DL><DD>Creates a new ExampleTable.<P><DL><DT><B>Parameters:</B><DD><CODE>attributes</CODE> - List of <A HREF="../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example"><CODE>Attribute</CODE></A>. The indices of the attibutes are            set to values reflecting their position in the list.</DL></DL><!-- ============ METHOD DETAIL ========== --><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="getAttributes()"><!-- --></A><H3>getAttributes</H3><PRE>public <A HREF="../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A>[] <B>getAttributes</B>()</PRE><DL><DD>Returns a new array containing all <A HREF="../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example"><CODE>Attribute</CODE></A>s.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/rapidminer/example/table/ExampleTable.html#getAttributes()">getAttributes</A></CODE> in interface <CODE><A HREF="../../../../com/rapidminer/example/table/ExampleTable.html" title="interface in com.rapidminer.example.table">ExampleTable</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getAttribute(int)"><!-- --></A><H3>getAttribute</H3><PRE>public <A HREF="../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A> <B>getAttribute</B>(int&nbsp;i)</PRE><DL><DD>Returns the attribute of the column number <i>i</i>. Attention: This value may return null if the column was marked unused.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/rapidminer/example/table/ExampleTable.html#getAttribute(int)">getAttribute</A></CODE> in interface <CODE><A HREF="../../../../com/rapidminer/example/table/ExampleTable.html" title="interface in com.rapidminer.example.table">ExampleTable</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="findAttribute(java.lang.String)"><!-- --></A><H3>findAttribute</H3><PRE>public <A HREF="../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A> <B>findAttribute</B>(java.lang.String&nbsp;name)                        throws <A HREF="../../../../com/rapidminer/operator/OperatorException.html" title="class in com.rapidminer.operator">OperatorException</A></PRE><DL><DD>Returns the attribute with the given name.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/rapidminer/example/table/ExampleTable.html#findAttribute(java.lang.String)">findAttribute</A></CODE> in interface <CODE><A HREF="../../../../com/rapidminer/example/table/ExampleTable.html" title="interface in com.rapidminer.example.table">ExampleTable</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/rapidminer/operator/OperatorException.html" title="class in com.rapidminer.operator">OperatorException</A></CODE></DL></DD></DL><HR><A NAME="addAttributes(java.util.Collection)"><!-- --></A><H3>addAttributes</H3><PRE>public void <B>addAttributes</B>(java.util.Collection&lt;<A HREF="../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A>&gt;&nbsp;newAttributes)</PRE><DL><DD>Adds all <A HREF="../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example"><CODE>Attribute</CODE></A>s in <code>newAttributes</code> to the end of the list of attributes, creating new data columns if necessary.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/rapidminer/example/table/ExampleTable.html#addAttributes(java.util.Collection)">addAttributes</A></CODE> in interface <CODE><A HREF="../../../../com/rapidminer/example/table/ExampleTable.html" title="interface in com.rapidminer.example.table">ExampleTable</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="addAttribute(com.rapidminer.example.Attribute)"><!-- --></A><H3>addAttribute</H3><PRE>public int <B>addAttribute</B>(<A HREF="../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A>&nbsp;a)</PRE><DL><DD>Adds the attribute to the list of attributes assigning it a free column index. If the name is allready in use, the attribute will be renamed.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/rapidminer/example/table/ExampleTable.html#addAttribute(com.rapidminer.example.Attribute)">addAttribute</A></CODE> in interface <CODE><A HREF="../../../../com/rapidminer/example/table/ExampleTable.html" title="interface in com.rapidminer.example.table">ExampleTable</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="removeAttribute(com.rapidminer.example.Attribute)"><!-- --></A><H3>removeAttribute</H3><PRE>public void <B>removeAttribute</B>(<A HREF="../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A>&nbsp;attribute)</PRE><DL><DD>Equivalent to calling <code>removeAttribute(attribute.getTableIndex())</code>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/rapidminer/example/table/ExampleTable.html#removeAttribute(com.rapidminer.example.Attribute)">removeAttribute</A></CODE> in interface <CODE><A HREF="../../../../com/rapidminer/example/table/ExampleTable.html" title="interface in com.rapidminer.example.table">ExampleTable</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="removeAttribute(int)"><!-- --></A><H3>removeAttribute</H3><PRE>public void <B>removeAttribute</B>(int&nbsp;index)</PRE><DL><DD>Sets the attribute with the given index to null. Afterwards, this column can be reused. Callers must make sure, that no other example set contains a reference to this column. Otherwise its data will be messed up. Ususally this is only possible if an operator generates intermediate attributes, like a validation chain or a feature generator. If the attribute already was removed, this method returns silently.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/rapidminer/example/table/ExampleTable.html#removeAttribute(int)">removeAttribute</A></CODE> in interface <CODE><A HREF="../../../../com/rapidminer/example/table/ExampleTable.html" title="interface in com.rapidminer.example.table">ExampleTable</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getNumberOfAttributes()"><!-- --></A><H3>getNumberOfAttributes</H3><PRE>public int <B>getNumberOfAttributes</B>()</PRE><DL><DD>Returns the number of attributes. Attention: Callers that use a for-loop

⌨️ 快捷键说明

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