📄 featuregenerator.html
字号:
</DD></DL><HR><A NAME="checkCompatibility(com.rapidminer.example.Attribute, com.rapidminer.example.Attribute, int, java.lang.String[])"><!-- --></A><H3>checkCompatibility</H3><PRE>protected boolean <B>checkCompatibility</B>(<A HREF="../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A> attribute, <A HREF="../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A> compatible, int maxDepth, java.lang.String[] functions)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setExampleTable(com.rapidminer.example.table.ExampleTable)"><!-- --></A><H3>setExampleTable</H3><PRE>protected void <B>setExampleTable</B>(<A HREF="../../../com/rapidminer/example/table/ExampleTable.html" title="interface in com.rapidminer.example.table">ExampleTable</A> et)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getExampleTable()"><!-- --></A><H3>getExampleTable</H3><PRE>protected <A HREF="../../../com/rapidminer/example/table/ExampleTable.html" title="interface in com.rapidminer.example.table">ExampleTable</A> <B>getExampleTable</B>()</PRE><DL><DD>Gets the example table the examples are from.<P><DD><DL></DL></DD></DL><HR><A NAME="setArguments(com.rapidminer.example.Attribute[])"><!-- --></A><H3>setArguments</H3><PRE>public void <B>setArguments</B>(<A HREF="../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A>[] args)</PRE><DL><DD>Sets the arguments (indices) used in future <tt>generate(...)</tt> calls and has to be called prior to any <tt>generate(...)</tt> calls. The caller of this method has to take care that: <ul> <li><tt>args.length == getInputAttributes().length</tt>, i.e. that the arity is correct. <li>The types of the example attributes match the types specified by <tt>getInputAttributes()</tt>. <li>The true attribute indices are used (as used by the example set's example table) </ul><P><DD><DL></DL></DD></DL><HR><A NAME="argumentsSet()"><!-- --></A><H3>argumentsSet</H3><PRE>public boolean <B>argumentsSet</B>()</PRE><DL><DD>returns <tt>true</tt>, if the arguments have already been set, and <tt>false</tt> otherwise.<P><DD><DL></DL></DD></DL><HR><A NAME="getArgument(int)"><!-- --></A><H3>getArgument</H3><PRE>public <A HREF="../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A> <B>getArgument</B>(int i)</PRE><DL><DD>Returns the i-th selected argument (the true index as used in the example set's example table).<P><DD><DL></DL></DD></DL><HR><A NAME="createGeneratorForFunction(java.lang.String)"><!-- --></A><H3>createGeneratorForFunction</H3><PRE>public static <A HREF="../../../com/rapidminer/generator/FeatureGenerator.html" title="class in com.rapidminer.generator">FeatureGenerator</A> <B>createGeneratorForFunction</B>(java.lang.String functionName)</PRE><DL><DD>Creates a new FeatureGenerator for a given function name.<P><DD><DL></DL></DD></DL><HR><A NAME="selectGenerator(com.rapidminer.example.ExampleSet, java.util.List, int, java.lang.String[], com.rapidminer.tools.RandomGenerator)"><!-- --></A><H3>selectGenerator</H3><PRE>public static <A HREF="../../../com/rapidminer/generator/FeatureGenerator.html" title="class in com.rapidminer.generator">FeatureGenerator</A> <B>selectGenerator</B>(<A HREF="../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A> exampleSet, java.util.List generators, int maxDepth, java.lang.String[] functions, <A HREF="../../../com/rapidminer/tools/RandomGenerator.html" title="class in com.rapidminer.tools">RandomGenerator</A> random)</PRE><DL><DD>Randomly selects a generator from the generator list. The probability of a generator to be selected is proportional to its number of attribute combinations as delivered by <A HREF="../../../com/rapidminer/generator/FeatureGenerator.html#getInputCandidates(com.rapidminer.example.ExampleSet, int, java.lang.String[])"><CODE>getInputCandidates(ExampleSet, int, String[])</CODE></A> method. Returns null if no generators are applicable.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>generators</CODE> - List of <A HREF="../../../com/rapidminer/generator/FeatureGenerator.html" title="class in com.rapidminer.generator"><CODE>FeatureGenerator</CODE></A>s</DL></DD></DL><HR><A NAME="generateAll(com.rapidminer.example.table.ExampleTable, java.util.Collection)"><!-- --></A><H3>generateAll</H3><PRE>public static java.util.List<<A HREF="../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A>> <B>generateAll</B>(<A HREF="../../../com/rapidminer/example/table/ExampleTable.html" title="interface in com.rapidminer.example.table">ExampleTable</A> exampleTable, java.util.Collection<<A HREF="../../../com/rapidminer/generator/FeatureGenerator.html" title="class in com.rapidminer.generator">FeatureGenerator</A>> generatorList) throws <A HREF="../../../com/rapidminer/generator/GenerationException.html" title="class in com.rapidminer.generator">GenerationException</A></PRE><DL><DD>Generates all new attributes and updates the ExampleTable. Returns a list of Attributes for the newly generated attributes.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>exampleTable</CODE> - the source example table<DD><CODE>generatorList</CODE> - List of FeatureGenerators<DT><B>Returns:</B><DD>A list of Attributes<DT><B>Throws:</B><DD><CODE><A HREF="../../../com/rapidminer/generator/GenerationException.html" title="class in com.rapidminer.generator">GenerationException</A></CODE></DL></DD></DL><HR><A NAME="getSelectionMode()"><!-- --></A><H3>getSelectionMode</H3><PRE>public static int <B>getSelectionMode</B>()</PRE><DL><DD>Returns the attribute with the name of the given attribute from the table. May return null (no attribute with this name is part of the table).<P><DD><DL></DL></DD></DL><HR><A NAME="setSelectionMode(int)"><!-- --></A><H3>setSelectionMode</H3><PRE>public static void <B>setSelectionMode</B>(int mode)</PRE><DL><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="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object o)</PRE><DL><DD>A FeatureGenerator equals another FeatureGenerator if its class is equal and its arguments are equal and its function names are equal.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</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><DL><DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></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> </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/FeatureGenerator.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/generator/ExponentialFunctionGenerator.html" title="class in com.rapidminer.generator"><B>PREV CLASS</B></A> <A HREF="../../../com/rapidminer/generator/FloorCeilGenerator.html" title="class in com.rapidminer.generator"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?com/rapidminer/generator/FeatureGenerator.html" target="_top"><B>FRAMES</B></A> <A HREF="FeatureGenerator.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -