📄 splitter.html
字号:
orderAdded</H3><PRE>public int <B>orderAdded</B></PRE><DL><DD>The number this node was in the order of nodes added to the tree<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="Splitter()"><!-- --></A><H3>Splitter</H3><PRE>public <B>Splitter</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getNumOfBranches()"><!-- --></A><H3>getNumOfBranches</H3><PRE>public abstract int <B>getNumOfBranches</B>()</PRE><DL><DD>Gets the number of branches of the split.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of branches</DL></DD></DL><HR><A NAME="branchInstanceGoesDown(weka.core.Instance)"><!-- --></A><H3>branchInstanceGoesDown</H3><PRE>public abstract int <B>branchInstanceGoesDown</B>(<A HREF="../../../../weka/core/Instance.html" title="class in weka.core">Instance</A> i)</PRE><DL><DD>Gets the index of the branch that an instance applies to. Returns -1 if no branches apply.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - the instance<DT><B>Returns:</B><DD>the branch index</DL></DD></DL><HR><A NAME="instancesDownBranch(int, weka.core.Instances)"><!-- --></A><H3>instancesDownBranch</H3><PRE>public abstract <A HREF="../../../../weka/classifiers/trees/adtree/ReferenceInstances.html" title="class in weka.classifiers.trees.adtree">ReferenceInstances</A> <B>instancesDownBranch</B>(int branch, <A HREF="../../../../weka/core/Instances.html" title="class in weka.core">Instances</A> sourceInstances)</PRE><DL><DD>Gets the subset of instances that apply to a particluar branch of the split. If the branch index is -1, the subset will consist of those instances that don't apply to any branch.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>branch</CODE> - the index of the branch<DD><CODE>sourceInstances</CODE> - the instances from which to find the subset<DT><B>Returns:</B><DD>the set of instances that apply</DL></DD></DL><HR><A NAME="attributeString(weka.core.Instances)"><!-- --></A><H3>attributeString</H3><PRE>public abstract java.lang.String <B>attributeString</B>(<A HREF="../../../../weka/core/Instances.html" title="class in weka.core">Instances</A> dataset)</PRE><DL><DD>Gets the string describing the attributes the split depends on. i.e. the left hand side of the description of the split.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>dataset</CODE> - the dataset that the split is based on<DT><B>Returns:</B><DD>a string describing the attributes</DL></DD></DL><HR><A NAME="comparisonString(int, weka.core.Instances)"><!-- --></A><H3>comparisonString</H3><PRE>public abstract java.lang.String <B>comparisonString</B>(int branchNum, <A HREF="../../../../weka/core/Instances.html" title="class in weka.core">Instances</A> dataset)</PRE><DL><DD>Gets the string describing the comparision the split depends on for a particular branch. i.e. the right hand side of the description of the split.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>branchNum</CODE> - the branch of the split<DD><CODE>dataset</CODE> - the dataset that the split is based on<DT><B>Returns:</B><DD>a string describing the comparison</DL></DD></DL><HR><A NAME="equalTo(weka.classifiers.trees.adtree.Splitter)"><!-- --></A><H3>equalTo</H3><PRE>public abstract boolean <B>equalTo</B>(<A HREF="../../../../weka/classifiers/trees/adtree/Splitter.html" title="class in weka.classifiers.trees.adtree">Splitter</A> compare)</PRE><DL><DD>Tests whether two splitters are equivalent.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>compare</CODE> - the splitter to compare with<DT><B>Returns:</B><DD>whether or not they match</DL></DD></DL><HR><A NAME="setChildForBranch(int, weka.classifiers.trees.adtree.PredictionNode)"><!-- --></A><H3>setChildForBranch</H3><PRE>public abstract void <B>setChildForBranch</B>(int branchNum, <A HREF="../../../../weka/classifiers/trees/adtree/PredictionNode.html" title="class in weka.classifiers.trees.adtree">PredictionNode</A> childPredictor)</PRE><DL><DD>Sets the child for a branch of the split.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>branchNum</CODE> - the branch to set the child for<DD><CODE>childPredictor</CODE> - the new child</DL></DD></DL><HR><A NAME="getChildForBranch(int)"><!-- --></A><H3>getChildForBranch</H3><PRE>public abstract <A HREF="../../../../weka/classifiers/trees/adtree/PredictionNode.html" title="class in weka.classifiers.trees.adtree">PredictionNode</A> <B>getChildForBranch</B>(int branchNum)</PRE><DL><DD>Gets the child for a branch of the split.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>branchNum</CODE> - the branch to get the child for<DT><B>Returns:</B><DD>the child</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public abstract java.lang.Object <B>clone</B>()</PRE><DL><DD>Clones this node. Performs a deep copy, recursing through the tree.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a clone</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/classifiers/trees/adtree/ReferenceInstances.html" title="class in weka.classifiers.trees.adtree"><B>PREV CLASS</B></A> <A HREF="../../../../weka/classifiers/trees/adtree/TwoWayNominalSplit.html" title="class in weka.classifiers.trees.adtree"><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="Splitter.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 + -