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

📄 rdg1.html

📁 数据挖掘的最常用工具。由于开源
💻 HTML
📖 第 1 页 / 共 4 页
字号:
 <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> -n &lt;num&gt;  The number of examples to generate (default 100)</pre>  <pre> -a &lt;num&gt;  The number of attributes (default 10).</pre>  <pre> -c &lt;num&gt;  The number of classes (default 2)</pre>  <pre> -R &lt;num&gt;  maximum size for rules (default 10) </pre>  <pre> -M &lt;num&gt;  minimum size for rules (default 1) </pre>  <pre> -I &lt;num&gt;  number of irrelevant attributes (default 0)</pre>  <pre> -N  number of numeric attributes (default 0)</pre>  <pre> -V  switch on voting (default is no voting)</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/ClassificationGenerator.html#setOptions(java.lang.String[])">setOptions</A></CODE> in class <CODE><A HREF="../../../../weka/datagenerators/ClassificationGenerator.html" title="class in weka.datagenerators">ClassificationGenerator</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 RDG1.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/core/OptionHandler.html#getOptions()">getOptions</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/ClassificationGenerator.html#getOptions()">getOptions</A></CODE> in class <CODE><A HREF="../../../../weka/datagenerators/ClassificationGenerator.html" title="class in weka.datagenerators">ClassificationGenerator</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array of strings suitable for passing to setOptions<DT><B>See Also:</B><DD><A HREF="../../../../weka/datagenerators/DataGenerator.html#removeBlacklist(java.lang.String[])"><CODE>DataGenerator.removeBlacklist(String[])</CODE></A></DL></DD></DL><HR><A NAME="setNumAttributes(int)"><!-- --></A><H3>setNumAttributes</H3><PRE>public void <B>setNumAttributes</B>(int&nbsp;numAttributes)</PRE><DL><DD>Sets the number of attributes the dataset should have.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>numAttributes</CODE> - the new number of attributes</DL></DD></DL><HR><A NAME="getNumAttributes()"><!-- --></A><H3>getNumAttributes</H3><PRE>public int <B>getNumAttributes</B>()</PRE><DL><DD>Gets the number of attributes that should be produced.<P><DD><DL><DT><B>Returns:</B><DD>the number of attributes that should be produced</DL></DD></DL><HR><A NAME="numAttributesTipText()"><!-- --></A><H3>numAttributesTipText</H3><PRE>public java.lang.String <B>numAttributesTipText</B>()</PRE><DL><DD>Returns the tip text for this property<P><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="setNumClasses(int)"><!-- --></A><H3>setNumClasses</H3><PRE>public void <B>setNumClasses</B>(int&nbsp;numClasses)</PRE><DL><DD>Sets the number of classes the dataset should have.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>numClasses</CODE> - the new number of classes</DL></DD></DL><HR><A NAME="getNumClasses()"><!-- --></A><H3>getNumClasses</H3><PRE>public int <B>getNumClasses</B>()</PRE><DL><DD>Gets the number of classes the dataset should have.<P><DD><DL><DT><B>Returns:</B><DD>the number of classes the dataset should have</DL></DD></DL><HR><A NAME="numClassesTipText()"><!-- --></A><H3>numClassesTipText</H3><PRE>public java.lang.String <B>numClassesTipText</B>()</PRE><DL><DD>Returns the tip text for this property<P><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="getMaxRuleSize()"><!-- --></A><H3>getMaxRuleSize</H3><PRE>public int <B>getMaxRuleSize</B>()</PRE><DL><DD>Gets the maximum number of tests in rules.<P><DD><DL><DT><B>Returns:</B><DD>the maximum number of tests allowed in rules</DL></DD></DL><HR><A NAME="setMaxRuleSize(int)"><!-- --></A><H3>setMaxRuleSize</H3><PRE>public void <B>setMaxRuleSize</B>(int&nbsp;newMaxRuleSize)</PRE><DL><DD>Sets the maximum number of tests in rules.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>newMaxRuleSize</CODE> - new maximum number of tests allowed in rules.</DL></DD></DL><HR><A NAME="maxRuleSizeTipText()"><!-- --></A><H3>maxRuleSizeTipText</H3><PRE>public java.lang.String <B>maxRuleSizeTipText</B>()</PRE><DL><DD>Returns the tip text for this property<P><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="getMinRuleSize()"><!-- --></A><H3>getMinRuleSize</H3><PRE>public int <B>getMinRuleSize</B>()</PRE><DL><DD>Gets the minimum number of tests in rules.<P><DD><DL><DT><B>Returns:</B><DD>the minimum number of tests allowed in rules</DL></DD></DL><HR><A NAME="setMinRuleSize(int)"><!-- --></A><H3>setMinRuleSize</H3><PRE>public void <B>setMinRuleSize</B>(int&nbsp;newMinRuleSize)</PRE><DL><DD>Sets the minimum number of tests in rules.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>newMinRuleSize</CODE> - new minimum number of test in rules.</DL></DD></DL><HR><A NAME="minRuleSizeTipText()"><!-- --></A><H3>minRuleSizeTipText</H3><PRE>public java.lang.String <B>minRuleSizeTipText</B>()</PRE><DL><DD>Returns the tip text for this property<P><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="getNumIrrelevant()"><!-- --></A><H3>getNumIrrelevant</H3><PRE>public int <B>getNumIrrelevant</B>()</PRE><DL><DD>Gets the number of irrelevant attributes.<P><DD><DL><DT><B>Returns:</B><DD>the number of irrelevant attributes</DL></DD></DL><HR><A NAME="setNumIrrelevant(int)"><!-- --></A><H3>setNumIrrelevant</H3><PRE>public void <B>setNumIrrelevant</B>(int&nbsp;newNumIrrelevant)</PRE><DL><DD>Sets the number of irrelevant attributes.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>newNumIrrelevant</CODE> - the number of irrelevant attributes.</DL></DD></DL><HR><A NAME="numIrrelevantTipText()"><!-- --></A><H3>numIrrelevantTipText</H3><PRE>public java.lang.String <B>numIrrelevantTipText</B>()</PRE><DL><DD>Returns the tip text for this property<P><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="getNumNumeric()"><!-- --></A><H3>getNumNumeric</H3><PRE>public int <B>getNumNumeric</B>()</PRE><DL><DD>Gets the number of numerical attributes.<P><DD><DL><DT><B>Returns:</B><DD>the number of numerical attributes.</DL></DD></DL><HR><A NAME="setNumNumeric(int)"><!-- --></A><H3>setNumNumeric</H3><PRE>public void <B>setNumNumeric</B>(int&nbsp;newNumNumeric)</PRE><DL><DD>Sets the number of numerical attributes.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>newNumNumeric</CODE> - the number of numerical attributes.</DL></DD></DL><HR><A NAME="numNumericTipText()"><!-- --></A><H3>numNumericTipText</H3><PRE>public java.lang.String <B>numNumericTipText</B>()</PRE><DL><DD>Returns the tip text for this property<P><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="getVoteFlag()"><!-- --></A><H3>

⌨️ 快捷键说明

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