attributeweightedexampleset.html

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

HTML
814
字号
</DL><HR><A NAME="deselectAll()"><!-- --></A><H3>deselectAll</H3><PRE>public void <B>deselectAll</B>()</PRE><DL><DD>Sets the weights of all attributes to 0.0.<P><DD><DL></DL></DD></DL><HR><A NAME="isAttributeUsed(com.rapidminer.example.Attribute)"><!-- --></A><H3>isAttributeUsed</H3><PRE>public boolean <B>isAttributeUsed</B>(<A HREF="../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A>&nbsp;attribute)</PRE><DL><DD>Returns the selection state of the attribute.<P><DD><DL></DL></DD></DL><HR><A NAME="setAttributeUsed(com.rapidminer.example.Attribute, boolean)"><!-- --></A><H3>setAttributeUsed</H3><PRE>public void <B>setAttributeUsed</B>(<A HREF="../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A>&nbsp;attribute,                             boolean&nbsp;selected)</PRE><DL><DD>Sets the selection state of the attribute.<P><DD><DL></DL></DD></DL><HR><A NAME="flipAttributeUsed(com.rapidminer.example.Attribute)"><!-- --></A><H3>flipAttributeUsed</H3><PRE>public void <B>flipAttributeUsed</B>(<A HREF="../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A>&nbsp;attribute)</PRE><DL><DD>Flips the selection state of the attribute with the given index. (Convenience method for evolutionary algorithms). If a block starts with this attribute the whole block will be switched. Returns the index of the attribute which is the last one in the block or the index of the given attribute itself if it is not the start attribute of a block.<P><DD><DL></DL></DD></DL><HR><A NAME="selectRandomSubset(int, java.util.Random)"><!-- --></A><H3>selectRandomSubset</H3><PRE>public void <B>selectRandomSubset</B>(int&nbsp;n,                               java.util.Random&nbsp;random)</PRE><DL><DD>Randomly selects approximately the given number of attributes. Will not  throw an exception if the given number exceeds the current number of   features. If no attributes would be selected a single attribute will  be selected.<P><DD><DL></DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;o)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../com/rapidminer/example/set/AbstractExampleSet.html#equals(java.lang.Object)">AbstractExampleSet</A></CODE></B></DD><DD>Returns true, if all attributes including labels and other special attributes are equal.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/rapidminer/example/ExampleSet.html#equals(java.lang.Object)">equals</A></CODE> in interface <CODE><A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/rapidminer/example/set/AbstractExampleSet.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../../com/rapidminer/example/set/AbstractExampleSet.html" title="class in com.rapidminer.example.set">AbstractExampleSet</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../com/rapidminer/example/set/AbstractExampleSet.html#hashCode()">AbstractExampleSet</A></CODE></B></DD><DD>Returns the hash code of all attributes.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/rapidminer/example/ExampleSet.html#hashCode()">hashCode</A></CODE> in interface <CODE><A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/rapidminer/example/set/AbstractExampleSet.html#hashCode()">hashCode</A></CODE> in class <CODE><A HREF="../../../../com/rapidminer/example/set/AbstractExampleSet.html" title="class in com.rapidminer.example.set">AbstractExampleSet</A></CODE></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><A HREF="../../../../com/rapidminer/example/set/AbstractExampleSet.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../../../com/rapidminer/example/set/AbstractExampleSet.html" title="class in com.rapidminer.example.set">AbstractExampleSet</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="createDataTable(com.rapidminer.operator.IOContainer)"><!-- --></A><H3>createDataTable</H3><PRE>public <A HREF="../../../../com/rapidminer/datatable/DataTable.html" title="interface in com.rapidminer.datatable">DataTable</A> <B>createDataTable</B>(<A HREF="../../../../com/rapidminer/operator/IOContainer.html" title="class in com.rapidminer.operator">IOContainer</A>&nbsp;container)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../com/rapidminer/example/set/AbstractExampleSet.html#createDataTable(com.rapidminer.operator.IOContainer)">AbstractExampleSet</A></CODE></B></DD><DD>This method is used to create a <A HREF="../../../../com/rapidminer/datatable/DataTable.html" title="interface in com.rapidminer.datatable"><CODE>DataTable</CODE></A> from this example set. The default implementation  returns an instance of <A HREF="../../../../com/rapidminer/datatable/DataTableExampleSetAdapter.html" title="class in com.rapidminer.datatable"><CODE>DataTableExampleSetAdapter</CODE></A>. The given IOContainer is used to check if   there are compatible attribute weights which would used as column weights of the returned table.   Subclasses might want to override this method in order to allow for other data tables.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/rapidminer/example/set/AbstractExampleSet.html#createDataTable(com.rapidminer.operator.IOContainer)">createDataTable</A></CODE> in class <CODE><A HREF="../../../../com/rapidminer/example/set/AbstractExampleSet.html" title="class in com.rapidminer.example.set">AbstractExampleSet</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="iterator()"><!-- --></A><H3>iterator</H3><PRE>public java.util.Iterator&lt;<A HREF="../../../../com/rapidminer/example/Example.html" title="class in com.rapidminer.example">Example</A>&gt; <B>iterator</B>()</PRE><DL><DD>Creates a new example set reader.<P><DD><DL></DL></DD></DL><HR><A NAME="getExample(int)"><!-- --></A><H3>getExample</H3><PRE>public <A HREF="../../../../com/rapidminer/example/Example.html" title="class in com.rapidminer.example">Example</A> <B>getExample</B>(int&nbsp;index)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../com/rapidminer/example/ExampleSet.html#getExample(int)">ExampleSet</A></CODE></B></DD><DD>Returns the i-th example. It is not guaranteed that asking for an example by using the index in the example table is efficiently implemented. Therefore for-loops for iterations are not an option and an <A HREF="../../../../com/rapidminer/example/ExampleReader.html" title="interface in com.rapidminer.example"><CODE>ExampleReader</CODE></A> should be used.<P><DD><DL></DL></DD></DL><HR><A NAME="getExampleTable()"><!-- --></A><H3>getExampleTable</H3><PRE>public <A HREF="../../../../com/rapidminer/example/table/ExampleTable.html" title="interface in com.rapidminer.example.table">ExampleTable</A> <B>getExampleTable</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../com/rapidminer/example/ExampleSet.html#getExampleTable()">ExampleSet</A></CODE></B></DD><DD>Returns the underlying example table. Most operators should operate on the example set and manipulate example to change table data instead of using the table directly.<P><DD><DL></DL></DD></DL><HR><A NAME="size()"><!-- --></A><H3>size</H3><PRE>public int <B>size</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../com/rapidminer/example/ExampleSet.html#size()">ExampleSet</A></CODE></B></DD><DD>Returns the number of examples in this example set. This number should not be used to create for-loops to iterate through all examples.<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>&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/AttributeWeightedExampleSet.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/example/set/AttributeValueFilterSingleCondition.html" title="class in com.rapidminer.example.set"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../com/rapidminer/example/set/Condition.html" title="interface in com.rapidminer.example.set"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?com/rapidminer/example/set/AttributeWeightedExampleSet.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="AttributeWeightedExampleSet.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;FIELD&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;FIELD&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 + -
显示快捷键?