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

📄 twowaynominalsplit.html

📁 < 数据挖掘--实用机器学习技术及java实现> 一书结合数据挖掘和机器学习的知识,作者陈述了自动挖掘模式的基础理论,并且以java语言实现了具有代表性的各类数据挖掘方法.例如:class
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!-- ========= 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="TwoWayNominalSplit(int, int)"><!-- --></A><H3>TwoWayNominalSplit</H3><PRE>public <B>TwoWayNominalSplit</B>(int&nbsp;_attIndex,                          int&nbsp;_trueSplitValue)</PRE><DL><DD>Creates a new two-way nominal splitter.<DD><DL><DT><B>Parameters:</B><DD><CODE>_attIndex</CODE> - the index of the attribute this split depeneds on<DD><CODE>_trueSplitValue</CODE> - the attribute value that the splitter splits on</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="getNumOfBranches()"><!-- --></A><H3>getNumOfBranches</H3><PRE>public int <B>getNumOfBranches</B>()</PRE><DL><DD>Gets the number of branches of the split.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/adtree/Splitter.html#getNumOfBranches()">getNumOfBranches</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/adtree/Splitter.html">Splitter</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of branches (always = 2)</DL></DD></DL><HR><A NAME="branchInstanceGoesDown(weka.core.Instance)"><!-- --></A><H3>branchInstanceGoesDown</H3><PRE>public int <B>branchInstanceGoesDown</B>(<A HREF="../../../weka/core/Instance.html">Instance</A>&nbsp;inst)</PRE><DL><DD>Gets the index of the branch that an instance applies to. Returns -1 if no branches apply.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/adtree/Splitter.html#branchInstanceGoesDown(weka.core.Instance)">branchInstanceGoesDown</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/adtree/Splitter.html">Splitter</A></CODE></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 <A HREF="../../../weka/classifiers/adtree/ReferenceInstances.html">ReferenceInstances</A> <B>instancesDownBranch</B>(int&nbsp;branch,                                              <A HREF="../../../weka/core/Instances.html">Instances</A>&nbsp;instances)</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.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/adtree/Splitter.html#instancesDownBranch(int, weka.core.Instances)">instancesDownBranch</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/adtree/Splitter.html">Splitter</A></CODE></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 java.lang.String <B>attributeString</B>(<A HREF="../../../weka/core/Instances.html">Instances</A>&nbsp;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.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/adtree/Splitter.html#attributeString(weka.core.Instances)">attributeString</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/adtree/Splitter.html">Splitter</A></CODE></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 java.lang.String <B>comparisonString</B>(int&nbsp;branchNum,                                         <A HREF="../../../weka/core/Instances.html">Instances</A>&nbsp;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.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/adtree/Splitter.html#comparisonString(int, weka.core.Instances)">comparisonString</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/adtree/Splitter.html">Splitter</A></CODE></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.adtree.Splitter)"><!-- --></A><H3>equalTo</H3><PRE>public boolean <B>equalTo</B>(<A HREF="../../../weka/classifiers/adtree/Splitter.html">Splitter</A>&nbsp;compare)</PRE><DL><DD>Tests whether two splitters are equivalent.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/adtree/Splitter.html#equalTo(weka.classifiers.adtree.Splitter)">equalTo</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/adtree/Splitter.html">Splitter</A></CODE></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.adtree.PredictionNode)"><!-- --></A><H3>setChildForBranch</H3><PRE>public void <B>setChildForBranch</B>(int&nbsp;branchNum,                              <A HREF="../../../weka/classifiers/adtree/PredictionNode.html">PredictionNode</A>&nbsp;childPredictor)</PRE><DL><DD>Sets the child for a branch of the split.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/adtree/Splitter.html#setChildForBranch(int, weka.classifiers.adtree.PredictionNode)">setChildForBranch</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/adtree/Splitter.html">Splitter</A></CODE></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 <A HREF="../../../weka/classifiers/adtree/PredictionNode.html">PredictionNode</A> <B>getChildForBranch</B>(int&nbsp;branchNum)</PRE><DL><DD>Gets the child for a branch of the split.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/adtree/Splitter.html#getChildForBranch(int)">getChildForBranch</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/adtree/Splitter.html">Splitter</A></CODE></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 java.lang.Object <B>clone</B>()</PRE><DL><DD>Clones this node. Performs a deep copy, recursing through the tree.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/adtree/Splitter.html#clone()">clone</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/adtree/Splitter.html">Splitter</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a clone</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <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="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</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/adtree/Splitter.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../weka/classifiers/adtree/TwoWayNumericSplit.html"><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="TwoWayNominalSplit.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_weka.classifiers.adtree.Splitter">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;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

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