📄 xmeans.html
字号:
<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="setDebugVectorsFile(java.io.File)"><!-- --></A><H3>setDebugVectorsFile</H3><PRE>public void <B>setDebugVectorsFile</B>(java.io.File value)</PRE><DL><DD>Sets the file that has the random vectors stored. Only used for debugging reasons.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the file to read the random vectors from</DL></DD></DL><HR><A NAME="getDebugVectorsFile()"><!-- --></A><H3>getDebugVectorsFile</H3><PRE>public java.io.File <B>getDebugVectorsFile</B>()</PRE><DL><DD>Gets the file name for a file that has the random vectors stored. Only used for debugging purposes.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the file to read the vectors from</DL></DD></DL><HR><A NAME="initDebugVectorsInput()"><!-- --></A><H3>initDebugVectorsInput</H3><PRE>public void <B>initDebugVectorsInput</B>() throws java.lang.Exception</PRE><DL><DD>Initialises the debug vector input.<P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if there is error opening the debug input file.</DL></DD></DL><HR><A NAME="getNextDebugVectorsInstance(weka.core.Instances)"><!-- --></A><H3>getNextDebugVectorsInstance</H3><PRE>public <A HREF="../../weka/core/Instance.html" title="class in weka.core">Instance</A> <B>getNextDebugVectorsInstance</B>(<A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A> model) throws java.lang.Exception</PRE><DL><DD>Read an instance from debug vectors file.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>model</CODE> - the data model for the instance.<DT><B>Returns:</B><DD>the next debug vector.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if there are no debug vector in m_DebugVectors.</DL></DD></DL><HR><A NAME="inputCenterFileTipText()"><!-- --></A><H3>inputCenterFileTipText</H3><PRE>public java.lang.String <B>inputCenterFileTipText</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="setInputCenterFile(java.io.File)"><!-- --></A><H3>setInputCenterFile</H3><PRE>public void <B>setInputCenterFile</B>(java.io.File value)</PRE><DL><DD>Sets the file to read the list of centers from.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the file to read centers from</DL></DD></DL><HR><A NAME="getInputCenterFile()"><!-- --></A><H3>getInputCenterFile</H3><PRE>public java.io.File <B>getInputCenterFile</B>()</PRE><DL><DD>Gets the file to read the list of centers from.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the file to read the centers from</DL></DD></DL><HR><A NAME="outputCenterFileTipText()"><!-- --></A><H3>outputCenterFileTipText</H3><PRE>public java.lang.String <B>outputCenterFileTipText</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="setOutputCenterFile(java.io.File)"><!-- --></A><H3>setOutputCenterFile</H3><PRE>public void <B>setOutputCenterFile</B>(java.io.File value)</PRE><DL><DD>Sets file to write the list of centers to.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - file to write centers to</DL></DD></DL><HR><A NAME="getOutputCenterFile()"><!-- --></A><H3>getOutputCenterFile</H3><PRE>public java.io.File <B>getOutputCenterFile</B>()</PRE><DL><DD>Gets the file to write the list of centers to.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>filename of the file to write centers to</DL></DD></DL><HR><A NAME="KDTreeTipText()"><!-- --></A><H3>KDTreeTipText</H3><PRE>public java.lang.String <B>KDTreeTipText</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="setKDTree(weka.core.neighboursearch.KDTree)"><!-- --></A><H3>setKDTree</H3><PRE>public void <B>setKDTree</B>(<A HREF="../../weka/core/neighboursearch/KDTree.html" title="class in weka.core.neighboursearch">KDTree</A> k)</PRE><DL><DD>Sets the KDTree class.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>k</CODE> - a KDTree object with all options set</DL></DD></DL><HR><A NAME="getKDTree()"><!-- --></A><H3>getKDTree</H3><PRE>public <A HREF="../../weka/core/neighboursearch/KDTree.html" title="class in weka.core.neighboursearch">KDTree</A> <B>getKDTree</B>()</PRE><DL><DD>Gets the KDTree class.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the configured KDTree</DL></DD></DL><HR><A NAME="useKDTreeTipText()"><!-- --></A><H3>useKDTreeTipText</H3><PRE>public java.lang.String <B>useKDTreeTipText</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="setUseKDTree(boolean)"><!-- --></A><H3>setUseKDTree</H3><PRE>public void <B>setUseKDTree</B>(boolean value)</PRE><DL><DD>Sets whether to use the KDTree or not.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - if true the KDTree is used</DL></DD></DL><HR><A NAME="getUseKDTree()"><!-- --></A><H3>getUseKDTree</H3><PRE>public boolean <B>getUseKDTree</B>()</PRE><DL><DD>Gets whether the KDTree is used or not.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if KDTrees are used</DL></DD></DL><HR><A NAME="debugLevelTipText()"><!-- --></A><H3>debugLevelTipText</H3><PRE>public java.lang.String <B>debugLevelTipText</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="setDebugLevel(int)"><!-- --></A><H3>setDebugLevel</H3><PRE>public void <B>setDebugLevel</B>(int d)</PRE><DL><DD>Sets the debug level. debug level = 0, means no output<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>d</CODE> - debuglevel</DL></DD></DL><HR><A NAME="getDebugLevel()"><!-- --></A><H3>getDebugLevel</H3><PRE>public int <B>getDebugLevel</B>()</PRE><DL><DD>Gets the debug level.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>debug level</DL></DD></DL><HR><A NAME="setOptions(java.lang.String[])"><!-- --></A><H3>setOptions</H3><PRE>public void <B>setOptions</B>(java.lang.String[] options) throws java.lang.Exception</PRE><DL><DD>Parses a given list of options. <p/> <!-- options-start --> Valid options are: <p/> <pre> -I <num> maximum number of overall iterations (default 1).</pre> <pre> -M <num> maximum number of iterations in the kMeans loop in the Improve-Parameter part (default 1000).</pre> <pre> -J <num> maximum number of iterations in the kMeans loop for the splitted centroids in the Improve-Structure part (default 1000).</pre> <pre> -L <num> minimum number of clusters (default 2).</pre> <pre> -H <num> maximum number of clusters (default 4).</pre> <pre> -B <value> distance value for binary attributes (default 1.0).</pre> <pre> -use-kdtree Uses the KDTree internally (default no).</pre> <pre> -K <KDTree class specification> Full class name of KDTree class to use, followed by scheme options. eg: "weka.core.neighboursearch.kdtrees.KDTree -P" (default no KDTree class used).</pre> <pre> -C <value> cutoff factor, takes the given percentage of the splitted centroids if none of the children win (defa
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -