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

📄 carulegeneration.html

📁 weka是机器学习和数据挖掘领域最有影响力的开源项目之一
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../weka/associations/RuleGeneration.html#binomialDistribution(double, double, double)">binomialDistribution</A>, <A HREF="../../weka/associations/RuleGeneration.html#change()">change</A>, <A HREF="../../weka/associations/RuleGeneration.html#count()">count</A>, <A HREF="../../weka/associations/RuleGeneration.html#expectation(double, int, double[], java.util.Hashtable)">expectation</A>, <A HREF="../../weka/associations/RuleGeneration.html#removeRedundant(weka.associations.RuleItem)">removeRedundant</A>, <A HREF="../../weka/associations/RuleGeneration.html#singleConsequence(weka.core.Instances, int, weka.core.FastVector)">singleConsequence</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_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>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="CaRuleGeneration(weka.associations.ItemSet)"><!-- --></A><H3>CaRuleGeneration</H3><PRE>public <B>CaRuleGeneration</B>(<A HREF="../../weka/associations/ItemSet.html" title="class in weka.associations">ItemSet</A>&nbsp;itemSet)</PRE><DL><DD>Constructor<P><DL><DT><B>Parameters:</B><DD><CODE>itemSet</CODE> - the item set that forms the premise of the rule</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="generateRules(int, double[], java.util.Hashtable, double, weka.core.Instances, java.util.TreeSet, int)"><!-- --></A><H3>generateRules</H3><PRE>public java.util.TreeSet <B>generateRules</B>(int&nbsp;numRules,                                       double[]&nbsp;midPoints,                                       java.util.Hashtable&nbsp;priors,                                       double&nbsp;expectation,                                       <A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A>&nbsp;instances,                                       java.util.TreeSet&nbsp;best,                                       int&nbsp;genTime)</PRE><DL><DD>Generates all rules for an item set. The item set is the premise.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../weka/associations/RuleGeneration.html#generateRules(int, double[], java.util.Hashtable, double, weka.core.Instances, java.util.TreeSet, int)">generateRules</A></CODE> in class <CODE><A HREF="../../weka/associations/RuleGeneration.html" title="class in weka.associations">RuleGeneration</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>numRules</CODE> - the number of association rules the use wants to mine. This number equals the size <i>n<\i> of the list of the best rules.<DD><CODE>midPoints</CODE> - the mid points of the intervals<DD><CODE>priors</CODE> - Hashtable that contains the prior probabilities<DD><CODE>expectation</CODE> - the minimum value of the expected predictive accuracy that is needed to get into the list of the best rules<DD><CODE>instances</CODE> - the instances for which association rules are generated<DD><CODE>best</CODE> - the list of the <i>n<\i> best rules. The list is implemented as a TreeSet<DD><CODE>genTime</CODE> - the maximum time of generation<DT><B>Returns:</B><DD>all the rules with minimum confidence for the given item set</DL></DD></DL><HR><A NAME="aSubsumesB(weka.associations.RuleItem, weka.associations.RuleItem)"><!-- --></A><H3>aSubsumesB</H3><PRE>public static boolean <B>aSubsumesB</B>(<A HREF="../../weka/associations/RuleItem.html" title="class in weka.associations">RuleItem</A>&nbsp;a,                                 <A HREF="../../weka/associations/RuleItem.html" title="class in weka.associations">RuleItem</A>&nbsp;b)</PRE><DL><DD>Methods that decides whether or not rule a subsumes rule b. The defintion of subsumption is: Rule a subsumes rule b, if a subsumes b AND a has got least the same expected predictive accuracy as b.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>a</CODE> - an association rule stored as a RuleItem<DD><CODE>b</CODE> - an association rule stored as a RuleItem<DT><B>Returns:</B><DD>true if rule a subsumes rule b or false otherwise.</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="singleConsequence(weka.core.Instances)"><!-- --></A><H3>singleConsequence</H3><PRE>public static <A HREF="../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> <B>singleConsequence</B>(<A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A>&nbsp;instances)</PRE><DL><DD>generates a consequence of length 1 for a class association rule.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>instances</CODE> - the instances under consideration<DT><B>Returns:</B><DD>FastVector with consequences of length 1</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;<A HREF="../../weka/associations/AssociatorEvaluation.html" title="class in weka.associations"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../weka/associations/CARuleMiner.html" title="interface in weka.associations"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html?weka/associations/CaRuleGeneration.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="CaRuleGeneration.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 + -