datatable.html

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

HTML
909
字号
<DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getColumnNames()"><!-- --></A><H3>getColumnNames</H3><PRE>java.lang.String[] <B>getColumnNames</B>()</PRE><DL><DD>Returns an array of all column names.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getName()"><!-- --></A><H3>getName</H3><PRE>java.lang.String <B>getName</B>()</PRE><DL><DD>Returns the name of this data table.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setName(java.lang.String)"><!-- --></A><H3>setName</H3><PRE>void <B>setName</B>(java.lang.String&nbsp;name)</PRE><DL><DD>Sets the name of the data table.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="add(com.rapidminer.datatable.DataTableRow)"><!-- --></A><H3>add</H3><PRE>void <B>add</B>(<A HREF="../../../com/rapidminer/datatable/DataTableRow.html" title="interface in com.rapidminer.datatable">DataTableRow</A>&nbsp;row)</PRE><DL><DD>Adds the given <A HREF="../../../com/rapidminer/datatable/DataTableRow.html" title="interface in com.rapidminer.datatable"><CODE>DataTableRow</CODE></A> to the table.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="iterator()"><!-- --></A><H3>iterator</H3><PRE>java.util.Iterator&lt;<A HREF="../../../com/rapidminer/datatable/DataTableRow.html" title="interface in com.rapidminer.datatable">DataTableRow</A>&gt; <B>iterator</B>()</PRE><DL><DD>Returns an iterator over all <A HREF="../../../com/rapidminer/datatable/DataTableRow.html" title="interface in com.rapidminer.datatable"><CODE>DataTableRow</CODE></A>s.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>iterator</CODE> in interface <CODE>java.lang.Iterable&lt;<A HREF="../../../com/rapidminer/datatable/DataTableRow.html" title="interface in com.rapidminer.datatable">DataTableRow</A>&gt;</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getRow(int)"><!-- --></A><H3>getRow</H3><PRE><A HREF="../../../com/rapidminer/datatable/DataTableRow.html" title="interface in com.rapidminer.datatable">DataTableRow</A> <B>getRow</B>(int&nbsp;index)</PRE><DL><DD>Returns the data table row with the given index. Please note that this method is not guaranteed to   be efficiently implemented. If you want to scan the complete data table you should use the iterator()  method instead.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getNumberOfRows()"><!-- --></A><H3>getNumberOfRows</H3><PRE>int <B>getNumberOfRows</B>()</PRE><DL><DD>Returns the total number of rows.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getNumberOfValues(int)"><!-- --></A><H3>getNumberOfValues</H3><PRE>int <B>getNumberOfValues</B>(int&nbsp;column)</PRE><DL><DD>Returns the number of different values for the i-th column. Might return -1 or throw an   exception if the specific column is not nominal.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getValueAsString(com.rapidminer.datatable.DataTableRow, int)"><!-- --></A><H3>getValueAsString</H3><PRE>java.lang.String <B>getValueAsString</B>(<A HREF="../../../com/rapidminer/datatable/DataTableRow.html" title="interface in com.rapidminer.datatable">DataTableRow</A>&nbsp;row,                                  int&nbsp;column)</PRE><DL><DD>Must deliver the proper value as string, i.e. the mapped value for nominal columns.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="addDataTableListener(com.rapidminer.datatable.DataTableListener)"><!-- --></A><H3>addDataTableListener</H3><PRE>void <B>addDataTableListener</B>(<A HREF="../../../com/rapidminer/datatable/DataTableListener.html" title="interface in com.rapidminer.datatable">DataTableListener</A>&nbsp;dataTableListener)</PRE><DL><DD>Adds a table listener listening for data changes.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="removeDataTableListener(com.rapidminer.datatable.DataTableListener)"><!-- --></A><H3>removeDataTableListener</H3><PRE>void <B>removeDataTableListener</B>(<A HREF="../../../com/rapidminer/datatable/DataTableListener.html" title="interface in com.rapidminer.datatable">DataTableListener</A>&nbsp;dataTableListener)</PRE><DL><DD>Removes the given listener from the list of data change listeners.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="write(java.io.PrintWriter)"><!-- --></A><H3>write</H3><PRE>void <B>write</B>(java.io.PrintWriter&nbsp;out)           throws java.io.IOException</PRE><DL><DD>Writes the table into the given writer.<P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="sample(int)"><!-- --></A><H3>sample</H3><PRE>void <B>sample</B>(int&nbsp;newSize)</PRE><DL><DD>Performs a sampling of this data table. Following operations should only work on the sample.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="containsMissingValues()"><!-- --></A><H3>containsMissingValues</H3><PRE>boolean <B>containsMissingValues</B>()</PRE><DL><DD>Returns true if this data table contains missing values.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/DataTable.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=114160&amp;type=2" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../com/rapidminer/datatable/CorrelationMatrixRow2DataTableRowWrapper.html" title="class in com.rapidminer.datatable"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../com/rapidminer/datatable/DataTableExampleSetAdapter.html" title="class in com.rapidminer.datatable"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?com/rapidminer/datatable/DataTable.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="DataTable.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright &#169; 2001-2008 by <a href="http://rapid-i.com" target="_blank">Rapid-I</a></i></BODY></HTML>

⌨️ 快捷键说明

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