fastexample2sparsetransform.html
来自「数据挖掘方面最新软件」· HTML 代码 · 共 338 行 · 第 1/2 页
HTML
338 行
<TD><CODE><B><A HREF="../../../com/rapidminer/example/FastExample2SparseTransform.html#getNonDefaultAttributeValues(com.rapidminer.example.Example, int[])">getNonDefaultAttributeValues</A></B>(<A HREF="../../../com/rapidminer/example/Example.html" title="class in com.rapidminer.example">Example</A> example, int[] nonDefaultIndices)</CODE><BR> Returns an array of non-default values of the given example.</TD></TR></TABLE> <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, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ========= 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="FastExample2SparseTransform(com.rapidminer.example.ExampleSet)"><!-- --></A><H3>FastExample2SparseTransform</H3><PRE>public <B>FastExample2SparseTransform</B>(<A HREF="../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A> es) throws <A HREF="../../../com/rapidminer/operator/UserError.html" title="class in com.rapidminer.operator">UserError</A></PRE><DL><DD>Returns for a table giving the equivalence between the positions of the Attributes in the ExampleTable and the number of the regular Attributes in the ExampleSet. A value of -1 indicates that the Attribute is not regular or has been deleted (is null). This is used in order to optimize the access to sparse DataRows (e.g. SVM implementations or for Weka), which is important when the number of Attributes is large.<P><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../com/rapidminer/operator/UserError.html" title="class in com.rapidminer.operator">UserError</A></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="getNonDefaultAttributeIndices(com.rapidminer.example.Example)"><!-- --></A><H3>getNonDefaultAttributeIndices</H3><PRE>public int[] <B>getNonDefaultAttributeIndices</B>(<A HREF="../../../com/rapidminer/example/Example.html" title="class in com.rapidminer.example">Example</A> example)</PRE><DL><DD>Returns a list with the indices of the regular Attributes with non-default values. This can be used for a faster construction of sparse dataset representations when the number of Attributes is large. The positions of attributes are sorted by ascending number.<P><DD><DL></DL></DD></DL><HR><A NAME="getNonDefaultAttributeValues(com.rapidminer.example.Example)"><!-- --></A><H3>getNonDefaultAttributeValues</H3><PRE>public double[] <B>getNonDefaultAttributeValues</B>(<A HREF="../../../com/rapidminer/example/Example.html" title="class in com.rapidminer.example">Example</A> example)</PRE><DL><DD>Returns an array of non-default values of the given example. These are only the values of regular attributes. Simply invokes <A HREF="../../../com/rapidminer/example/FastExample2SparseTransform.html#getNonDefaultAttributeValues(com.rapidminer.example.Example, int[])"><CODE>getNonDefaultAttributeValues(Example, int[])</CODE></A> with the array of non-default indices for the given example.<P><DD><DL></DL></DD></DL><HR><A NAME="getNonDefaultAttributeValues(com.rapidminer.example.Example, int[])"><!-- --></A><H3>getNonDefaultAttributeValues</H3><PRE>public double[] <B>getNonDefaultAttributeValues</B>(<A HREF="../../../com/rapidminer/example/Example.html" title="class in com.rapidminer.example">Example</A> example, int[] nonDefaultIndices)</PRE><DL><DD>Returns an array of non-default values of the given example. These are only the values of regular attributes. The size of the returned array is the same as the size of the given indices array.<P><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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/FastExample2SparseTransform.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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&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"> <A HREF="../../../com/rapidminer/example/ExampleSetFactory.html" title="class in com.rapidminer.example"><B>PREV CLASS</B></A> <A HREF="../../../com/rapidminer/example/FormatterException.html" title="class in com.rapidminer.example"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?com/rapidminer/example/FastExample2SparseTransform.html" target="_top"><B>FRAMES</B></A> <A HREF="FastExample2SparseTransform.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright © 2001-2008 by <a href="http://rapid-i.com" target="_blank">Rapid-I</a></i></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?