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

📄 rulenode.html

📁 由java开发的软件包
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<DD><CODE>java.lang.Exception</CODE></DL></DD></DL><HR><A NAME="prune()"><!-- --></A><H3>prune</H3><PRE>public void <B>prune</B>()           throws java.lang.Exception</PRE><DL><DD>Recursively prune the tree<P><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an error occurs</DL></DD></DL><HR><A NAME="findBestLeaf(double[], weka.classifiers.trees.m5.RuleNode[])"><!-- --></A><H3>findBestLeaf</H3><PRE>public void <B>findBestLeaf</B>(double[]&nbsp;maxCoverage,                         <A HREF="../../../../weka/classifiers/trees/m5/RuleNode.html" title="class in weka.classifiers.trees.m5">RuleNode</A>[]&nbsp;bestLeaf)</PRE><DL><DD>Find the leaf with greatest coverage<P><DD><DL><DT><B>Parameters:</B><DD><CODE>maxCoverage</CODE> - the greatest coverage found so far<DD><CODE>bestLeaf</CODE> - the leaf with the greatest coverage</DL></DD></DL><HR><A NAME="returnLeaves(weka.core.FastVector[])"><!-- --></A><H3>returnLeaves</H3><PRE>public void <B>returnLeaves</B>(<A HREF="../../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A>[]&nbsp;v)</PRE><DL><DD>Return a list containing all the leaves in the tree<P><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - a single element array containing a vector of leaves</DL></DD></DL><HR><A NAME="parentNode()"><!-- --></A><H3>parentNode</H3><PRE>public <A HREF="../../../../weka/classifiers/trees/m5/RuleNode.html" title="class in weka.classifiers.trees.m5">RuleNode</A> <B>parentNode</B>()</PRE><DL><DD>Get the parent of this node<P><DD><DL><DT><B>Returns:</B><DD>the parent of this node</DL></DD></DL><HR><A NAME="leftNode()"><!-- --></A><H3>leftNode</H3><PRE>public <A HREF="../../../../weka/classifiers/trees/m5/RuleNode.html" title="class in weka.classifiers.trees.m5">RuleNode</A> <B>leftNode</B>()</PRE><DL><DD>Get the left child of this node<P><DD><DL><DT><B>Returns:</B><DD>the left child of this node</DL></DD></DL><HR><A NAME="rightNode()"><!-- --></A><H3>rightNode</H3><PRE>public <A HREF="../../../../weka/classifiers/trees/m5/RuleNode.html" title="class in weka.classifiers.trees.m5">RuleNode</A> <B>rightNode</B>()</PRE><DL><DD>Get the right child of this node<P><DD><DL><DT><B>Returns:</B><DD>the right child of this node</DL></DD></DL><HR><A NAME="splitAtt()"><!-- --></A><H3>splitAtt</H3><PRE>public int <B>splitAtt</B>()</PRE><DL><DD>Get the index of the splitting attribute for this node<P><DD><DL><DT><B>Returns:</B><DD>the index of the splitting attribute</DL></DD></DL><HR><A NAME="splitVal()"><!-- --></A><H3>splitVal</H3><PRE>public double <B>splitVal</B>()</PRE><DL><DD>Get the split point for this node<P><DD><DL><DT><B>Returns:</B><DD>the split point for this node</DL></DD></DL><HR><A NAME="numberOfLinearModels()"><!-- --></A><H3>numberOfLinearModels</H3><PRE>public int <B>numberOfLinearModels</B>()</PRE><DL><DD>Get the number of linear models in the tree<P><DD><DL><DT><B>Returns:</B><DD>the number of linear models</DL></DD></DL><HR><A NAME="isLeaf()"><!-- --></A><H3>isLeaf</H3><PRE>public boolean <B>isLeaf</B>()</PRE><DL><DD>Return true if this node is a leaf<P><DD><DL><DT><B>Returns:</B><DD>true if this node is a leaf</DL></DD></DL><HR><A NAME="getModel()"><!-- --></A><H3>getModel</H3><PRE>public <A HREF="../../../../weka/classifiers/trees/m5/PreConstructedLinearModel.html" title="class in weka.classifiers.trees.m5">PreConstructedLinearModel</A> <B>getModel</B>()</PRE><DL><DD>Get the linear model at this node<P><DD><DL><DT><B>Returns:</B><DD>the linear model at this node</DL></DD></DL><HR><A NAME="getNumInstances()"><!-- --></A><H3>getNumInstances</H3><PRE>public int <B>getNumInstances</B>()</PRE><DL><DD>Return the number of instances that reach this node.<P><DD><DL><DT><B>Returns:</B><DD>the number of instances at this node.</DL></DD></DL><HR><A NAME="getRegressionTree()"><!-- --></A><H3>getRegressionTree</H3><PRE>public boolean <B>getRegressionTree</B>()</PRE><DL><DD>Get the value of regressionTree.<P><DD><DL><DT><B>Returns:</B><DD>Value of regressionTree.</DL></DD></DL><HR><A NAME="setMinNumInstances(double)"><!-- --></A><H3>setMinNumInstances</H3><PRE>public void <B>setMinNumInstances</B>(double&nbsp;minNum)</PRE><DL><DD>Set the minumum number of instances to allow at a leaf node<P><DD><DL><DT><B>Parameters:</B><DD><CODE>minNum</CODE> - the minimum number of instances</DL></DD></DL><HR><A NAME="getMinNumInstances()"><!-- --></A><H3>getMinNumInstances</H3><PRE>public double <B>getMinNumInstances</B>()</PRE><DL><DD>Get the minimum number of instances to allow at a leaf node<P><DD><DL><DT><B>Returns:</B><DD>a <code>double</code> value</DL></DD></DL><HR><A NAME="setRegressionTree(boolean)"><!-- --></A><H3>setRegressionTree</H3><PRE>public void <B>setRegressionTree</B>(boolean&nbsp;newregressionTree)</PRE><DL><DD>Set the value of regressionTree.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>newregressionTree</CODE> - Value to assign to regressionTree.</DL></DD></DL><HR><A NAME="printAllModels()"><!-- --></A><H3>printAllModels</H3><PRE>public void <B>printAllModels</B>()</PRE><DL><DD>Print all the linear models at the learf (debugging purposes)<P><DD><DL></DL></DD></DL><HR><A NAME="graph(java.lang.StringBuffer)"><!-- --></A><H3>graph</H3><PRE>public void <B>graph</B>(java.lang.StringBuffer&nbsp;text)</PRE><DL><DD>Assign a unique identifier to each node in the tree and then calls graphTree<P><DD><DL><DT><B>Parameters:</B><DD><CODE>text</CODE> - a <code>StringBuffer</code> value</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>&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="../../../../../Tutorial.pdf"><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/index.html"><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/classifiers/trees/m5/Rule.html" title="class in weka.classifiers.trees.m5"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../weka/classifiers/trees/m5/Values.html" title="class in weka.classifiers.trees.m5"><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>  &nbsp;&nbsp;<A HREF="RuleNode.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;<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></BODY></HTML>

⌨️ 快捷键说明

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