rule.html
来自「数据挖掘方面最新软件」· HTML 代码 · 共 600 行 · 第 1/2 页
HTML
600 行
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="Rule(com.rapidminer.example.Attribute[], com.rapidminer.example.Attribute, boolean, boolean)"><!-- --></A><H3>Rule</H3><PRE>public <B>Rule</B>(<A HREF="../../../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A>[] regularAttributes, <A HREF="../../../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A> label, boolean rejectionSampling, boolean createAll)</PRE><DL><DD>Creates a new rule,initializes the regularAttributes and the literals attribute.<P></DL><HR><A NAME="Rule(com.rapidminer.operator.learner.igss.hypothesis.Literal, int)"><!-- --></A><H3>Rule</H3><PRE>public <B>Rule</B>(<A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Literal.html" title="class in com.rapidminer.operator.learner.igss.hypothesis">Literal</A> literal, int prediction)</PRE><DL><DD>Construct a new rule with one literal.<P></DL><HR><A NAME="Rule(com.rapidminer.operator.learner.igss.hypothesis.Literal[], int)"><!-- --></A><H3>Rule</H3><PRE>public <B>Rule</B>(<A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Literal.html" title="class in com.rapidminer.operator.learner.igss.hypothesis">Literal</A>[] literals, int prediction)</PRE><DL><DD>Construct a new rule with the given literals.<P></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="clone()"><!-- --></A><H3>clone</H3><PRE>public <A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html" title="class in com.rapidminer.operator.learner.igss.hypothesis">Hypothesis</A> <B>clone</B>()</PRE><DL><DD>Clones the rule with covered and positive weight.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html#clone()">clone</A></CODE> in class <CODE><A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html" title="class in com.rapidminer.operator.learner.igss.hypothesis">Hypothesis</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="apply(com.rapidminer.example.Example)"><!-- --></A><H3>apply</H3><PRE>public void <B>apply</B>(<A HREF="../../../../../../com/rapidminer/example/Example.html" title="class in com.rapidminer.example">Example</A> e)</PRE><DL><DD>Applies the rule to the given examples.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html#apply(com.rapidminer.example.Example)">apply</A></CODE> in class <CODE><A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html" title="class in com.rapidminer.operator.learner.igss.hypothesis">Hypothesis</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="applicable(com.rapidminer.example.Example)"><!-- --></A><H3>applicable</H3><PRE>public boolean <B>applicable</B>(<A HREF="../../../../../../com/rapidminer/example/Example.html" title="class in com.rapidminer.example">Example</A> e)</PRE><DL><DD>Test if the rule is applicable to the given examples without updating the corresponding value.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html#applicable(com.rapidminer.example.Example)">applicable</A></CODE> in class <CODE><A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html" title="class in com.rapidminer.operator.learner.igss.hypothesis">Hypothesis</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="init(int)"><!-- --></A><H3>init</H3><PRE>public java.util.LinkedList<<A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html" title="class in com.rapidminer.operator.learner.igss.hypothesis">Hypothesis</A>> <B>init</B>(int minComplexity)</PRE><DL><DD>Creates all rules with length<=minComplexity.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html#init(int)">init</A></CODE> in class <CODE><A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html" title="class in com.rapidminer.operator.learner.igss.hypothesis">Hypothesis</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="refine()"><!-- --></A><H3>refine</H3><PRE>public java.util.LinkedList<<A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html" title="class in com.rapidminer.operator.learner.igss.hypothesis">Hypothesis</A>> <B>refine</B>()</PRE><DL><DD>Creates all successors of the rule that have one more literal.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html#refine()">refine</A></CODE> in class <CODE><A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html" title="class in com.rapidminer.operator.learner.igss.hypothesis">Hypothesis</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="canBeRefined()"><!-- --></A><H3>canBeRefined</H3><PRE>public boolean <B>canBeRefined</B>()</PRE><DL><DD>Returns true only if this hypothesis can still be refined.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html#canBeRefined()">canBeRefined</A></CODE> in class <CODE><A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html" title="class in com.rapidminer.operator.learner.igss.hypothesis">Hypothesis</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getPrediction()"><!-- --></A><H3>getPrediction</H3><PRE>public int <B>getPrediction</B>()</PRE><DL><DD>Returns the index of prediction of this rule<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html#getPrediction()">getPrediction</A></CODE> in class <CODE><A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html" title="class in com.rapidminer.operator.learner.igss.hypothesis">Hypothesis</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getComplexity()"><!-- --></A><H3>getComplexity</H3><PRE>public int <B>getComplexity</B>()</PRE><DL><DD>Returns the lenght of the premise of the rule.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html#getComplexity()">getComplexity</A></CODE> in class <CODE><A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html" title="class in com.rapidminer.operator.learner.igss.hypothesis">Hypothesis</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object o)</PRE><DL><DD>Returns true if the two rules have the same premise and make the same perdiction.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Returns a String representation of the rule.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getLiterals()"><!-- --></A><H3>getLiterals</H3><PRE>public <A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Literal.html" title="class in com.rapidminer.operator.learner.igss.hypothesis">Literal</A>[] <B>getLiterals</B>()</PRE><DL><DD>Returns the literals in the premise of this rule.<P><DD><DL></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="class-use/Rule.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=114160&type=2" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Literal.html" title="class in com.rapidminer.operator.learner.igss.hypothesis"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../index.html?com/rapidminer/operator/learner/igss/hypothesis/Rule.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="#fields_inherited_from_class_com.rapidminer.operator.learner.igss.hypothesis.Hypothesis">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: 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><i>Copyright © 2001-2008 by <a href="http://rapid-i.com" target="_blank">Rapid-I</a></i></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?