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

📄 node.html

📁 < 数据挖掘--实用机器学习技术及java实现> 一书结合数据挖掘和机器学习的知识,作者陈述了自动挖掘模式的基础理论,并且以java语言实现了具有代表性的各类数据挖掘方法.例如:class
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/m5/Node.html#singleNodeToString()">singleNodeToString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts the information stored at this node to a string</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/m5/Node.html#smoothen()">smoothen</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Smoothens all unsmoothed formulae at the tree leaves under this node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/m5/Node.html#smoothenFormula(weka.classifiers.m5.Node)">smoothenFormula</A></B>(<A HREF="../../../weka/classifiers/m5/Node.html">Node</A>&nbsp;current)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Recursively smoothens the unsmoothed linear model at this node with the      unsmoothed linear models at the nodes above this</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/m5/Node.html#split(weka.core.Instances)">split</A></B>(<A HREF="../../../weka/core/Instances.html">Instances</A>&nbsp;inst)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Splits the node recursively, unless there are few instances or      instances have similar values of the class attribute</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/m5/Node.html#treeToString(int, double)">treeToString</A></B>(int&nbsp;treeLevel,             double&nbsp;deviation)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts the tree under this node to a string</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../weka/classifiers/m5/Measures.html">Measures</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/m5/Node.html#validation(weka.core.Instances)">validation</A></B>(<A HREF="../../../weka/core/Instances.html">Instances</A>&nbsp;inst)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Computes performance measures for both unsmoothed and smoothed models</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/m5/Node.html#valueNode()">valueNode</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Takes a constant value as the function at the node</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="Node(weka.core.Instances, weka.classifiers.m5.Node)"><!-- --></A><H3>Node</H3><PRE>public <B>Node</B>(<A HREF="../../../weka/core/Instances.html">Instances</A>&nbsp;inst,            <A HREF="../../../weka/classifiers/m5/Node.html">Node</A>&nbsp;up)</PRE><DL><DD>Constructs a new node<DD><DL><DT><B>Parameters:</B><DD><CODE>inst</CODE> - instances<DD><CODE>up</CODE> - the parent node</DL></DD></DL><HR><A NAME="Node(weka.core.Instances, weka.classifiers.m5.Node, weka.classifiers.m5.Options)"><!-- --></A><H3>Node</H3><PRE>public <B>Node</B>(<A HREF="../../../weka/core/Instances.html">Instances</A>&nbsp;inst,            <A HREF="../../../weka/classifiers/m5/Node.html">Node</A>&nbsp;up,            <A HREF="../../../weka/classifiers/m5/Options.html">Options</A>&nbsp;options)</PRE><DL><DD>Constructs the root of a tree<DD><DL><DT><B>Parameters:</B><DD><CODE>inst</CODE> - instances<DD><CODE>up</CODE> - the parent node<DD><CODE>options</CODE> - the options</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="singleNodeToString()"><!-- --></A><H3>singleNodeToString</H3><PRE>public final java.lang.String <B>singleNodeToString</B>()                                          throws java.lang.Exception</PRE><DL><DD>Converts the information stored at this node to a string<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the converted string<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if something goes wrong</DL></DD></DL><HR><A NAME="treeToString(int, double)"><!-- --></A><H3>treeToString</H3><PRE>public final java.lang.String <B>treeToString</B>(int&nbsp;treeLevel,                                           double&nbsp;deviation)</PRE><DL><DD>Converts the tree under this node to a string<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>treeLevel</CODE> - the depth of this node;         the root of a tree should have treeLevel = 0<DD><CODE>deviation</CODE> - the global deviation of the class column,         used for evaluating relative errors<DT><B>Returns:</B><DD>the converted string</DL></DD></DL><HR><A NAME="numberOfLinearModels()"><!-- --></A><H3>numberOfLinearModels</H3><PRE>public final int <B>numberOfLinearModels</B>()</PRE><DL><DD>Counts the number of linear models in the tree.<DD><DL></DL></DD></DL><HR><A NAME="formulaeToString(boolean)"><!-- --></A><H3>formulaeToString</H3><PRE>public final java.lang.String <B>formulaeToString</B>(boolean&nbsp;smooth)                                        throws java.lang.Exception</PRE><DL><DD>Converts all the linear models at the leaves under the node to a string<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>smooth</CODE> - either the smoothed models if true, otherwise         the unsmoothed are converted<DT><B>Returns:</B><DD>the converted string<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if something goes wrong</DL></DD></DL><HR><A NAME="numLeaves(int)"><!-- --></A><H3>numLeaves</H3><PRE>public final int <B>numLeaves</B>(int&nbsp;leafCounter)</PRE><DL><DD>Sets the leaves' numbers<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>leafCounter</CODE> - the number of leaves counted<DT><B>Returns:</B><DD>the number of the total leaves under the node</DL></DD></DL><HR><A NAME="split(weka.core.Instances)"><!-- --></A><H3>split</H3><PRE>public final void <B>split</B>(<A HREF="../../../weka/core/Instances.html">Instances</A>&nbsp;inst)                 throws java.lang.Exception</PRE><DL><DD>Splits the node recursively, unless there are few instances or      instances have similar values of the class attribute<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>inst</CODE> - instances<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if something goes wrong</DL></DD></DL><HR><A NAME="leafNode()"><!-- --></A><H3>leafNode</H3><PRE>public final void <B>leafNode</B>()                    throws java.lang.Exception</PRE><DL><DD>Sets the node to a leaf<DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if something goes wrong</DL></DD></DL><HR><A NAME="valueNode()"><!-- --></A><H3>valueNode</H3><PRE>public final void <B>valueNode</B>()                     throws java.lang.Exception</PRE><DL><DD>Takes a constant value as the function at the node<DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if something goes wrong</DL></DD></DL><HR><A NAME="prune()"><!-- --></A><H3>prune</H3><PRE>public final void <B>prune</B>()                 throws java.lang.Exception</PRE><DL><DD>Prunes the model tree<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>modelType</CODE> - determines what kind a model is constructed, a model tree,       a regression tree or a simple linear regression<DD><CODE>pruningFactor</CODE> - the pruning factor influences the size of the pruned tree<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if something goes wrong</DL></DD></DL><HR>

⌨️ 快捷键说明

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