📄 rule.html
字号:
<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The TP-rate.</DL></DD></DL><HR><A NAME="getFPRate()"><!-- --></A><H3>getFPRate</H3><PRE>public double <B>getFPRate</B>()</PRE><DL><DD>Get the rate of False Positive instances of this rule.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The FP-rate.</DL></DD></DL><HR><A NAME="calculateConfirmation()"><!-- --></A><H3>calculateConfirmation</H3><PRE>public void <B>calculateConfirmation</B>()</PRE><DL><DD>Calculate the confirmation of this rule.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="calculateOptimistic()"><!-- --></A><H3>calculateOptimistic</H3><PRE>public void <B>calculateOptimistic</B>()</PRE><DL><DD>Calculate the optimistic estimate of this rule.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isEmpty()"><!-- --></A><H3>isEmpty</H3><PRE>public boolean <B>isEmpty</B>()</PRE><DL><DD>Test if this rule is empty.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>True if it is the empty rule.</DL></DD></DL><HR><A NAME="numLiterals()"><!-- --></A><H3>numLiterals</H3><PRE>public int <B>numLiterals</B>()</PRE><DL><DD>Give the number of literals in this rule.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The number of literals.</DL></DD></DL><HR><A NAME="refine(java.util.ArrayList)"><!-- --></A><H3>refine</H3><PRE>public <A HREF="../../../weka/associations/tertius/SimpleLinkedList.html" title="class in weka.associations.tertius">SimpleLinkedList</A> <B>refine</B>(java.util.ArrayList predicates)</PRE><DL><DD>Refine a rule by adding literal from a set of predictes.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>predicates</CODE> - The predicates available.<DT><B>Returns:</B><DD>The list of the children obtained by refining the rule.</DL></DD></DL><HR><A NAME="subsumes(weka.associations.tertius.Rule)"><!-- --></A><H3>subsumes</H3><PRE>public boolean <B>subsumes</B>(<A HREF="../../../weka/associations/tertius/Rule.html" title="class in weka.associations.tertius">Rule</A> otherRule)</PRE><DL><DD>Test if this rule subsumes another rule.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>otherRule</CODE> - The other rule.<DT><B>Returns:</B><DD>True if the other rule is subsumed.</DL></DD></DL><HR><A NAME="sameClauseAs(weka.associations.tertius.Rule)"><!-- --></A><H3>sameClauseAs</H3><PRE>public boolean <B>sameClauseAs</B>(<A HREF="../../../weka/associations/tertius/Rule.html" title="class in weka.associations.tertius">Rule</A> otherRule)</PRE><DL><DD>Test if this rule and another rule correspond to the same clause.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>otherRule</CODE> - The other rule.<DT><B>Returns:</B><DD>True if both rules correspond to the same clause.</DL></DD></DL><HR><A NAME="equivalentTo(weka.associations.tertius.Rule)"><!-- --></A><H3>equivalentTo</H3><PRE>public boolean <B>equivalentTo</B>(<A HREF="../../../weka/associations/tertius/Rule.html" title="class in weka.associations.tertius">Rule</A> otherRule)</PRE><DL><DD>Test if this rule is equivalent to another rule.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>otherRule</CODE> - The other rule.<DT><B>Returns:</B><DD>True if both rules are equivalent.</DL></DD></DL><HR><A NAME="bodyContains(weka.associations.tertius.Literal)"><!-- --></A><H3>bodyContains</H3><PRE>public boolean <B>bodyContains</B>(<A HREF="../../../weka/associations/tertius/Literal.html" title="class in weka.associations.tertius">Literal</A> lit)</PRE><DL><DD>Test if the body of the rule contains a literal.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>lit</CODE> - The literal to look for.<DT><B>Returns:</B><DD>True if the literal is contained in the body of the rule.</DL></DD></DL><HR><A NAME="headContains(weka.associations.tertius.Literal)"><!-- --></A><H3>headContains</H3><PRE>public boolean <B>headContains</B>(<A HREF="../../../weka/associations/tertius/Literal.html" title="class in weka.associations.tertius">Literal</A> lit)</PRE><DL><DD>Test if the head of the rule contains a literal.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>lit</CODE> - The literal to look for.<DT><B>Returns:</B><DD>True if the literal is contained in the head of the rule.</DL></DD></DL><HR><A NAME="overFrequencyThreshold(double)"><!-- --></A><H3>overFrequencyThreshold</H3><PRE>public boolean <B>overFrequencyThreshold</B>(double minFrequency)</PRE><DL><DD>Test if this rule is over the frequency threshold.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>minFrequency</CODE> - The frequency threshold.<DT><B>Returns:</B><DD>True if the rule is over the threshold.</DL></DD></DL><HR><A NAME="hasTrueBody()"><!-- --></A><H3>hasTrueBody</H3><PRE>public boolean <B>hasTrueBody</B>()</PRE><DL><DD>Test if the body of the rule is true.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>True if the body is always satisfied.</DL></DD></DL><HR><A NAME="hasFalseHead()"><!-- --></A><H3>hasFalseHead</H3><PRE>public boolean <B>hasFalseHead</B>()</PRE><DL><DD>Test if the head of the rule is false.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>True if the body is never satisfied.</DL></DD></DL><HR><A NAME="valuesToString()"><!-- --></A><H3>valuesToString</H3><PRE>public java.lang.String <B>valuesToString</B>()</PRE><DL><DD>Return a String giving the confirmation and optimistic estimate of this rule.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>A String with the values of the rule.</DL></DD></DL><HR><A NAME="rocToString()"><!-- --></A><H3>rocToString</H3><PRE>public java.lang.String <B>rocToString</B>()</PRE><DL><DD>Return a String giving the TP-rate and FP-rate of this rule.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>A String with the values of the rule.</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Retrun a String for this rule.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The String describing this rule.</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> </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="../../../../Tutorial.pdf"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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> </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/tertius/Predicate.html" title="class in weka.associations.tertius"><B>PREV CLASS</B></A> <A HREF="../../../weka/associations/tertius/SimpleLinkedList.html" title="class in weka.associations.tertius"><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> <A HREF="Rule.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -