logitboost.html
来自「数据挖掘的最常用工具。由于开源」· HTML 代码 · 共 1,204 行 · 第 1/4 页
HTML
1,204 行
<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> -Q Use resampling instead of reweighting for boosting.</pre> <pre> -P <percent> Percentage of weight mass to base training on. (default 100, reduce to around 90 speed up)</pre> <pre> -F <num> Number of folds for internal cross-validation. (default 0 -- no cross-validation)</pre> <pre> -R <num> Number of runs for internal cross-validation. (default 1)</pre> <pre> -L <num> Threshold on the improvement of the likelihood. (default -Double.MAX_VALUE)</pre> <pre> -H <num> Shrinkage parameter. (default 1)</pre> <pre> -S <num> Random number seed. (default 1)</pre> <pre> -I <num> Number of iterations. (default 10)</pre> <pre> -D If set, classifier is run in debug mode and may output additional info to the console</pre> <pre> -W Full name of base classifier. (default: weka.classifiers.trees.DecisionStump)</pre> <pre> Options specific to classifier weka.classifiers.trees.DecisionStump: </pre> <pre> -D If set, classifier is run in debug mode and may output additional info to the console</pre> <!-- options-end --> Options after -- are passed to the designated learner.<p><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/RandomizableIteratedSingleClassifierEnhancer.html#setOptions(java.lang.String[])">setOptions</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/RandomizableIteratedSingleClassifierEnhancer.html" title="class in weka.classifiers">RandomizableIteratedSingleClassifierEnhancer</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/RandomizableIteratedSingleClassifierEnhancer.html#getOptions()">getOptions</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/RandomizableIteratedSingleClassifierEnhancer.html" title="class in weka.classifiers">RandomizableIteratedSingleClassifierEnhancer</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="shrinkageTipText()"><!-- --></A><H3>shrinkageTipText</H3><PRE>public java.lang.String <B>shrinkageTipText</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="getShrinkage()"><!-- --></A><H3>getShrinkage</H3><PRE>public double <B>getShrinkage</B>()</PRE><DL><DD>Get the value of Shrinkage.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of Shrinkage.</DL></DD></DL><HR><A NAME="setShrinkage(double)"><!-- --></A><H3>setShrinkage</H3><PRE>public void <B>setShrinkage</B>(double newShrinkage)</PRE><DL><DD>Set the value of Shrinkage.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newShrinkage</CODE> - Value to assign to Shrinkage.</DL></DD></DL><HR><A NAME="likelihoodThresholdTipText()"><!-- --></A><H3>likelihoodThresholdTipText</H3><PRE>public java.lang.String <B>likelihoodThresholdTipText</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="getLikelihoodThreshold()"><!-- --></A><H3>getLikelihoodThreshold</H3><PRE>public double <B>getLikelihoodThreshold</B>()</PRE><DL><DD>Get the value of Precision.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of Precision.</DL></DD></DL><HR><A NAME="setLikelihoodThreshold(double)"><!-- --></A><H3>setLikelihoodThreshold</H3><PRE>public void <B>setLikelihoodThreshold</B>(double newPrecision)</PRE><DL><DD>Set the value of Precision.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newPrecision</CODE> - Value to assign to Precision.</DL></DD></DL><HR><A NAME="numRunsTipText()"><!-- --></A><H3>numRunsTipText</H3><PRE>public java.lang.String <B>numRunsTipText</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="getNumRuns()"><!-- --></A><H3>getNumRuns</H3><PRE>public int <B>getNumRuns</B>()</PRE><DL><DD>Get the value of NumRuns.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of NumRuns.</DL></DD></DL><HR><A NAME="setNumRuns(int)"><!-- --></A><H3>setNumRuns</H3><PRE>public void <B>setNumRuns</B>(int newNumRuns)</PRE><DL><DD>Set the value of NumRuns.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newNumRuns</CODE> - Value to assign to NumRuns.</DL></DD></DL><HR><A NAME="numFoldsTipText()"><!-- --></A><H3>numFoldsTipText</H3><PRE>public java.lang.String <B>numFoldsTipText</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="getNumFolds()"><!-- --></A><H3>getNumFolds</H3><PRE>public int <B>getNumFolds</B>()</PRE><DL><DD>Get the value of NumFolds.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of NumFolds.</DL></DD></DL><HR><A NAME="setNumFolds(int)"><!-- --></A><H3>setNumFolds</H3><PRE>public void <B>setNumFolds</B>(int newNumFolds)</PRE><DL><DD>Set the value of NumFolds.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newNumFolds</CODE> - Value to assign to NumFolds.</DL></DD></DL><HR><A NAME="useResamplingTipText()"><!-- --></A><H3>useResamplingTipText</H3><PRE>public java.lang.String <B>useResamplingTipText</B>()</PRE><DL><DD>Returns the tip text for this property<P>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?