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

📄 itemset.html

📁 由java开发的软件包
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<PRE>public final boolean <B>containedBy</B>(<A HREF="../../weka/core/Instance.html" title="class in weka.core">Instance</A>&nbsp;instance)</PRE><DL><DD>Checks if an instance contains an item set.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>instance</CODE> - the instance to be tested<DT><B>Returns:</B><DD>true if the given instance contains this item set</DL></DD></DL><HR><A NAME="deleteItemSets(weka.core.FastVector, int, int)"><!-- --></A><H3>deleteItemSets</H3><PRE>public static <A HREF="../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> <B>deleteItemSets</B>(<A HREF="../../weka/core/FastVector.html" title="class in weka.core">FastVector</A>&nbsp;itemSets,                                        int&nbsp;minSupport,                                        int&nbsp;maxSupport)</PRE><DL><DD>Deletes all item sets that don't have minimum support.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>maxSupport</CODE> - the maximum support<DD><CODE>itemSets</CODE> - the set of item sets to be pruned<DD><CODE>minSupport</CODE> - the minimum number of transactions to be covered<DT><B>Returns:</B><DD>the reduced set of item sets</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;itemSet)</PRE><DL><DD>Tests if two item sets are equal.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>itemSet</CODE> - another item set<DT><B>Returns:</B><DD>true if this item set contains the same items as the given one</DL></DD></DL><HR><A NAME="getHashtable(weka.core.FastVector, int)"><!-- --></A><H3>getHashtable</H3><PRE>public static java.util.Hashtable <B>getHashtable</B>(<A HREF="../../weka/core/FastVector.html" title="class in weka.core">FastVector</A>&nbsp;itemSets,                                               int&nbsp;initialSize)</PRE><DL><DD>Return a hashtable filled with the given item sets.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>itemSets</CODE> - the set of item sets to be used for filling the hash table<DD><CODE>initialSize</CODE> - the initial size of the hashtable<DT><B>Returns:</B><DD>the generated hashtable</DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public final int <B>hashCode</B>()</PRE><DL><DD>Produces a hash code for a item set.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a hash code for a set of items</DL></DD></DL><HR><A NAME="mergeAllItemSets(weka.core.FastVector, int, int)"><!-- --></A><H3>mergeAllItemSets</H3><PRE>public static <A HREF="../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> <B>mergeAllItemSets</B>(<A HREF="../../weka/core/FastVector.html" title="class in weka.core">FastVector</A>&nbsp;itemSets,                                          int&nbsp;size,                                          int&nbsp;totalTrans)</PRE><DL><DD>Merges all item sets in the set of (k-1)-item sets to create the (k)-item sets and updates the counters.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>totalTrans</CODE> - thetotal number of transactions<DD><CODE>itemSets</CODE> - the set of (k-1)-item sets<DD><CODE>size</CODE> - the value of (k-1)<DT><B>Returns:</B><DD>the generated (k)-item sets</DL></DD></DL><HR><A NAME="pruneItemSets(weka.core.FastVector, java.util.Hashtable)"><!-- --></A><H3>pruneItemSets</H3><PRE>public static <A HREF="../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> <B>pruneItemSets</B>(<A HREF="../../weka/core/FastVector.html" title="class in weka.core">FastVector</A>&nbsp;toPrune,                                       java.util.Hashtable&nbsp;kMinusOne)</PRE><DL><DD>Prunes a set of (k)-item sets using the given (k-1)-item sets.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>toPrune</CODE> - the set of (k)-item sets to be pruned<DD><CODE>kMinusOne</CODE> - the (k-1)-item sets to be used for pruning<DT><B>Returns:</B><DD>the pruned set of item sets</DL></DD></DL><HR><A NAME="pruneRules(weka.core.FastVector[], double)"><!-- --></A><H3>pruneRules</H3><PRE>public static void <B>pruneRules</B>(<A HREF="../../weka/core/FastVector.html" title="class in weka.core">FastVector</A>[]&nbsp;rules,                              double&nbsp;minConfidence)</PRE><DL><DD>Prunes a set of rules.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rules</CODE> - a two-dimensional array of lists of item sets. The first list of item sets contains the premises, the second one the consequences.<DD><CODE>minConfidence</CODE> - the minimum confidence the rules have to have</DL></DD></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>&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;itemSets,                                  <A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A>&nbsp;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&nbsp;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&nbsp;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[]&nbsp;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&nbsp;value,                      int&nbsp;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><!-- ========= 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=3 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="../../../Tutorial.pdf"><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/index.html"><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;<A HREF="../../weka/associations/Associator.html" title="class in weka.associations"><B>PREV CLASS</B></A>&nbsp;&nbsp;<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" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="ItemSet.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 + -