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

📄 itemset.html

📁 < 数据挖掘--实用机器学习技术及java实现> 一书结合数据挖掘和机器学习的知识,作者陈述了自动挖掘模式的基础理论,并且以java语言实现了具有代表性的各类数据挖掘方法.例如:class
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</DD></DL><HR><A NAME="generateRules(double, weka.core.FastVector, int)"><!-- --></A><H3>generateRules</H3><PRE>public final <A HREF="../../weka/core/FastVector.html">FastVector</A>[] <B>generateRules</B>(double&nbsp;minConfidence,                                        <A HREF="../../weka/core/FastVector.html">FastVector</A>&nbsp;hashtables,                                        int&nbsp;numItemsInSet)</PRE><DL><DD>Generates all rules for an item set.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>minConfidence</CODE> - the minimum confidence the rules have to have<DD><CODE>hashtables</CODE> - containing all(!) previously generated item sets<DD><CODE>numItemsInSet</CODE> - the size of the item set for which the rules are to be generated<DT><B>Returns:</B><DD>all the rules with minimum confidence for the given item set</DL></DD></DL><HR><A NAME="generateRulesBruteForce(double, int, weka.core.FastVector, int, int, double)"><!-- --></A><H3>generateRulesBruteForce</H3><PRE>public final <A HREF="../../weka/core/FastVector.html">FastVector</A>[] <B>generateRulesBruteForce</B>(double&nbsp;minMetric,                                                  int&nbsp;metricType,                                                  <A HREF="../../weka/core/FastVector.html">FastVector</A>&nbsp;hashtables,                                                  int&nbsp;numItemsInSet,                                                  int&nbsp;numTransactions,                                                  double&nbsp;significanceLevel)                                           throws java.lang.Exception</PRE><DL><DD>Generates all significant rules for an item set.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>minMetric</CODE> - the minimum metric (confidence, lift, leverage,  improvement) the rules have to have<DD><CODE>metricType</CODE> - (confidence=0, lift, leverage, improvement)<DD><CODE>hashtables</CODE> - containing all(!) previously generated item sets<DD><CODE>numItemsInSet</CODE> - the size of the item set for which the rules are to be generated<DD><CODE>the</CODE> - significance level for testing the rules<DT><B>Returns:</B><DD>all the rules with minimum metric for the given item set<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if something goes wrong</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">FastVector</A>&nbsp;itemSets,                                               int&nbsp;initialSize)</PRE><DL><DD>Return a hashtable filled with the given item sets.<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.<DD><DL><DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></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">FastVector</A> <B>mergeAllItemSets</B>(<A HREF="../../weka/core/FastVector.html">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.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><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">FastVector</A> <B>pruneItemSets</B>(<A HREF="../../weka/core/FastVector.html">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.<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">FastVector</A>[]&nbsp;rules,                              double&nbsp;minConfidence)</PRE><DL><DD>Prunes a set of rules.<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">FastVector</A> <B>singletons</B>(<A HREF="../../weka/core/Instances.html">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.<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="subtract(weka.associations.ItemSet)"><!-- --></A><H3>subtract</H3><PRE>public final <A HREF="../../weka/associations/ItemSet.html">ItemSet</A> <B>subtract</B>(<A HREF="../../weka/associations/ItemSet.html">ItemSet</A>&nbsp;toSubtract)</PRE><DL><DD>Subtracts an item set from another one.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>toSubtract</CODE> - the item set to be subtracted from this one.<DT><B>Returns:</B><DD>an item set that only contains items form this item sets that are not contained by toSubtract</DL></DD></DL><HR><A NAME="support()"><!-- --></A><H3>support</H3><PRE>public final int <B>support</B>()</PRE><DL><DD>Outputs the support for an item set.<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 final java.lang.String <B>toString</B>(<A HREF="../../weka/core/Instances.html">Instances</A>&nbsp;instances)</PRE><DL><DD>Returns the contents of an item set as a string.<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 final void <B>upDateCounter</B>(<A HREF="../../weka/core/Instance.html">Instance</A>&nbsp;instance)</PRE><DL><DD>Updates counter of item set with respect to given transaction.<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">FastVector</A>&nbsp;itemSets,                                  <A HREF="../../weka/core/Instances.html">Instances</A>&nbsp;instances)</PRE><DL><DD>Updates counters for a set of item sets and a set of instances.<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><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <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>  </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"><B>PREV CLASS</B></A>&nbsp;&nbsp;NEXT CLASS</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></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

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