svmexamples.html

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

HTML
924
字号
</DL><HR><A NAME="get_example(int)"><!-- --></A><H3>get_example</H3><PRE>public <A HREF="../../../../../../../../com/rapidminer/operator/learner/functions/kernel/jmysvm/examples/SVMExample.html" title="class in com.rapidminer.operator.learner.functions.kernel.jmysvm.examples">SVMExample</A> <B>get_example</B>(int&nbsp;pos)</PRE><DL><DD>Gets an example.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>pos</CODE> - Number of example<DT><B>Returns:</B><DD>Array of example attributes in their default order</DL></DD></DL><HR><A NAME="get_y(int)"><!-- --></A><H3>get_y</H3><PRE>public double <B>get_y</B>(int&nbsp;pos)</PRE><DL><DD>Gets an y-value.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>pos</CODE> - Number of example<DT><B>Returns:</B><DD>y</DL></DD></DL><HR><A NAME="set_y(int, double)"><!-- --></A><H3>set_y</H3><PRE>public void <B>set_y</B>(int&nbsp;pos,                  double&nbsp;y)</PRE><DL><DD>Sets the label value for the specified example.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="get_ys()"><!-- --></A><H3>get_ys</H3><PRE>public double[] <B>get_ys</B>()</PRE><DL><DD>Gets the y array<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>y</DL></DD></DL><HR><A NAME="get_alpha(int)"><!-- --></A><H3>get_alpha</H3><PRE>public double <B>get_alpha</B>(int&nbsp;pos)</PRE><DL><DD>Gets an alpha-value. Please note that the alpha values are already multiplied by the corresponding y-value.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>pos</CODE> - Number of example<DT><B>Returns:</B><DD>alpha</DL></DD></DL><HR><A NAME="get_alphas()"><!-- --></A><H3>get_alphas</H3><PRE>public double[] <B>get_alphas</B>()</PRE><DL><DD>Gets the alpha array. Please note that the alpha values are already multiplied by the corresponding y-value.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>alpha</DL></DD></DL><HR><A NAME="swap(int, int)"><!-- --></A><H3>swap</H3><PRE>public void <B>swap</B>(int&nbsp;pos1,                 int&nbsp;pos2)</PRE><DL><DD>swap two training examples<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>pos1</CODE> - <DD><CODE>pos2</CODE> - </DL></DD></DL><HR><A NAME="get_b()"><!-- --></A><H3>get_b</H3><PRE>public double <B>get_b</B>()</PRE><DL><DD>get b<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>b</DL></DD></DL><HR><A NAME="set_b(double)"><!-- --></A><H3>set_b</H3><PRE>public void <B>set_b</B>(double&nbsp;new_b)</PRE><DL><DD>set b<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>new_b</CODE> - </DL></DD></DL><HR><A NAME="set_alpha(int, double)"><!-- --></A><H3>set_alpha</H3><PRE>public void <B>set_alpha</B>(int&nbsp;pos,                      double&nbsp;alpha)</PRE><DL><DD>sets an alpha value.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>pos</CODE> - Number of example<DD><CODE>alpha</CODE> - New value</DL></DD></DL><HR><A NAME="clearAlphas()"><!-- --></A><H3>clearAlphas</H3><PRE>public void <B>clearAlphas</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getId(int)"><!-- --></A><H3>getId</H3><PRE>public java.lang.String <B>getId</B>(int&nbsp;index)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="toString(boolean)"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>(boolean&nbsp;onlySV)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="toString(int, boolean)"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>(int&nbsp;numberOfExamples,                                 boolean&nbsp;onlySV)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SVMExamples.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=114160&amp;type=2" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../../../../../com/rapidminer/operator/learner/functions/kernel/jmysvm/examples/SVMExample.html" title="class in com.rapidminer.operator.learner.functions.kernel.jmysvm.examples"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../../../../../com/rapidminer/operator/learner/functions/kernel/jmysvm/examples/SVMExamples.MeanVariance.html" title="class in com.rapidminer.operator.learner.functions.kernel.jmysvm.examples"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../../../../index.html?com/rapidminer/operator/learner/functions/kernel/jmysvm/examples/SVMExamples.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="SVMExamples.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright &#169; 2001-2008 by <a href="http://rapid-i.com" target="_blank">Rapid-I</a></i></BODY></HTML>

⌨️ 快捷键说明

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