📄 smo.html
字号:
<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="sparseIndices()"><!-- --></A><H3>sparseIndices</H3><PRE>public int[][][] <B>sparseIndices</B>()</PRE><DL><DD>Returns the indices in sparse format.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="bias()"><!-- --></A><H3>bias</H3><PRE>public double[][] <B>bias</B>()</PRE><DL><DD>Returns the bias of each binary SMO.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="numClassAttributeValues()"><!-- --></A><H3>numClassAttributeValues</H3><PRE>public int <B>numClassAttributeValues</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="classAttributeNames()"><!-- --></A><H3>classAttributeNames</H3><PRE>public java.lang.String[] <B>classAttributeNames</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="attributeNames()"><!-- --></A><H3>attributeNames</H3><PRE>public java.lang.String[][][] <B>attributeNames</B>()</PRE><DL><DD>Returns the attribute names.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><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.<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[] options) throws java.lang.Exception</PRE><DL><DD>Parses a given list of options. Valid options are:<p> -C num <br> The complexity constant C. (default 1)<p> -E num <br> The exponent for the polynomial kernel. (default 1) <p> -G num <br> Gamma for the RBF kernel. (default 0.01) <p> -N <0|1|2> <br> Whether to 0=normalize/1=standardize/2=neither. (default 0=normalize)<p> -F <br> Feature-space normalization (only for non-linear polynomial kernels). <p> -O <br> Use lower-order terms (only for non-linear polynomial kernels). <p> -R <br> Use RBF kernel (default poly). <p> -A num <br> Sets the size of the kernel cache. Should be a prime number. (default 250007, use 0 for full cache) <p> -T num <br> Sets the tolerance parameter. (default 1.0e-3)<p> -P num <br> Sets the epsilon for round-off error. (default 1.0e-12)<p> -M <br> Fit logistic models to SVM outputs.<p> -V num <br> Number of folds for cross-validation used to generate data for logistic models. (default -1, use training data) -W num <br> Random number seed. (default 1)<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="exponentTipText()"><!-- --></A><H3>exponentTipText</H3><PRE>public java.lang.String <B>exponentTipText</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="getExponent()"><!-- --></A><H3>getExponent</H3><PRE>public double <B>getExponent</B>()</PRE><DL><DD>Get the value of exponent.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of exponent.</DL></DD></DL><HR><A NAME="setExponent(double)"><!-- --></A><H3>setExponent</H3><PRE>public void <B>setExponent</B>(double v)</PRE><DL><DD>Set the value of exponent. If linear kernel is used, rescaling and lower-order terms are turned off.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to exponent.</DL></DD></DL><HR><A NAME="gammaTipText()"><!-- --></A><H3>gammaTipText</H3><PRE>public java.lang.String <B>gammaTipText</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="getGamma()"><!-- --></A><H3>getGamma</H3><PRE>public double <B>getGamma</B>()</PRE><DL><DD>Get the value of gamma.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of gamma.</DL></DD></DL><HR><A NAME="setGamma(double)"><!-- --></A><H3>setGamma</H3><PRE>public void <B>setGamma</B>(double v)</PRE><DL><DD>Set the value of gamma.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to gamma.</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></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to epsilon.</DL></DD></DL><HR><A NAME="cacheSizeTipText()"><!-- --></A><H3>cacheSizeTipText</H3><PRE>public java.lang.String <B>cacheSizeTipText</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="getCacheSize()"><!-- --></A><H3>getCacheSize</H3><PRE>public int <B>getCacheSize</B>()</PRE><DL><DD>Get the size of the kernel cache<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Size of kernel cache.</DL></DD></DL><HR><A NAME="setCacheSize(int)"><!-- --></A><H3>setCacheSize</H3><PRE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -