mismo.html

来自「数据挖掘的最常用工具。由于开源」· HTML 代码 · 共 1,830 行 · 第 1/5 页

HTML
1,830
字号
<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/>    <!-- options-start --> Valid options are: <p/>  <pre> -D  If set, classifier is run in debug mode and  may output additional info to the console</pre>  <pre> -no-checks  Turns off all checks - use with caution!  Turning them off assumes that data is purely numeric, doesn't  contain any missing values, and has a nominal class. Turning them  off also means that no header information will be stored if the  machine is linear. Finally, it also assumes that no instance has  a weight equal to 0.  (default: checks on)</pre>  <pre> -C &lt;double&gt;  The complexity constant C. (default 1)</pre>  <pre> -N  Whether to 0=normalize/1=standardize/2=neither.  (default 0=normalize)</pre>  <pre> -I  Use MIminimax feature space. </pre>  <pre> -L &lt;double&gt;  The tolerance parameter. (default 1.0e-3)</pre>  <pre> -P &lt;double&gt;  The epsilon for round-off error. (default 1.0e-12)</pre>  <pre> -M  Fit logistic models to SVM outputs. </pre>  <pre> -V &lt;double&gt;  The number of folds for the internal cross-validation.   (default -1, use training data)</pre>  <pre> -W &lt;double&gt;  The random number seed. (default 1)</pre>  <pre> -K &lt;classname and parameters&gt;  The Kernel to use.  (default: weka.classifiers.functions.supportVector.PolyKernel)</pre>  <pre>  Options specific to kernel weka.classifiers.mi.supportVector.MIPolyKernel: </pre>  <pre> -D  Enables debugging output (if available) to be printed.  (default: off)</pre>  <pre> -no-checks  Turns off all checks - use with caution!  (default: checks on)</pre>  <pre> -C &lt;num&gt;  The size of the cache (a prime number), 0 for full cache and   -1 to turn it off.  (default: 250007)</pre>  <pre> -E &lt;num&gt;  The Exponent to use.  (default: 1.0)</pre>  <pre> -L  Use lower-order terms.  (default: no)</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/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="setChecksTurnedOff(boolean)"><!-- --></A><H3>setChecksTurnedOff</H3><PRE>public void <B>setChecksTurnedOff</B>(boolean&nbsp;value)</PRE><DL><DD>Disables or enables the checks (which could be time-consuming). Use with caution!<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - if true turns off all checks</DL></DD></DL><HR><A NAME="getChecksTurnedOff()"><!-- --></A><H3>getChecksTurnedOff</H3><PRE>public boolean <B>getChecksTurnedOff</B>()</PRE><DL><DD>Returns whether the checks are turned off or not.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the checks are turned off</DL></DD></DL><HR><A NAME="checksTurnedOffTipText()"><!-- --></A><H3>checksTurnedOffTipText</H3><PRE>public java.lang.String <B>checksTurnedOffTipText</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="kernelTipText()"><!-- --></A><H3>kernelTipText</H3><PRE>public java.lang.String <B>kernelTipText</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="getKernel()"><!-- --></A><H3>getKernel</H3><PRE>public <A HREF="../../../weka/classifiers/functions/supportVector/Kernel.html" title="class in weka.classifiers.functions.supportVector">Kernel</A> <B>getKernel</B>()</PRE><DL><DD>Gets the kernel to use.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the kernel</DL></DD></DL><HR><A NAME="setKernel(weka.classifiers.functions.supportVector.Kernel)"><!-- --></A><H3>setKernel</H3><PRE>public void <B>setKernel</B>(<A HREF="../../../weka/classifiers/functions/supportVector/Kernel.html" title="class in weka.classifiers.functions.supportVector">Kernel</A>&nbsp;value)</PRE><DL><DD>Sets the kernel to use.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the kernel</DL></DD></DL><HR><A NAME="cTipText()"><!-- --></A><H3>cTipText</H3><PRE>public java.lang.String <B>cTipText</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="getC()"><!-- --></A><H3>getC</H3><PRE>public double <B>getC</B>()</PRE><DL><DD>Get the value of C.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of C.</DL></DD></DL><HR><A NAME="setC(double)"><!-- --></A><H3>setC</H3><PRE>public void <B>setC</B>(double&nbsp;v)</PRE><DL><DD>Set the value of C.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to C.</DL></DD></DL><HR><A NAME="toleranceParameterTipText()"><!-- --></A><H3>toleranceParameterTipText</H3><PRE>public java.lang.String <B>toleranceParameterTipText</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="getToleranceParameter()"><!-- --></A><H3>getToleranceParameter</H3><PRE>public double <B>getToleranceParameter</B>()</PRE><DL><DD>Get the value of tolerance parameter.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of tolerance parameter.</DL></DD></DL><HR><A NAME="setToleranceParameter(double)"><!-- --></A><H3>setToleranceParameter</H3><PRE>public void <B>setToleranceParameter</B>(double&nbsp;v)</PRE><DL><DD>Set the value of tolerance parameter.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to tolerance parameter.</DL></DD></DL><HR><A NAME="epsilonTipText()"><!-- --></A><H3>epsilonTipText</H3><PRE>public java.lang.String <B>epsilonTipText</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="getEpsilon()"><!-- --></A><H3>getEpsilon</H3><PRE>public double <B>getEpsilon</B>()</PRE><DL><DD>Get the value of epsilon.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of epsilon.</DL></DD></DL><HR><A NAME="setEpsilon(double)"><!-- --></A><H3>setEpsilon</H3><PRE>public void <B>setEpsilon</B>(double&nbsp;v)</PRE><DL><DD>Set the value of epsilon.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to epsilon.</DL></DD></DL><HR><A NAME="filterTypeTipText()"><!-- --></A><H3>filterTypeTipText</H3><PRE>

⌨️ 快捷键说明

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