datatable.html
来自「数据挖掘方面最新软件」· HTML 代码 · 共 909 行 · 第 1/3 页
HTML
909 行
<BR> Returns an iterator over all <A HREF="../../../com/rapidminer/datatable/DataTableRow.html" title="interface in com.rapidminer.datatable"><CODE>DataTableRow</CODE></A>s.</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/datatable/DataTable.html#mapIndex(int, int)">mapIndex</A></B>(int column, int index)</CODE><BR> If a column is nominal, the index value must be mapped to the nominal value by this method.</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/datatable/DataTable.html#mapString(int, java.lang.String)">mapString</A></B>(int column, java.lang.String value)</CODE><BR> If a column is nominal, the nominal value must be mapped to a (new) index by this method.</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/datatable/DataTable.html#removeDataTableListener(com.rapidminer.datatable.DataTableListener)">removeDataTableListener</A></B>(<A HREF="../../../com/rapidminer/datatable/DataTableListener.html" title="interface in com.rapidminer.datatable">DataTableListener</A> dataTableListener)</CODE><BR> Removes the given listener from the list of data change listeners.</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/datatable/DataTable.html#sample(int)">sample</A></B>(int newSize)</CODE><BR> Performs a sampling of this data table.</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/datatable/DataTable.html#setName(java.lang.String)">setName</A></B>(java.lang.String name)</CODE><BR> Sets the name of the data table.</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/datatable/DataTable.html#write(java.io.PrintWriter)">write</A></B>(java.io.PrintWriter out)</CODE><BR> Writes the table into the given writer.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_com.rapidminer.report.Tableable"><!-- --></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.report.<A HREF="../../../com/rapidminer/report/Tableable.html" title="interface in com.rapidminer.report">Tableable</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../com/rapidminer/report/Tableable.html#getCell(int, int)">getCell</A>, <A HREF="../../../com/rapidminer/report/Tableable.html#getColumnNumber()">getColumnNumber</A>, <A HREF="../../../com/rapidminer/report/Tableable.html#getRowNumber()">getRowNumber</A></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="isNominal(int)"><!-- --></A><H3>isNominal</H3><PRE>boolean <B>isNominal</B>(int index)</PRE><DL><DD>Indicates if the column with the given index is nominal. For numerical or date columns, the value false should be returned.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isTime(int)"><!-- --></A><H3>isTime</H3><PRE>boolean <B>isTime</B>(int index)</PRE><DL><DD>Indicates if the column with the given index is nominal. For numerical or date columns, the value false should be returned.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isDate(int)"><!-- --></A><H3>isDate</H3><PRE>boolean <B>isDate</B>(int index)</PRE><DL><DD>Indicates if the column with the given index is nominal. For numerical or date columns, the value false should be returned.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isDateTime(int)"><!-- --></A><H3>isDateTime</H3><PRE>boolean <B>isDateTime</B>(int index)</PRE><DL><DD>Indicates if the column with the given index is nominal. For numerical or date columns, the value false should be returned.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isNumerical(int)"><!-- --></A><H3>isNumerical</H3><PRE>boolean <B>isNumerical</B>(int index)</PRE><DL><DD>Indicates if the column with the given index is nominal. For numerical or date columns, the value false should be returned.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="mapIndex(int, int)"><!-- --></A><H3>mapIndex</H3><PRE>java.lang.String <B>mapIndex</B>(int column, int index)</PRE><DL><DD>If a column is nominal, the index value must be mapped to the nominal value by this method. If the given column is not nominal, this method might throw a <CODE>NullPointerException</CODE>.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="mapString(int, java.lang.String)"><!-- --></A><H3>mapString</H3><PRE>int <B>mapString</B>(int column, java.lang.String value)</PRE><DL><DD>If a column is nominal, the nominal value must be mapped to a (new) index by this method. If the given column is not nominal, this method might throw a <CODE>NullPointerException</CODE>.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getColumnName(int)"><!-- --></A><H3>getColumnName</H3><PRE>java.lang.String <B>getColumnName</B>(int i)</PRE><DL><DD>Returns the name of the i-th column.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/rapidminer/report/Tableable.html#getColumnName(int)">getColumnName</A></CODE> in interface <CODE><A HREF="../../../com/rapidminer/report/Tableable.html" title="interface in com.rapidminer.report">Tableable</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getColumnIndex(java.lang.String)"><!-- --></A><H3>getColumnIndex</H3><PRE>int <B>getColumnIndex</B>(java.lang.String name)</PRE><DL><DD>Returns the column index of the column with the given name.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getColumnWeight(int)"><!-- --></A><H3>getColumnWeight</H3><PRE>double <B>getColumnWeight</B>(int i)</PRE><DL><DD>Returns the weight of the column or Double.NaN if no weight is available.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isSupportingColumnWeights()"><!-- --></A><H3>isSupportingColumnWeights</H3><PRE>boolean <B>isSupportingColumnWeights</B>()</PRE><DL><DD>Returns true if this data table is supporting column weights.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getNumberOfColumns()"><!-- --></A><H3>getNumberOfColumns</H3><PRE>int <B>getNumberOfColumns</B>()</PRE><DL><DD>Returns the total number of columns.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getNumberOfSpecialColumns()"><!-- --></A><H3>getNumberOfSpecialColumns</H3><PRE>int <B>getNumberOfSpecialColumns</B>()</PRE><DL><DD>Returns the total number of special columns. Please note that these columns do not need to be in an ordered sequence. In order to make sure that a column is a special column the method <A HREF="../../../com/rapidminer/datatable/DataTable.html#isSpecial(int)"><CODE>isSpecial(int)</CODE></A> should be used.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isSpecial(int)"><!-- --></A><H3>isSpecial</H3><PRE>boolean <B>isSpecial</B>(int column)</PRE><DL><DD>Returns true if this column is a special column which might usually not be used for some plotters, for example weights or labels.<P>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?