⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 element.html

📁 数据挖掘的最常用工具。由于开源
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<P><DL><DT><B>Parameters:</B><DD><CODE>size</CODE> - the size</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="getOneElements(weka.core.Instances)"><!-- --></A><H3>getOneElements</H3><PRE>public static <A HREF="../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> <B>getOneElements</B>(<A HREF="../../../weka/core/Instances.html" title="class in weka.core">Instances</A>&nbsp;instances)</PRE><DL><DD>Returns all events of the given data set as Elements containing a single  event. The order of events is determined by the header information of  the corresponding ARFF file.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>instances</CODE> - the data set<DT><B>Returns:</B><DD>the set of 1-Elements</DL></DD></DL><HR><A NAME="merge(weka.associations.gsp.Element, weka.associations.gsp.Element)"><!-- --></A><H3>merge</H3><PRE>public static <A HREF="../../../weka/associations/gsp/Element.html" title="class in weka.associations.gsp">Element</A> <B>merge</B>(<A HREF="../../../weka/associations/gsp/Element.html" title="class in weka.associations.gsp">Element</A>&nbsp;element1,                            <A HREF="../../../weka/associations/gsp/Element.html" title="class in weka.associations.gsp">Element</A>&nbsp;element2)</PRE><DL><DD>Merges two Elements into one.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>element1</CODE> - first Element<DD><CODE>element2</CODE> - second Element<DT><B>Returns:</B><DD>the merged Element</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public <A HREF="../../../weka/associations/gsp/Element.html" title="class in weka.associations.gsp">Element</A> <B>clone</B>()</PRE><DL><DD>Returns a deep clone of an Element.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>clone</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the cloned Element</DL></DD></DL><HR><A NAME="containsOverOneEvent()"><!-- --></A><H3>containsOverOneEvent</H3><PRE>public boolean <B>containsOverOneEvent</B>()</PRE><DL><DD>Checks if an Element contains over one event.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true, if the Element contains over one event, else false</DL></DD></DL><HR><A NAME="deleteEvent(java.lang.String)"><!-- --></A><H3>deleteEvent</H3><PRE>public void <B>deleteEvent</B>(java.lang.String&nbsp;position)</PRE><DL><DD>Deletes the first or last event of an Element.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>position</CODE> - the position of the event to be deleted (first or last)</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;obj)</PRE><DL><DD>Checks if two Elements are equal.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true, if the two Elements are equal, else false</DL></DD></DL><HR><A NAME="getEvents()"><!-- --></A><H3>getEvents</H3><PRE>public int[] <B>getEvents</B>()</PRE><DL><DD>Returns the events Array of an Element.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the events Array</DL></DD></DL><HR><A NAME="isContainedBy(weka.core.Instance)"><!-- --></A><H3>isContainedBy</H3><PRE>public boolean <B>isContainedBy</B>(<A HREF="../../../weka/core/Instance.html" title="class in weka.core">Instance</A>&nbsp;instance)</PRE><DL><DD>Checks if an Element is contained by a given Instance.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>instance</CODE> - the given Instance<DT><B>Returns:</B><DD>true, if the Instance contains the Element, else false</DL></DD></DL><HR><A NAME="isEmpty()"><!-- --></A><H3>isEmpty</H3><PRE>public boolean <B>isEmpty</B>()</PRE><DL><DD>Checks if the Element contains any events.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true, if the Element contains no event, else false</DL></DD></DL><HR><A NAME="toNominalString(weka.core.Instances)"><!-- --></A><H3>toNominalString</H3><PRE>public java.lang.String <B>toNominalString</B>(<A HREF="../../../weka/core/Instances.html" title="class in weka.core">Instances</A>&nbsp;dataSet)</PRE><DL><DD>Returns a String representation of an Element where the numeric value  of each event/item is represented by its respective nominal value.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>dataSet</CODE> - the corresponding data set containing the header information<DT><B>Returns:</B><DD>the String representation</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Returns a String representation of an Element.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the String representation</DL></DD></DL><HR><A NAME="getRevision()"><!-- --></A><H3>getRevision</H3><PRE>public java.lang.String <B>getRevision</B>()</PRE><DL><DD>Returns the revision string.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/core/RevisionHandler.html#getRevision()">getRevision</A></CODE> in interface <CODE><A HREF="../../../weka/core/RevisionHandler.html" title="interface in weka.core">RevisionHandler</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the revision</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="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> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV CLASS&nbsp;&nbsp;<A HREF="../../../weka/associations/gsp/Sequence.html" title="class in weka.associations.gsp"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?weka/associations/gsp/Element.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Element.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;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

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