bestruleinduction.html

来自「数据挖掘方面最新软件」· HTML 代码 · 共 612 行 · 第 1/3 页

HTML
612 行
字号
<P><DD><DL><DT><B>Returns:</B><DD>true iff the rule can be pruned<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/rapidminer/parameter/UndefinedParameterError.html" title="class in com.rapidminer.parameter">UndefinedParameterError</A></CODE></DL></DD></DL><HR><A NAME="getBestRule()"><!-- --></A><H3>getBestRule</H3><PRE>protected <A HREF="../../../../../com/rapidminer/operator/learner/rules/ConjunctiveRuleModel.html" title="class in com.rapidminer.operator.learner.rules">ConjunctiveRuleModel</A> <B>getBestRule</B>()</PRE><DL><DD><DL><DT><B>Returns:</B><DD>the best rule found</DL></DD></DL><HR><A NAME="getPruningScore()"><!-- --></A><H3>getPruningScore</H3><PRE>protected double <B>getPruningScore</B>()</PRE><DL><DD><DL><DT><B>Returns:</B><DD>the lowest score of the stored best rules for pruning</DL></DD></DL><HR><A NAME="learn(com.rapidminer.example.ExampleSet)"><!-- --></A><H3>learn</H3><PRE>public <A HREF="../../../../../com/rapidminer/operator/Model.html" title="interface in com.rapidminer.operator">Model</A> <B>learn</B>(<A HREF="../../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;exampleSet)            throws <A HREF="../../../../../com/rapidminer/operator/OperatorException.html" title="class in com.rapidminer.operator">OperatorException</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/rapidminer/operator/learner/Learner.html#learn(com.rapidminer.example.ExampleSet)">Learner</A></CODE></B></DD><DD>Trains a model. This method should be called by apply() and is implemented by subclasses.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/rapidminer/operator/OperatorException.html" title="class in com.rapidminer.operator">OperatorException</A></CODE></DL></DD></DL><HR><A NAME="isRefinementOfPrunedRule(com.rapidminer.operator.learner.rules.ConjunctiveRuleModel)"><!-- --></A><H3>isRefinementOfPrunedRule</H3><PRE>public boolean <B>isRefinementOfPrunedRule</B>(<A HREF="../../../../../com/rapidminer/operator/learner/rules/ConjunctiveRuleModel.html" title="class in com.rapidminer.operator.learner.rules">ConjunctiveRuleModel</A>&nbsp;rule)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>rule</CODE> - a ConjuctiveRuleModel for which it is checked whether a more            general rule has already been pruned.<DT><B>Returns:</B><DD>true, if this rule is a refinement of a pruned rule. The rules         are compared using the method         <code>ConjunctiveRuleModel.isRefinementOf(ConjunctiveRuleModel model)</code></DL></DD></DL><HR><A NAME="getScore(double[], boolean)"><!-- --></A><H3>getScore</H3><PRE>protected double <B>getScore</B>(double[]&nbsp;counts,                          boolean&nbsp;predictPositives)                   throws <A HREF="../../../../../com/rapidminer/parameter/UndefinedParameterError.html" title="class in com.rapidminer.parameter">UndefinedParameterError</A></PRE><DL><DD>Computes the WRAcc or BINOMIAL TEST FUNCTION based on p, n, and the global values P and N stored in this object. First two entries of counts are p and n, optionally estimates for p and n can be supplied as further parameters.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/rapidminer/parameter/UndefinedParameterError.html" title="class in com.rapidminer.parameter">UndefinedParameterError</A></CODE></DL></DD></DL><HR><A NAME="getOptimisticScore(double[])"><!-- --></A><H3>getOptimisticScore</H3><PRE>protected double <B>getOptimisticScore</B>(double[]&nbsp;counts)                             throws <A HREF="../../../../../com/rapidminer/parameter/UndefinedParameterError.html" title="class in com.rapidminer.parameter">UndefinedParameterError</A></PRE><DL><DD>Computes the best possible score that might be achieved by refining the rule. During learning the conclusion is normalized to "positive", so the better of the estimates of the better conclusion is returned.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/rapidminer/parameter/UndefinedParameterError.html" title="class in com.rapidminer.parameter">UndefinedParameterError</A></CODE></DL></DD></DL><HR><A NAME="getCounts(com.rapidminer.operator.learner.rules.ConjunctiveRuleModel, com.rapidminer.example.ExampleSet)"><!-- --></A><H3>getCounts</H3><PRE>protected double[] <B>getCounts</B>(<A HREF="../../../../../com/rapidminer/operator/learner/rules/ConjunctiveRuleModel.html" title="class in com.rapidminer.operator.learner.rules">ConjunctiveRuleModel</A>&nbsp;rule,                             <A HREF="../../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;exampleSet)                      throws <A HREF="../../../../../com/rapidminer/operator/OperatorException.html" title="class in com.rapidminer.operator">OperatorException</A></PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>rule</CODE> - the rule to evaluate<DD><CODE>exampleSet</CODE> - the exampleSet to get the counts for<DT><B>Returns:</B><DD>a double[2] object, first parameter is p, second is n. If rule         discovery relative to a predicted label is activated, then a         double[4] is returned, which contains the estimated positives and         negatives in the covered part as fields 3 and 4.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/rapidminer/operator/OperatorException.html" title="class in com.rapidminer.operator">OperatorException</A></CODE></DL></DD></DL><HR><A NAME="getParameterTypes()"><!-- --></A><H3>getParameterTypes</H3><PRE>public java.util.List&lt;<A HREF="../../../../../com/rapidminer/parameter/ParameterType.html" title="class in com.rapidminer.parameter">ParameterType</A>&gt; <B>getParameterTypes</B>()</PRE><DL><DD>Adds the parameters &quot;number of iterations&quot; and &quot;model file&quot;.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/rapidminer/parameter/ParameterHandler.html#getParameterTypes()">getParameterTypes</A></CODE> in interface <CODE><A HREF="../../../../../com/rapidminer/parameter/ParameterHandler.html" title="interface in com.rapidminer.parameter">ParameterHandler</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/rapidminer/operator/Operator.html#getParameterTypes()">getParameterTypes</A></CODE> in class <CODE><A HREF="../../../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A></CODE></DL></DD><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>&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="class-use/BestRuleInduction.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&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><a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=114160&amp;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">&nbsp;<A HREF="../../../../../com/rapidminer/operator/learner/rules/AccuracyCriterion.html" title="class in com.rapidminer.operator.learner.rules"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../../com/rapidminer/operator/learner/rules/BestRuleInduction.RuleWithScoreUpperBound.html" title="class in com.rapidminer.operator.learner.rules"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../index.html?com/rapidminer/operator/learner/rules/BestRuleInduction.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="BestRuleInduction.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;<A HREF="#nested_class_summary">NESTED</A>&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><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright &#169; 2001-2008 by <a href="http://rapid-i.com" target="_blank">Rapid-I</a></i></BODY></HTML>

⌨️ 快捷键说明

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