itemset.html
来自「数据挖掘的最常用工具。由于开源」· HTML 代码 · 共 813 行 · 第 1/3 页
HTML
813 行
</DL><HR><A NAME="singletons(weka.core.Instances)"><!-- --></A><H3>singletons</H3><PRE>public static <A HREF="../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> <B>singletons</B>(<A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A> instances) throws java.lang.Exception</PRE><DL><DD>Converts the header info of the given set of instances into a set of item sets (singletons). The ordering of values in the header file determines the lexicographic order.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>instances</CODE> - the set of instances whose header info is to be used<DT><B>Returns:</B><DD>a set of item sets, each containing a single item<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if singletons can't be generated successfully</DL></DD></DL><HR><A NAME="support()"><!-- --></A><H3>support</H3><PRE>public int <B>support</B>()</PRE><DL><DD>Outputs the support for an item set.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the support</DL></DD></DL><HR><A NAME="toString(weka.core.Instances)"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>(<A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A> instances)</PRE><DL><DD>Returns the contents of an item set as a string.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>instances</CODE> - contains the relevant header information<DT><B>Returns:</B><DD>string describing the item set</DL></DD></DL><HR><A NAME="upDateCounter(weka.core.Instance)"><!-- --></A><H3>upDateCounter</H3><PRE>public void <B>upDateCounter</B>(<A HREF="../../weka/core/Instance.html" title="class in weka.core">Instance</A> instance)</PRE><DL><DD>Updates counter of item set with respect to given transaction.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>instance</CODE> - the instance to be used for ubdating the counter</DL></DD></DL><HR><A NAME="upDateCounters(weka.core.FastVector, weka.core.Instances)"><!-- --></A><H3>upDateCounters</H3><PRE>public static void <B>upDateCounters</B>(<A HREF="../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> itemSets, <A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A> instances)</PRE><DL><DD>Updates counters for a set of item sets and a set of instances.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>itemSets</CODE> - the set of item sets which are to be updated<DD><CODE>instances</CODE> - the instances to be used for updating the counters</DL></DD></DL><HR><A NAME="counter()"><!-- --></A><H3>counter</H3><PRE>public int <B>counter</B>()</PRE><DL><DD>Gets the counter<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the counter</DL></DD></DL><HR><A NAME="items()"><!-- --></A><H3>items</H3><PRE>public int[] <B>items</B>()</PRE><DL><DD>Gest the item set as an int array<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>int array represneting an item set</DL></DD></DL><HR><A NAME="itemAt(int)"><!-- --></A><H3>itemAt</H3><PRE>public int <B>itemAt</B>(int k)</PRE><DL><DD>Gest the index of the value of the specified attribute<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>k</CODE> - the attribute index<DT><B>Returns:</B><DD>the index of the attribute value</DL></DD></DL><HR><A NAME="setCounter(int)"><!-- --></A><H3>setCounter</H3><PRE>public void <B>setCounter</B>(int count)</PRE><DL><DD>Sets the counter<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>count</CODE> - the counter</DL></DD></DL><HR><A NAME="setItem(int[])"><!-- --></A><H3>setItem</H3><PRE>public void <B>setItem</B>(int[] items)</PRE><DL><DD>Sets an item sets<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>items</CODE> - an int array representing an item set</DL></DD></DL><HR><A NAME="setItemAt(int, int)"><!-- --></A><H3>setItemAt</H3><PRE>public void <B>setItemAt</B>(int value, int k)</PRE><DL><DD>Sets the index of an attribute value<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the inex of the attribute value<DD><CODE>k</CODE> - the index of the attribute</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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../weka/associations/HotSpot.html" title="class in weka.associations"><B>PREV CLASS</B></A> <A HREF="../../weka/associations/LabeledItemSet.html" title="class in weka.associations"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html?weka/associations/ItemSet.html" target="_top"><B>FRAMES</B></A> <A HREF="ItemSet.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + =
减小字号Ctrl + -
显示快捷键?