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

📄 j48.html

📁 由java开发的软件包
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<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. Valid options are: <p> -U <br> Use unpruned tree.<p> -C confidence <br> Set confidence threshold for pruning. (Default: 0.25) <p> -M number <br> Set minimum number of instances per leaf. (Default: 2) <p> -R <br> Use reduced error pruning. No subtree raising is performed. <p> -N number <br> Set number of folds for reduced error pruning. One fold is used as the pruning set. (Default: 3) <p> -B <br> Use binary splits for nominal attributes. <p> -S <br> Don't perform subtree raising. <p> -L <br> Do not clean up after the tree has been built. -A <br> If set, Laplace smoothing is used for predicted probabilites. <p> -Q <br> The seed for reduced-error pruning. <p><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/classifiers/Classifier.html#listOptions()">listOptions</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/Classifier.html" title="class in weka.classifiers">Classifier</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 given list of options.<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/classifiers/Classifier.html#setOptions(java.lang.String[])">setOptions</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/Classifier.html" title="class in weka.classifiers">Classifier</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 Classifier.<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/classifiers/Classifier.html#getOptions()">getOptions</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/Classifier.html" title="class in weka.classifiers">Classifier</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array of strings suitable for passing to setOptions</DL></DD></DL><HR><A NAME="seedTipText()"><!-- --></A><H3>seedTipText</H3><PRE>public java.lang.String <B>seedTipText</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="getSeed()"><!-- --></A><H3>getSeed</H3><PRE>public int <B>getSeed</B>()</PRE><DL><DD>Get the value of Seed.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of Seed.</DL></DD></DL><HR><A NAME="setSeed(int)"><!-- --></A><H3>setSeed</H3><PRE>public void <B>setSeed</B>(int&nbsp;newSeed)</PRE><DL><DD>Set the value of Seed.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newSeed</CODE> - Value to assign to Seed.</DL></DD></DL><HR><A NAME="useLaplaceTipText()"><!-- --></A><H3>useLaplaceTipText</H3><PRE>public java.lang.String <B>useLaplaceTipText</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="getUseLaplace()"><!-- --></A><H3>getUseLaplace</H3><PRE>public boolean <B>getUseLaplace</B>()</PRE><DL><DD>Get the value of useLaplace.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of useLaplace.</DL></DD></DL><HR><A NAME="setUseLaplace(boolean)"><!-- --></A><H3>setUseLaplace</H3><PRE>public void <B>setUseLaplace</B>(boolean&nbsp;newuseLaplace)</PRE><DL><DD>Set the value of useLaplace.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newuseLaplace</CODE> - Value to assign to useLaplace.</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Returns a description of the classifier.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="toSummaryString()"><!-- --></A><H3>toSummaryString</H3><PRE>public java.lang.String <B>toSummaryString</B>()</PRE><DL><DD>Returns a superconcise version of the model<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/core/Summarizable.html#toSummaryString()">toSummaryString</A></CODE> in interface <CODE><A HREF="../../../weka/core/Summarizable.html" title="interface in weka.core">Summarizable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the object summarized as a string</DL></DD></DL><HR><A NAME="measureTreeSize()"><!-- --></A><H3>measureTreeSize</H3><PRE>public double <B>measureTreeSize</B>()</PRE><DL><DD>Returns the size of the tree<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the size of the tree</DL></DD></DL><HR><A NAME="measureNumLeaves()"><!-- --></A><H3>measureNumLeaves</H3><PRE>public double <B>measureNumLeaves</B>()</PRE><DL><DD>Returns the number of leaves<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of leaves</DL></DD></DL><HR><A NAME="measureNumRules()"><!-- --></A><H3>measureNumRules</H3><PRE>public double <B>measureNumRules</B>()</PRE><DL><DD>Returns the number of rules (same as number of leaves)<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of rules</DL></DD></DL><HR><A NAME="enumerateMeasures()"><!-- --></A><H3>enumerateMeasures</H3><PRE>public java.util.Enumeration <B>enumerateMeasures</B>()</PRE><DL><DD>Returns an enumeration of the additional measure names<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/core/AdditionalMeasureProducer.html#enumerateMeasures()">enumerateMeasures</A></CODE> in interface <CODE><A HREF="../../../weka/core/AdditionalMeasureProducer.html" title="interface in weka.core">AdditionalMeasureProducer</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an enumeration of the measure names</DL></DD></DL><HR><A NAME="getMeasure(java.lang.String)"><!-- --></A><H3>getMeasure</H3><PRE>public double <B>getMeasure</B>(java.lang.String&nbsp;additionalMeasureName)</PRE><DL><DD>Returns the value of the named measure<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/core/AdditionalMeasureProducer.html#getMeasure(java.lang.String)">getMeasure</A></CODE> in interface <CODE><A HREF="../../../weka/core/AdditionalMeasureProducer.html" title="interface in weka.core">AdditionalMeasureProducer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>additionalMeasureName</CODE> - the name of the measure to query for its value<DT><B>Returns:</B><DD>the value of the named measure<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if the named measure is not supported</DL></DD></DL><HR><A NAME="unprunedTipText()"><!-- --></A><H3>unprunedTipText</H3><PRE>public java.lang.String <B>unprunedTipText</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="getUnpruned()"><!-- --></A><H3>getUnpruned</H3><PRE>public boolean <B>getUnpruned</B>()</PRE><DL><DD>Get the value of unpruned.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of unpruned.</DL></DD></DL><HR><A NAME="setUnpruned(boolean)"><!-- --></A><H3>setUnpruned</H3><PRE>public void <B>setUnpruned</B>(boolean&nbsp;v)</PRE><DL><DD>Set the value of unpruned. Turns reduced-error pruning off if set.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to unpruned.</DL></DD></DL><HR><A NAME="confidenceFactorTipText()"><!-- --></A><H3>confidenceFactorTipText</H3><PRE>public java.lang.String <B>confidenceFactorTipText</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="getConfidenceFactor()"><!-- --></A><H3>getConfidenceFactor</H3><PRE>public float <B>getConfidenceFactor</B>()</PRE><DL><DD>Get the value of CF.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of CF.</DL></DD></DL><HR><A NAME="setConfidenceFactor(float)"><!-- --></A><H3>setConfidenceFactor</H3><PRE>public void <B>setConfidenceFactor</B>(float&nbsp;v)</PRE>

⌨️ 快捷键说明

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