middleoutconstructor.html
来自「数据挖掘的最常用工具。由于开源」· HTML 代码 · 共 1,123 行 · 第 1/4 页
HTML
1,123 行
<TD><CODE><B><A HREF="../../../../weka/core/neighboursearch/balltrees/MiddleOutConstructor.html#getSeed()">getSeed</A></B>()</CODE><BR> Returns the seed for random number generator.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../weka/core/TechnicalInformation.html" title="class in weka.core">TechnicalInformation</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/neighboursearch/balltrees/MiddleOutConstructor.html#getTechnicalInformation()">getTechnicalInformation</A></B>()</CODE><BR> Returns an instance of a TechnicalInformation object, containing detailed information about the technical background of this class, e.g., paper reference or book this class is based on.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/neighboursearch/balltrees/MiddleOutConstructor.html#globalInfo()">globalInfo</A></B>()</CODE><BR> Returns a string describing this nearest neighbour search algorithm.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/neighboursearch/balltrees/MiddleOutConstructor.html#initialAnchorRandomTipText()">initialAnchorRandomTipText</A></B>()</CODE><BR> Returns the tip text for this property.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/neighboursearch/balltrees/MiddleOutConstructor.html#isInitialAnchorRandom()">isInitialAnchorRandom</A></B>()</CODE><BR> Gets whether if the initial anchor is chosen randomly.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.Enumeration</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/neighboursearch/balltrees/MiddleOutConstructor.html#listOptions()">listOptions</A></B>()</CODE><BR> Returns an enumeration describing the available options.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/neighboursearch/balltrees/MiddleOutConstructor.html#printInsts(int, int)">printInsts</A></B>(int startIdx, int endIdx)</CODE><BR> For printing indices in some given portion of the master index array.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/neighboursearch/balltrees/MiddleOutConstructor.html#printList(weka.core.neighboursearch.balltrees.MiddleOutConstructor.MyIdxList)">printList</A></B>(weka.core.neighboursearch.balltrees.MiddleOutConstructor.MyIdxList points)</CODE><BR> For printing indices in a given point list.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/neighboursearch/balltrees/MiddleOutConstructor.html#seedTipText()">seedTipText</A></B>()</CODE><BR> Returns the tip text for this property.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/neighboursearch/balltrees/MiddleOutConstructor.html#setInitialAnchorRandom(boolean)">setInitialAnchorRandom</A></B>(boolean randomInitialAnchor)</CODE><BR> Sets whether if the initial anchor is chosen randomly.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/neighboursearch/balltrees/MiddleOutConstructor.html#setInstanceList(int[])">setInstanceList</A></B>(int[] instList)</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/neighboursearch/balltrees/MiddleOutConstructor.html#setInstances(weka.core.Instances)">setInstances</A></B>(<A HREF="../../../../weka/core/Instances.html" title="class in weka.core">Instances</A> insts)</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/neighboursearch/balltrees/MiddleOutConstructor.html#setInterAnchorDistances(java.util.Vector, weka.core.neighboursearch.balltrees.MiddleOutConstructor.TempNode, java.util.Vector)">setInterAnchorDistances</A></B>(java.util.Vector anchors, weka.core.neighboursearch.balltrees.MiddleOutConstructor.TempNode newAnchor, java.util.Vector anchorDistances)</CODE><BR> Sets the distances of a supplied new anchor to all the rest of the previous anchor points.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/neighboursearch/balltrees/MiddleOutConstructor.html#setMaxInstancesInLeaf(int)">setMaxInstancesInLeaf</A></B>(int num)</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/neighboursearch/balltrees/MiddleOutConstructor.html#setOptions(java.lang.String[])">setOptions</A></B>(java.lang.String[] options)</CODE><BR> Parses a given list of options.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/neighboursearch/balltrees/MiddleOutConstructor.html#setPoints(weka.core.neighboursearch.balltrees.MiddleOutConstructor.TempNode, int, int, int[])">setPoints</A></B>(weka.core.neighboursearch.balltrees.MiddleOutConstructor.TempNode node, int startIdx, int endIdx, int[] indices)</CODE><BR> Sets the points of an anchor node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/neighboursearch/balltrees/MiddleOutConstructor.html#setSeed(int)">setSeed</A></B>(int seed)</CODE><BR> Sets the seed for random number generator (that is used for selecting the first anchor point randomly).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/neighboursearch/balltrees/MiddleOutConstructor.html#stealPoints(weka.core.neighboursearch.balltrees.MiddleOutConstructor.TempNode, java.util.Vector, java.util.Vector)">stealPoints</A></B>(weka.core.neighboursearch.balltrees.MiddleOutConstructor.TempNode newAnchor, java.util.Vector anchors, java.util.Vector anchorDistances)</CODE><BR> Removes points from old anchors that are nearer to the given new anchor and adds them to the list of points of the new anchor.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_weka.core.neighboursearch.balltrees.BallTreeConstructor"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class weka.core.neighboursearch.balltrees.<A HREF="../../../../weka/core/neighboursearch/balltrees/BallTreeConstructor.html" title="class in weka.core.neighboursearch.balltrees">BallTreeConstructor</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../weka/core/neighboursearch/balltrees/BallTreeConstructor.html#containChildBallsTipText()">containChildBallsTipText</A>, <A HREF="../../../../weka/core/neighboursearch/balltrees/BallTreeConstructor.html#getContainChildBalls()">getContainChildBalls</A>, <A HREF="../../../../weka/core/neighboursearch/balltrees/BallTreeConstructor.html#getMaxDepth()">getMaxDepth</A>, <A HREF="../../../../weka/core/neighboursearch/balltrees/BallTreeConstructor.html#getMaxInstancesInLeaf()">getMaxInstancesInLeaf</A>, <A HREF="../../../../weka/core/neighboursearch/balltrees/BallTreeConstructor.html#getMaxRelativeLeafRadius()">getMaxRelativeLeafRadius</A>, <A HREF="../../../../weka/core/neighboursearch/balltrees/BallTreeConstructor.html#getNumLeaves()">getNumLeaves</A>, <A HREF="../../../../weka/core/neighboursearch/balltrees/BallTreeConstructor.html#getNumNodes()">getNumNodes</A>, <A HREF="../../../../weka/core/neighboursearch/balltrees/BallTreeConstructor.html#maxInstancesInLeafTipText()">maxInstancesInLeafTipText</A>, <A HREF="../../../../weka/core/neighboursearch/balltrees/BallTreeConstructor.html#maxRelativeLeafRadiusTipText()">maxRelativeLeafRadiusTipText</A>, <A HREF="../../../../weka/core/neighboursearch/balltrees/BallTreeConstructor.html#setContainChildBalls(boolean)">setContainChildBalls</A>, <A HREF="../../../../weka/core/neighboursearch/balltrees/BallTreeConstructor.html#setEuclideanDistanceFunction(weka.core.EuclideanDistance)">setEuclideanDistanceFunction</A>, <A HREF="../../../../weka/core/neighboursearch/balltrees/BallTreeConstructor.html#setMaxRelativeLeafRadius(double)">setMaxRelativeLeafRadius</A></CODE></TD></TR></TABLE> <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> <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="MiddleOutConstructor()"><!-- --></A><H3>MiddleOutConstructor</H3><PRE>public <B>MiddleOutConstructor</B>()</PRE><DL><DD>Creates a new instance of MiddleOutConstructor.<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="globalInfo()"><!-- --></A><H3>globalInfo</H3><PRE>public java.lang.String <B>globalInfo</B>()</PRE><DL><DD>Returns a string describing this nearest neighbour search algorithm.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a description of the algorithm for displaying in the explorer/experimenter gui</DL></DD></DL><HR><A NAME="getTechnicalInformation()"><!-- --></A><H3>getTechnicalInformation</H3><PRE>public <A HREF="../../../../weka/core/TechnicalInformation.html" title="class in weka.core">TechnicalInformation</A> <B>getTechnicalInformation</B>()</PRE><DL><DD>Returns an instance of a TechnicalInformation object, containing detailed information about the technical background of this class, e.g., paper reference or book this class is based on.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/core/TechnicalInformationHandler.html#getTechnicalInformation()">getTechnicalInformation</A></CODE> in interface <CODE><A HREF="../../../../weka/core/TechnicalInformationHandler.html" title="interface in weka.core">TechnicalInformationHandler</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the technical information about this class</DL></DD></DL><HR><A NAME="buildTree()"><!-- --></A><H3>buildTree</H3><PRE>public <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 a ball tree middle out.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/core/neighboursearch/balltrees/BallTreeConstructor.html#buildTree()">buildTree</A></CODE> in class <CODE><A HREF="../../../../weka/core/neighboursearch/balltrees/BallTreeConstructor.html" title="class in weka.core.neighboursearch.balltrees">BallTreeConstructor</A></CODE></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="setPoints(weka.core.neighboursearch.balltrees.MiddleOutConstructor.TempNode, int, int, int[])"><!-- --></A><H3>setPoints</H3><PRE>public void <B>setPoints</B>(weka.core.neighboursearch.balltrees.MiddleOutConstructor.TempNode node, int startIdx, int endIdx, int[] indices)</PRE><DL><DD>Sets the points of an anchor node. It takes the indices of points from the given portion of
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?