📄 mismo.html
字号:
</DD></DL><HR><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> -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 <double> 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 <double> The tolerance parameter. (default 1.0e-3)</pre> <pre> -P <double> The epsilon for round-off error. (default 1.0e-12)</pre> <pre> -M Fit logistic models to SVM outputs. </pre> <pre> -V <double> The number of folds for the internal cross-validation. (default -1, use training data)</pre> <pre> -W <double> The random number seed. (default 1)</pre> <pre> -K <classname and parameters> 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 <num> The size of the cache (a prime number). (default: 250007)</pre> <pre> -E <num> 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 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> 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 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 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 v)</PRE><DL><DD>Set the value of epsilon.<P><DD><DL></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -