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

📄 subspacecluster.html

📁 weka是机器学习和数据挖掘领域最有影响力的开源项目之一
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/datagenerators/clusterers/SubspaceCluster.html#globalInfo()">globalInfo</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string describing this data generator.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/datagenerators/clusterers/SubspaceCluster.html#isBoolean(int)">isBoolean</A></B>(int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if attribute is boolean</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/datagenerators/clusterers/SubspaceCluster.html#isNominal(int)">isNominal</A></B>(int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if attribute is nominal</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.util.Enumeration</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/datagenerators/clusterers/SubspaceCluster.html#listOptions()">listOptions</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>static&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/datagenerators/clusterers/SubspaceCluster.html#main(java.lang.String[])">main</A></B>(java.lang.String[]&nbsp;args)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Main method for testing this class.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/datagenerators/clusterers/SubspaceCluster.html#noiseRateTipText()">noiseRateTipText</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/datagenerators/clusterers/SubspaceCluster.html#numAttributesTipText()">numAttributesTipText</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/datagenerators/clusterers/SubspaceCluster.html#setClusterDefinitions(weka.datagenerators.ClusterDefinition[])">setClusterDefinitions</A></B>(<A HREF="../../../weka/datagenerators/ClusterDefinition.html" title="class in weka.datagenerators">ClusterDefinition</A>[]&nbsp;value)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sets the clusters to use</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/datagenerators/clusterers/SubspaceCluster.html#setNoiseRate(double)">setNoiseRate</A></B>(double&nbsp;newNoiseRate)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the percentage of noise set.</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/datagenerators/clusterers/SubspaceCluster.html#setNumAttributes(int)">setNumAttributes</A></B>(int&nbsp;numAttributes)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the number of attributes the dataset should have.</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/datagenerators/clusterers/SubspaceCluster.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 list of options for this object.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_weka.datagenerators.ClusterGenerator"><!-- --></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.datagenerators.<A HREF="../../../weka/datagenerators/ClusterGenerator.html" title="class in weka.datagenerators">ClusterGenerator</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../weka/datagenerators/ClusterGenerator.html#booleanColsTipText()">booleanColsTipText</A>, <A HREF="../../../weka/datagenerators/ClusterGenerator.html#classFlagTipText()">classFlagTipText</A>, <A HREF="../../../weka/datagenerators/ClusterGenerator.html#getBooleanCols()">getBooleanCols</A>, <A HREF="../../../weka/datagenerators/ClusterGenerator.html#getClassFlag()">getClassFlag</A>, <A HREF="../../../weka/datagenerators/ClusterGenerator.html#getNominalCols()">getNominalCols</A>, <A HREF="../../../weka/datagenerators/ClusterGenerator.html#getNumAttributes()">getNumAttributes</A>, <A HREF="../../../weka/datagenerators/ClusterGenerator.html#nominalColsTipText()">nominalColsTipText</A>, <A HREF="../../../weka/datagenerators/ClusterGenerator.html#setBooleanCols(weka.core.Range)">setBooleanCols</A>, <A HREF="../../../weka/datagenerators/ClusterGenerator.html#setBooleanIndices(java.lang.String)">setBooleanIndices</A>, <A HREF="../../../weka/datagenerators/ClusterGenerator.html#setClassFlag(boolean)">setClassFlag</A>, <A HREF="../../../weka/datagenerators/ClusterGenerator.html#setNominalCols(weka.core.Range)">setNominalCols</A>, <A HREF="../../../weka/datagenerators/ClusterGenerator.html#setNominalIndices(java.lang.String)">setNominalIndices</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_weka.datagenerators.DataGenerator"><!-- --></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.datagenerators.<A HREF="../../../weka/datagenerators/DataGenerator.html" title="class in weka.datagenerators">DataGenerator</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../weka/datagenerators/DataGenerator.html#debugTipText()">debugTipText</A>, <A HREF="../../../weka/datagenerators/DataGenerator.html#defaultOutput()">defaultOutput</A>, <A HREF="../../../weka/datagenerators/DataGenerator.html#formatTipText()">formatTipText</A>, <A HREF="../../../weka/datagenerators/DataGenerator.html#getDatasetFormat()">getDatasetFormat</A>, <A HREF="../../../weka/datagenerators/DataGenerator.html#getDebug()">getDebug</A>, <A HREF="../../../weka/datagenerators/DataGenerator.html#getOutput()">getOutput</A>, <A HREF="../../../weka/datagenerators/DataGenerator.html#getRandom()">getRandom</A>, <A HREF="../../../weka/datagenerators/DataGenerator.html#getRelationName()">getRelationName</A>, <A HREF="../../../weka/datagenerators/DataGenerator.html#getSeed()">getSeed</A>, <A HREF="../../../weka/datagenerators/DataGenerator.html#makeData(weka.datagenerators.DataGenerator, java.lang.String[])">makeData</A>, <A HREF="../../../weka/datagenerators/DataGenerator.html#outputTipText()">outputTipText</A>, <A HREF="../../../weka/datagenerators/DataGenerator.html#randomTipText()">randomTipText</A>, <A HREF="../../../weka/datagenerators/DataGenerator.html#relationNameTipText()">relationNameTipText</A>, <A HREF="../../../weka/datagenerators/DataGenerator.html#seedTipText()">seedTipText</A>, <A HREF="../../../weka/datagenerators/DataGenerator.html#setDatasetFormat(weka.core.Instances)">setDatasetFormat</A>, <A HREF="../../../weka/datagenerators/DataGenerator.html#setDebug(boolean)">setDebug</A>, <A HREF="../../../weka/datagenerators/DataGenerator.html#setOutput(java.io.PrintWriter)">setOutput</A>, <A HREF="../../../weka/datagenerators/DataGenerator.html#setRandom(java.util.Random)">setRandom</A>, <A HREF="../../../weka/datagenerators/DataGenerator.html#setRelationName(java.lang.String)">setRelationName</A>, <A HREF="../../../weka/datagenerators/DataGenerator.html#setSeed(int)">setSeed</A></CODE></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><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="UNIFORM_RANDOM"><!-- --></A><H3>UNIFORM_RANDOM</H3><PRE>public static final int <B>UNIFORM_RANDOM</B></PRE><DL><DD>cluster type: uniform/random<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.datagenerators.clusterers.SubspaceCluster.UNIFORM_RANDOM">Constant Field Values</A></DL></DL><HR><A NAME="TOTAL_UNIFORM"><!-- --></A><H3>TOTAL_UNIFORM</H3><PRE>public static final int <B>TOTAL_UNIFORM</B></PRE><DL><DD>cluster type: total uniform<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.datagenerators.clusterers.SubspaceCluster.TOTAL_UNIFORM">Constant Field Values</A></DL></DL><HR><A NAME="GAUSSIAN"><!-- --></A><H3>GAUSSIAN</H3><PRE>public static final int <B>GAUSSIAN</B></PRE><DL><DD>cluster type: gaussian<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.datagenerators.clusterers.SubspaceCluster.GAUSSIAN">Constant Field Values</A></DL></DL><HR><A NAME="TAGS_CLUSTERTYPE"><!-- --></A><H3>TAGS_CLUSTERTYPE</H3><PRE>public static final <A HREF="../../../weka/core/Tag.html" title="class in weka.core">Tag</A>[] <B>TAGS_CLUSTERTYPE</B></PRE><DL><DD>the tags for the cluster types<P><DL></DL></DL><HR><A NAME="CONTINUOUS"><!-- --></A><H3>CONTINUOUS</H3><PRE>public static final int <B>CONTINUOUS</B></PRE><DL><DD>cluster subtype: continuous<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.datagenerators.clusterers.SubspaceCluster.CONTINUOUS">Constant Field Values</A></DL></DL><HR><A NAME="INTEGER"><!-- --></A><H3>INTEGER</H3><PRE>public static final int <B>INTEGER</B></PRE><DL><DD>cluster subtype: integer<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.datagenerators.clusterers.SubspaceCluster.INTEGER">Constant Field Values</A></DL></DL><HR><A NAME="TAGS_CLUSTERSUBTYPE"><!-- --></A><H3>TAGS_CLUSTERSUBTYPE</H3><PRE>public static final <A HREF="../../../weka/core/Tag.html" title="class in weka.core">Tag</A>[] <B>TAGS_CLUSTERSUBTYPE</B></PRE><DL><DD>the tags for the cluster types<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"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="SubspaceCluster()"><!-- --></A><H3>SubspaceCluster</H3><PRE>public <B>SubspaceCluster</B>()</PRE><DL><DD>initializes the generator, sets the number of clusters to 0, since user has to specify them explicitly<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 data generator.<P><DD><DL><DT><B>Returns:</B><DD>a description of the data generator suitable for displaying in the explorer/experimenter gui</DL></DD></DL><HR><A NAME="listOptions()"><!-- --></A><H3>listOptions</H3><PRE>public java.util.Enumeration <B>listOptions</B>()</PRE><DL><DD>Returns an enumeration describing the available options.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/core/OptionHandler.html#listOptions()">listOptions</A></CODE> in interface <CODE><A HREF="../../../weka/core/OptionHandler.html" title="interface in weka.core">OptionHandler</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/datagenerators/ClusterGenerator.html#listOptions()">listOptions</A></CODE> in class <CODE><A HREF="../../../weka/datagenerators/ClusterGenerator.html" title="class in weka.datagenerators">ClusterGenerator</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an enumeration of all the available options</DL></DD></DL><HR><A NAME="setOptions(java.lang.String[])"><!-- --></A><H3>setOptions</H3><PRE>public void <B>setOptions</B>(java.lang.String[]&nbsp;options)                throws java.lang.Exception</PRE><DL><DD>Parses a list of options for this object. <p/>   <!-- options-start --> Valid options are: <p/>  <pre> -h  Prints this help.</pre>  <pre> -o &lt;file&gt;  The name of the output file, otherwise the generated data is  printed to stdout.</pre>  <pre> -r &lt;name&gt;  The name of the relation.</pre>  <pre> -d  Whether to print debug informations.</pre>  <pre> -S  The seed for random function (default 1)</pre>  <pre> -a &lt;num&gt;  The number of attributes (default 1).</pre>  <pre> -c  Class Flag, if set, the cluster is listed in extra attribute.</pre>  <pre> -b &lt;range&gt;  The indices for boolean attributes.</pre>  <pre> -m &lt;range&gt;  The indices for nominal attributes.</pre>  <pre> -P &lt;num&gt;  The noise rate in percent (default 0.0).  Can be between 0% and 30%. (Remark: The original   algorithm only allows noise up to 10%.)</pre>  <pre> -C &lt;cluster-definition&gt;  A cluster definition of class 'SubspaceClusterDefinition'  (definition needs to be quoted to be recognized as   a single argument).</pre>  <pre>  Options specific to weka.datagenerators.clusterers.SubspaceClusterDefinition: </pre>  <pre> -A &lt;range&gt;  Generates randomly distributed instances in the cluster.</pre>  <pre> -U &lt;range&gt;  Generates uniformly distributed instances in the cluster.</pre>  <pre> -G &lt;range&gt;  Generates gaussian distributed instances in the cluster.</pre>  <pre> -D &lt;num&gt;,&lt;num&gt;  The attribute min/max (-A and -U) or mean/stddev (-G) for  the cluster.</pre>  <pre> -N &lt;num&gt;..&lt;num&gt;  The range of number of instances per cluster (default 1..50).</pre>  <pre> -I  Uses integer instead of continuous values (default continuous).</pre>    <!-- options-end --><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/core/OptionHandler.html#setOptions(java.lang.String[])">setOptions</A></CODE> in interface <CODE><A HREF="../../../weka/core/OptionHandler.html" title="interface in weka.core">OptionHandler</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/datagenerators/ClusterGenerator.html#setOptions(java.lang.String[])">setOptions</A></CODE> in class <CODE><A HREF="../../../weka/datagenerators/ClusterGenerator.html" title="class in weka.datagenerators">ClusterGenerator</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>options</CODE> - the list of options as an array of strings<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an option is not supported</DL></DD></DL><HR><A NAME="getOptions()"><!-- --></A><H3>getOptions</H3><PRE>public java.lang.String[] <B>getOptions</B>()</PRE><DL><DD>Gets the current settings of the datagenerator.

⌨️ 快捷键说明

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