balltreeconstructor.html

来自「数据挖掘的最常用工具。由于开源」· HTML 代码 · 共 814 行 · 第 1/3 页

HTML
814
字号
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the distance function to use to build the  tree.</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/core/neighboursearch/balltrees/BallTreeConstructor.html#setInstanceList(int[])">setInstanceList</A></B>(int[]&nbsp;instList)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the master index array that points to  instances in m_Instances, so that only this array is manipulated, and m_Instances is left  untouched.</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/core/neighboursearch/balltrees/BallTreeConstructor.html#setInstances(weka.core.Instances)">setInstances</A></B>(<A HREF="../../../../weka/core/Instances.html" title="class in weka.core">Instances</A>&nbsp;inst)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the instances on which the tree is to be built.</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/core/neighboursearch/balltrees/BallTreeConstructor.html#setMaxInstancesInLeaf(int)">setMaxInstancesInLeaf</A></B>(int&nbsp;num)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the maximum number of instances allowed in a leaf.</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/core/neighboursearch/balltrees/BallTreeConstructor.html#setMaxRelativeLeafRadius(double)">setMaxRelativeLeafRadius</A></B>(double&nbsp;radius)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the maximum relative radius, allowed for a leaf 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/core/neighboursearch/balltrees/BallTreeConstructor.html#setOptions(java.lang.String[])">setOptions</A></B>(java.lang.String[]&nbsp;options)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a given list of options.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="BallTreeConstructor()"><!-- --></A><H3>BallTreeConstructor</H3><PRE>public <B>BallTreeConstructor</B>()</PRE><DL><DD>Creates a new instance of BallTreeConstructor.<P></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="buildTree()"><!-- --></A><H3>buildTree</H3><PRE>public abstract <A HREF="../../../../weka/core/neighboursearch/balltrees/BallNode.html" title="class in weka.core.neighboursearch.balltrees">BallNode</A> <B>buildTree</B>()                            throws java.lang.Exception</PRE><DL><DD>Builds the ball tree.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The root node of the tree.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - If there is problem building the tree.</DL></DD></DL><HR><A NAME="addInstance(weka.core.neighboursearch.balltrees.BallNode, weka.core.Instance)"><!-- --></A><H3>addInstance</H3><PRE>public abstract int[] <B>addInstance</B>(<A HREF="../../../../weka/core/neighboursearch/balltrees/BallNode.html" title="class in weka.core.neighboursearch.balltrees">BallNode</A>&nbsp;node,                                  <A HREF="../../../../weka/core/Instance.html" title="class in weka.core">Instance</A>&nbsp;inst)                           throws java.lang.Exception</PRE><DL><DD>Adds an instance to the ball tree.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>node</CODE> - The root node of the tree.<DD><CODE>inst</CODE> - The instance to add to the tree.<DT><B>Returns:</B><DD>The new master index array after  adding the instance.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - If there is some problem adding the given instance to the tree.</DL></DD></DL><HR><A NAME="maxInstancesInLeafTipText()"><!-- --></A><H3>maxInstancesInLeafTipText</H3><PRE>public java.lang.String <B>maxInstancesInLeafTipText</B>()</PRE><DL><DD>Returns the tip text for this property.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>tip text for this property suitable for displaying in the explorer/experimenter gui.</DL></DD></DL><HR><A NAME="getMaxInstancesInLeaf()"><!-- --></A><H3>getMaxInstancesInLeaf</H3><PRE>public int <B>getMaxInstancesInLeaf</B>()</PRE><DL><DD>Returns the maximum number of instances allowed in a leaf.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The maximum number of instances allowed in a leaf.</DL></DD></DL><HR><A NAME="setMaxInstancesInLeaf(int)"><!-- --></A><H3>setMaxInstancesInLeaf</H3><PRE>public void <B>setMaxInstancesInLeaf</B>(int&nbsp;num)                           throws java.lang.Exception</PRE><DL><DD>Sets the maximum number of instances allowed in a leaf.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>num</CODE> - The maximum number of instances allowed in  a leaf.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - If the num is < 1.</DL></DD></DL><HR><A NAME="maxRelativeLeafRadiusTipText()"><!-- --></A><H3>maxRelativeLeafRadiusTipText</H3><PRE>public java.lang.String <B>maxRelativeLeafRadiusTipText</B>()</PRE><DL><DD>Returns the tip text for this property.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>tip text for this property suitable for displaying in the explorer/experimenter gui.</DL></DD></DL><HR><A NAME="getMaxRelativeLeafRadius()"><!-- --></A><H3>getMaxRelativeLeafRadius</H3><PRE>public double <B>getMaxRelativeLeafRadius</B>()</PRE><DL><DD>Returns the maximum relative radius of a leaf node.  It is relative to the radius of the smallest ball enclosing all  the data points (that were used to build the tree). This smallest ball would be the same as the root node's ball, if  ContainChildBalls property is set to false (default).<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The maximum relative radius allowed for a leaf.</DL></DD></DL><HR><A NAME="setMaxRelativeLeafRadius(double)"><!-- --></A><H3>setMaxRelativeLeafRadius</H3><PRE>public void <B>setMaxRelativeLeafRadius</B>(double&nbsp;radius)                              throws java.lang.Exception</PRE><DL><DD>Sets the maximum relative radius, allowed for a leaf node. The  radius is relative to the radius of the smallest ball enclosing all  the data points (that were used to build the tree). This smallest ball would be the same as the root node's ball, if  ContainChildBalls property is set to false (default).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>radius</CODE> - The maximum relative radius allowed for a leaf.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - If radius is < 0.0.</DL></DD></DL><HR><A NAME="containChildBallsTipText()"><!-- --></A><H3>containChildBallsTipText</H3><PRE>public java.lang.String <B>containChildBallsTipText</B>()</PRE><DL><DD>Returns the tip text for this property.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>tip text for this property suitable for displaying in the explorer/experimenter gui.</DL></DD></DL><HR><A NAME="getContainChildBalls()"><!-- --></A><H3>getContainChildBalls</H3><PRE>public boolean <B>getContainChildBalls</B>()</PRE>

⌨️ 快捷键说明

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