featureselectionoperator.html
来自「数据挖掘方面最新软件」· HTML 代码 · 共 700 行 · 第 1/4 页
HTML
700 行
should only be applied to small attribute sets).</li> </ul> </p><P><P><DL><DT><B>Version:</B></DT> <DD>$Id: FeatureSelectionOperator.java,v 1.1 2006/04/14 11:42:27 ingomierswa Exp $</DD><DT><B>Author:</B></DT> <DD>Simon Fischer, Ingo Mierswa</DD></DL><HR><P><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Field Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/features/selection/FeatureSelectionOperator.html#BACKWARD_ELIMINATION">BACKWARD_ELIMINATION</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/features/selection/FeatureSelectionOperator.html#FORWARD_SELECTION">FORWARD_SELECTION</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/features/selection/FeatureSelectionOperator.html#PARAMETER_GENERATIONS_WITHOUT_IMPROVAL">PARAMETER_GENERATIONS_WITHOUT_IMPROVAL</A></B></CODE><BR> The parameter name for "Stop after n generations without improval of the performance (-1: stops if the maximum_number_of_generations is reached).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/features/selection/FeatureSelectionOperator.html#PARAMETER_KEEP_BEST">PARAMETER_KEEP_BEST</A></B></CODE><BR> The parameter name for "Keep the best n individuals in each generation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/features/selection/FeatureSelectionOperator.html#PARAMETER_MAXIMUM_NUMBER_OF_GENERATIONS">PARAMETER_MAXIMUM_NUMBER_OF_GENERATIONS</A></B></CODE><BR> The parameter name for "Delivers the maximum amount of generations (-1: might use or deselect all features).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/features/selection/FeatureSelectionOperator.html#PARAMETER_SELECTION_DIRECTION">PARAMETER_SELECTION_DIRECTION</A></B></CODE><BR> The parameter name for "Forward selection or backward elimination.</TD></TR></TABLE> <A NAME="fields_inherited_from_class_com.rapidminer.operator.features.FeatureOperator"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Fields inherited from class com.rapidminer.operator.features.<A HREF="../../../../../com/rapidminer/operator/features/FeatureOperator.html" title="class in com.rapidminer.operator.features">FeatureOperator</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../com/rapidminer/operator/features/FeatureOperator.html#PARAMETER_CONSTRAINT_DRAW_RANGE">PARAMETER_CONSTRAINT_DRAW_RANGE</A>, <A HREF="../../../../../com/rapidminer/operator/features/FeatureOperator.html#PARAMETER_DRAW_DOMINATED_POINTS">PARAMETER_DRAW_DOMINATED_POINTS</A>, <A HREF="../../../../../com/rapidminer/operator/features/FeatureOperator.html#PARAMETER_LOCAL_RANDOM_SEED">PARAMETER_LOCAL_RANDOM_SEED</A>, <A HREF="../../../../../com/rapidminer/operator/features/FeatureOperator.html#PARAMETER_MAXIMAL_FITNESS">PARAMETER_MAXIMAL_FITNESS</A>, <A HREF="../../../../../com/rapidminer/operator/features/FeatureOperator.html#PARAMETER_PLOT_GENERATIONS">PARAMETER_PLOT_GENERATIONS</A>, <A HREF="../../../../../com/rapidminer/operator/features/FeatureOperator.html#PARAMETER_POPULATION_CRITERIA_DATA_FILE">PARAMETER_POPULATION_CRITERIA_DATA_FILE</A>, <A HREF="../../../../../com/rapidminer/operator/features/FeatureOperator.html#PARAMETER_SHOW_POPULATION_PLOTTER">PARAMETER_SHOW_POPULATION_PLOTTER</A>, <A HREF="../../../../../com/rapidminer/operator/features/FeatureOperator.html#PARAMETER_SHOW_STOP_DIALOG">PARAMETER_SHOW_STOP_DIALOG</A>, <A HREF="../../../../../com/rapidminer/operator/features/FeatureOperator.html#PARAMETER_USER_RESULT_INDIVIDUAL_SELECTION">PARAMETER_USER_RESULT_INDIVIDUAL_SELECTION</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/features/selection/FeatureSelectionOperator.html#FeatureSelectionOperator(com.rapidminer.operator.OperatorDescription)">FeatureSelectionOperator</A></B>(<A HREF="../../../../../com/rapidminer/operator/OperatorDescription.html" title="class in com.rapidminer.operator">OperatorDescription</A> description)</CODE><BR> </TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../com/rapidminer/operator/IOObject.html" title="interface in com.rapidminer.operator">IOObject</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/features/selection/FeatureSelectionOperator.html#apply()">apply</A></B>()</CODE><BR> Applies the feature operator: collects the pre- and postevaluation operators create an initial population evaluate the initial population loop as long as solution is not good enough apply all pre evaluation operators evaluate the population update the population's best individual apply all post evaluation operators return all generation's best individual </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../com/rapidminer/operator/features/Population.html" title="class in com.rapidminer.operator.features">Population</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/features/selection/FeatureSelectionOperator.html#createInitialPopulation(com.rapidminer.example.ExampleSet)">createInitialPopulation</A></B>(<A HREF="../../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A> es)</CODE><BR> May <tt>es</tt> have <i>n</i> features.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.List<<A HREF="../../../../../com/rapidminer/parameter/ParameterType.html" title="class in com.rapidminer.parameter">ParameterType</A>></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/features/selection/FeatureSelectionOperator.html#getParameterTypes()">getParameterTypes</A></B>()</CODE><BR> Returns a list of <tt>ParameterTypes</tt> describing the parameters of this operator.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.List<<A HREF="../../../../../com/rapidminer/operator/features/PopulationOperator.html" title="interface in com.rapidminer.operator.features">PopulationOperator</A>></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/features/selection/FeatureSelectionOperator.html#getPostEvaluationPopulationOperators(com.rapidminer.example.ExampleSet)">getPostEvaluationPopulationOperators</A></B>(<A HREF="../../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A> input)</CODE><BR> empty list</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.List<<A HREF="../../../../../com/rapidminer/operator/features/PopulationOperator.html" title="interface in com.rapidminer.operator.features">PopulationOperator</A>></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/features/selection/FeatureSelectionOperator.html#getPreEvaluationPopulationOperators(com.rapidminer.example.ExampleSet)">getPreEvaluationPopulationOperators</A></B>(<A HREF="../../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A> input)</CODE><BR> The operators performs two steps: forward selection/backward elimination kick out all but the <tt>keep_best</tt> individuals remove redundant individuals </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/features/selection/FeatureSelectionOperator.html#solutionGoodEnough(com.rapidminer.operator.features.Population)">solutionGoodEnough</A></B>(<A HREF="../../../../../com/rapidminer/operator/features/Population.html" title="class in com.rapidminer.operator.features">Population</A> pop)</CODE><BR> Returns true if the best individual is not better than the last generation's best individual.</TD></TR>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?