abstractexampletable.html
来自「数据挖掘方面最新软件」· HTML 代码 · 共 703 行 · 第 1/3 页
HTML
703 行
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> <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> 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> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/example/table/AbstractExampleTable.html#getNumberOfAttributes()">getNumberOfAttributes</A></B>()</CODE><BR> Returns the number of attributes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> 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> attribute)</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/example/table/AbstractExampleTable.html#removeAttribute(int)">removeAttribute</A></B>(int index)</CODE><BR> 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> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/example/table/AbstractExampleTable.html#toDataString()">toDataString</A></B>()</CODE><BR> Dumps the complete data as string.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/example/table/AbstractExampleTable.html#toString()">toString</A></B>()</CODE><BR> Returns a string representation of this example table.</TD></TR></TABLE> <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> <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> <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<<A HREF="../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A>> 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 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 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<<A HREF="../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A>> 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> 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> 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 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 + -
显示快捷键?