kernel.html

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

HTML
721
字号
<DL></DL></DL><HR><A NAME="kernel_cache"><!-- --></A><H3>kernel_cache</H3><PRE>protected transient <A HREF="../../../../../../../../com/rapidminer/operator/learner/functions/kernel/jmysvm/util/Cache.html" title="class in com.rapidminer.operator.learner.functions.kernel.jmysvm.util">Cache</A> <B>kernel_cache</B></PRE><DL><DD>Kernel cache<P><DL></DL></DL><HR><A NAME="kernel_cache_size"><!-- --></A><H3>kernel_cache_size</H3><PRE>protected int <B>kernel_cache_size</B></PRE><DL><DD>Number of elements in cache<P><DL></DL></DL><HR><A NAME="cache_MB"><!-- --></A><H3>cache_MB</H3><PRE>protected int <B>cache_MB</B></PRE><DL><DD>Size of cache in MB<P><DL></DL></DL><HR><A NAME="examples_total"><!-- --></A><H3>examples_total</H3><PRE>protected int <B>examples_total</B></PRE><DL><DD>number of examples after shrinking<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="Kernel()"><!-- --></A><H3>Kernel</H3><PRE>public <B>Kernel</B>()</PRE><DL><DD>Class constructor<P></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="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Output as String<P><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="init(com.rapidminer.operator.learner.functions.kernel.jmysvm.examples.SVMExamples, int)"><!-- --></A><H3>init</H3><PRE>public void <B>init</B>(<A HREF="../../../../../../../../com/rapidminer/operator/learner/functions/kernel/jmysvm/examples/SVMExamples.html" title="class in com.rapidminer.operator.learner.functions.kernel.jmysvm.examples">SVMExamples</A>&nbsp;examples,                 int&nbsp;cacheSizeMB)</PRE><DL><DD>Init the kernel<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>examples</CODE> - Container for the examples.</DL></DD></DL><HR><A NAME="calculate_K(int[], double[], int[], double[])"><!-- --></A><H3>calculate_K</H3><PRE>public abstract double <B>calculate_K</B>(int[]&nbsp;x_index,                                   double[]&nbsp;x_att,                                   int[]&nbsp;y_index,                                   double[]&nbsp;y_att)</PRE><DL><DD>Calculates kernel value of vectors x and y<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="innerproduct(int[], double[], int[], double[])"><!-- --></A><H3>innerproduct</H3><PRE>public double <B>innerproduct</B>(int[]&nbsp;x_index,                           double[]&nbsp;x_att,                           int[]&nbsp;y_index,                           double[]&nbsp;y_att)</PRE><DL><DD>calculate inner product<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="norm2(int[], double[], int[], double[])"><!-- --></A><H3>norm2</H3><PRE>public double <B>norm2</B>(int[]&nbsp;x_index,                    double[]&nbsp;x_att,                    int[]&nbsp;y_index,                    double[]&nbsp;y_att)</PRE><DL><DD>calculate ||x-y||^2<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="get_row(int)"><!-- --></A><H3>get_row</H3><PRE>public double[] <B>get_row</B>(int&nbsp;i)</PRE><DL><DD>Gets a kernel row<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="init_kernel_cache(int)"><!-- --></A><H3>init_kernel_cache</H3><PRE>public void <B>init_kernel_cache</B>(int&nbsp;size)</PRE><DL><DD>Inits the kernel cache.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>size</CODE> - of the cache in MB</DL></DD></DL><HR><A NAME="getCacheSize()"><!-- --></A><H3>getCacheSize</H3><PRE>public int <B>getCacheSize</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="set_examples_size(int)"><!-- --></A><H3>set_examples_size</H3><PRE>public void <B>set_examples_size</B>(int&nbsp;new_examples_total)</PRE><DL><DD>Sets the number of examples to new value<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="calculate_K(int, int)"><!-- --></A><H3>calculate_K</H3><PRE>public double <B>calculate_K</B>(int&nbsp;i,                          int&nbsp;j)</PRE><DL><DD>Calculate K(i,j)<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="calculate_K(com.rapidminer.operator.learner.functions.kernel.jmysvm.examples.SVMExample, com.rapidminer.operator.learner.functions.kernel.jmysvm.examples.SVMExample)"><!-- --></A><H3>calculate_K</H3><PRE>public double <B>calculate_K</B>(<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>&nbsp;x,                          <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>&nbsp;y)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="calculate_K_row(double[], int)"><!-- --></A><H3>calculate_K_row</H3><PRE>public double[] <B>calculate_K_row</B>(double[]&nbsp;result,                                int&nbsp;i)</PRE><DL><DD><DL></DL></DD><DD><DL></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><!-- ========= 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/Kernel.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;PREV CLASS&nbsp;&nbsp;<A HREF="../../../../../../../../com/rapidminer/operator/learner/functions/kernel/jmysvm/kernel/KernelAnova.html" title="class in com.rapidminer.operator.learner.functions.kernel.jmysvm.kernel"><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/kernel/Kernel.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Kernel.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;NESTED&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 + -
显示快捷键?