svmexamples.html

来自「数据挖掘方面最新软件」· HTML 代码 · 共 924 行 · 第 1/3 页

HTML
924
字号
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.util.Map&lt;java.lang.Integer,<A HREF="../../../../../../../../com/rapidminer/operator/learner/functions/kernel/jmysvm/examples/SVMExamples.MeanVariance.html" title="class in com.rapidminer.operator.learner.functions.kernel.jmysvm.examples">SVMExamples.MeanVariance</A>&gt;</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../../../com/rapidminer/operator/learner/functions/kernel/jmysvm/examples/SVMExamples.html#getMeanVariances()">getMeanVariances</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../../../com/rapidminer/operator/learner/functions/kernel/jmysvm/examples/SVMExamples.html#getNumberOfSupportVectors()">getNumberOfSupportVectors</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../../../com/rapidminer/operator/learner/functions/kernel/jmysvm/examples/SVMExamples.html#set_alpha(int, double)">set_alpha</A></B>(int&nbsp;pos,          double&nbsp;alpha)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sets an alpha value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../../../com/rapidminer/operator/learner/functions/kernel/jmysvm/examples/SVMExamples.html#set_b(double)">set_b</A></B>(double&nbsp;new_b)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;set b</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../../../com/rapidminer/operator/learner/functions/kernel/jmysvm/examples/SVMExamples.html#set_y(int, double)">set_y</A></B>(int&nbsp;pos,      double&nbsp;y)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the label value for the specified example.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../../../com/rapidminer/operator/learner/functions/kernel/jmysvm/examples/SVMExamples.html#swap(int, int)">swap</A></B>(int&nbsp;pos1,     int&nbsp;pos2)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;swap two training examples</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../../../com/rapidminer/operator/learner/functions/kernel/jmysvm/examples/SVMExamples.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../../../com/rapidminer/operator/learner/functions/kernel/jmysvm/examples/SVMExamples.html#toString(boolean)">toString</A></B>(boolean&nbsp;onlySV)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../../../com/rapidminer/operator/learner/functions/kernel/jmysvm/examples/SVMExamples.html#toString(int, boolean)">toString</A></B>(int&nbsp;numberOfExamples,         boolean&nbsp;onlySV)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../../../com/rapidminer/operator/learner/functions/kernel/jmysvm/examples/SVMExamples.html#writeSupportVectors(java.io.ObjectOutputStream)">writeSupportVectors</A></B>(java.io.ObjectOutputStream&nbsp;out)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the example set into the given output stream.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Field Detail</B></FONT></TH></TR></TABLE><A NAME="atts"><!-- --></A><H3>atts</H3><PRE>public double[][] <B>atts</B></PRE><DL><DD>The known attribute values for each example.<P><DL></DL></DL><HR><A NAME="index"><!-- --></A><H3>index</H3><PRE>public int[][] <B>index</B></PRE><DL><DD>The corresponding indices for the known attribute values for each example.<P><DL></DL></DL><HR><A NAME="ids"><!-- --></A><H3>ids</H3><PRE>public java.lang.String[] <B>ids</B></PRE><DL><DD>The ids of all examples.<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="SVMExamples(int, double)"><!-- --></A><H3>SVMExamples</H3><PRE>public <B>SVMExamples</B>(int&nbsp;size,                   double&nbsp;b)</PRE><DL><DD>Creates an empty example set of the given size.<P></DL><HR><A NAME="SVMExamples(com.rapidminer.example.ExampleSet, com.rapidminer.example.Attribute, boolean)"><!-- --></A><H3>SVMExamples</H3><PRE>public <B>SVMExamples</B>(<A HREF="../../../../../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;exampleSet,                   <A HREF="../../../../../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A>&nbsp;labelAttribute,                   boolean&nbsp;scale)</PRE><DL></DL><HR><A NAME="SVMExamples(com.rapidminer.example.ExampleSet, com.rapidminer.example.Attribute, java.util.Map)"><!-- --></A><H3>SVMExamples</H3><PRE>public <B>SVMExamples</B>(<A HREF="../../../../../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;exampleSet,                   <A HREF="../../../../../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A>&nbsp;labelAttribute,                   java.util.Map&lt;java.lang.Integer,<A HREF="../../../../../../../../com/rapidminer/operator/learner/functions/kernel/jmysvm/examples/SVMExamples.MeanVariance.html" title="class in com.rapidminer.operator.learner.functions.kernel.jmysvm.examples">SVMExamples.MeanVariance</A>&gt;&nbsp;meanVariances)</PRE><DL><DD>Creates a fresh example set of the given size from the RapidMiner example reader. The alpha values and b are zero, the label will be set if it is known.<P></DL><HR><A NAME="SVMExamples(java.io.ObjectInputStream)"><!-- --></A><H3>SVMExamples</H3><PRE>public <B>SVMExamples</B>(java.io.ObjectInputStream&nbsp;in)            throws java.io.IOException</PRE><DL><DD>Reads an example set from the given input stream.<P><DL><DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getMeanVariances()"><!-- --></A><H3>getMeanVariances</H3><PRE>public java.util.Map&lt;java.lang.Integer,<A HREF="../../../../../../../../com/rapidminer/operator/learner/functions/kernel/jmysvm/examples/SVMExamples.MeanVariance.html" title="class in com.rapidminer.operator.learner.functions.kernel.jmysvm.examples">SVMExamples.MeanVariance</A>&gt; <B>getMeanVariances</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getNumberOfSupportVectors()"><!-- --></A><H3>getNumberOfSupportVectors</H3><PRE>public int <B>getNumberOfSupportVectors</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="writeSupportVectors(java.io.ObjectOutputStream)"><!-- --></A><H3>writeSupportVectors</H3><PRE>public void <B>writeSupportVectors</B>(java.io.ObjectOutputStream&nbsp;out)                         throws java.io.IOException</PRE><DL><DD>Writes the example set into the given output stream.<P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="count_examples()"><!-- --></A><H3>count_examples</H3><PRE>public int <B>count_examples</B>()</PRE><DL><DD>Counts the training examples.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Number of examples</DL></DD></DL><HR><A NAME="count_pos_examples()"><!-- --></A><H3>count_pos_examples</H3><PRE>public int <B>count_pos_examples</B>()</PRE><DL><DD>Counts the positive training examples<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Number of positive examples</DL></DD></DL><HR><A NAME="get_dim()"><!-- --></A><H3>get_dim</H3><PRE>public int <B>get_dim</B>()</PRE><DL><DD>Gets the dimension of the examples<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>dim</DL></DD>

⌨️ 快捷键说明

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