exampleset.html
来自「数据挖掘方面最新软件」· HTML 代码 · 共 707 行 · 第 1/3 页
HTML
707 行
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/rapidminer/example/ExampleSet.html#writeAttributeFile(java.io.File, java.io.File, java.nio.charset.Charset)">writeAttributeFile</A></B>(java.io.File attFile, java.io.File dataFile, java.nio.charset.Charset encoding)</CODE><BR> Writes the attribute meta descriptions into a file.</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/ExampleSet.html#writeDataFile(java.io.File, int, boolean, boolean, boolean, java.nio.charset.Charset)">writeDataFile</A></B>(java.io.File dataFile, int fractionDigits, boolean quoteWhitespace, boolean zipped, boolean append, java.nio.charset.Charset encoding)</CODE><BR> Writes the data and the attribute description to a file.</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/ExampleSet.html#writeSparseAttributeFile(java.io.File, java.io.File, int, java.nio.charset.Charset)">writeSparseAttributeFile</A></B>(java.io.File attFile, java.io.File dataFile, int format, java.nio.charset.Charset encoding)</CODE><BR> Writes the attribute meta descriptions for a sparse data file into a file.</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/ExampleSet.html#writeSparseDataFile(java.io.File, int, int, boolean, boolean, boolean, java.nio.charset.Charset)">writeSparseDataFile</A></B>(java.io.File dataFile, int format, int fractionDigits, boolean quoteWhitespace, boolean zipped, boolean append, java.nio.charset.Charset encoding)</CODE><BR> Writes the data and the attribute description to a sparse data file.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_com.rapidminer.operator.ResultObject"><!-- --></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.operator.<A HREF="../../../com/rapidminer/operator/ResultObject.html" title="interface in com.rapidminer.operator">ResultObject</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../com/rapidminer/operator/ResultObject.html#getActions()">getActions</A>, <A HREF="../../../com/rapidminer/operator/ResultObject.html#getName()">getName</A>, <A HREF="../../../com/rapidminer/operator/ResultObject.html#getResultIcon()">getResultIcon</A>, <A HREF="../../../com/rapidminer/operator/ResultObject.html#getVisualizationComponent(com.rapidminer.operator.IOContainer)">getVisualizationComponent</A>, <A HREF="../../../com/rapidminer/operator/ResultObject.html#toResultString()">toResultString</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_com.rapidminer.operator.IOObject"><!-- --></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.operator.<A HREF="../../../com/rapidminer/operator/IOObject.html" title="interface in com.rapidminer.operator">IOObject</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../com/rapidminer/operator/IOObject.html#copy()">copy</A>, <A HREF="../../../com/rapidminer/operator/IOObject.html#getLog()">getLog</A>, <A HREF="../../../com/rapidminer/operator/IOObject.html#getSource()">getSource</A>, <A HREF="../../../com/rapidminer/operator/IOObject.html#setSource(java.lang.String)">setSource</A>, <A HREF="../../../com/rapidminer/operator/IOObject.html#setWorkingOperator(com.rapidminer.operator.Operator)">setWorkingOperator</A>, <A HREF="../../../com/rapidminer/operator/IOObject.html#write(java.io.OutputStream)">write</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Iterable"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from interface java.lang.Iterable</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>iterator</CODE></TD></TR></TABLE> <P><!-- ============ 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="clone()"><!-- --></A><H3>clone</H3><PRE>java.lang.Object <B>clone</B>()</PRE><DL><DD>Clones the example set.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>boolean <B>equals</B>(java.lang.Object o)</PRE><DL><DD>True if all attributes are equal.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>int <B>hashCode</B>()</PRE><DL><DD>Returns the hash code. Two example sets must deliver the same hash code if they are equal.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getAttributes()"><!-- --></A><H3>getAttributes</H3><PRE><A HREF="../../../com/rapidminer/example/Attributes.html" title="interface in com.rapidminer.example">Attributes</A> <B>getAttributes</B>()</PRE><DL><DD>Returns the data structure holding all attributes.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="size()"><!-- --></A><H3>size</H3><PRE>int <B>size</B>()</PRE><DL><DD>Returns the number of examples in this example set. This number should not be used to create for-loops to iterate through all examples.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getExampleTable()"><!-- --></A><H3>getExampleTable</H3><PRE><A HREF="../../../com/rapidminer/example/table/ExampleTable.html" title="interface in com.rapidminer.example.table">ExampleTable</A> <B>getExampleTable</B>()</PRE><DL><DD>Returns the underlying example table. Most operators should operate on the example set and manipulate example to change table data instead of using the table directly.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getExampleFromId(double)"><!-- --></A><H3>getExampleFromId</H3><PRE><A HREF="../../../com/rapidminer/example/Example.html" title="class in com.rapidminer.example">Example</A> <B>getExampleFromId</B>(double value)</PRE><DL><DD>Returns the example with the given id value. If the example set does not contain an id attribute this method should return null.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getExample(int)"><!-- --></A><H3>getExample</H3><PRE><A HREF="../../../com/rapidminer/example/Example.html" title="class in com.rapidminer.example">Example</A> <B>getExample</B>(int index)</PRE><DL><DD>Returns the i-th example. It is not guaranteed that asking for an example by using the index in the example table is efficiently implemented. Therefore for-loops for iterations are not an option and an <A HREF="../../../com/rapidminer/example/ExampleReader.html" title="interface in com.rapidminer.example"><CODE>ExampleReader</CODE></A> should be used.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="remapIds()"><!-- --></A><H3>remapIds</H3><PRE>void <B>remapIds</B>()</PRE><DL><DD>Remaps all ids. This method should be invoked before the method <A HREF="../../../com/rapidminer/example/ExampleSet.html#getExampleFromId(double)"><CODE>getExampleFromId(double)</CODE></A> is used.<P><DD><DL></DL></DD><DD><DL></DL>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?