operatorchain.html

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

HTML
1,080
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.5.0_13) on Mon Jul 14 01:36:20 CEST 2008 --><TITLE>OperatorChain (RapidMiner Class Documentation)</TITLE><META NAME="keywords" CONTENT="com.rapidminer.operator.OperatorChain class"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){    parent.document.title="OperatorChain (RapidMiner Class Documentation)";}</SCRIPT><NOSCRIPT></NOSCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" 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_top_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/OperatorChain.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></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../com/rapidminer/operator/OperatorCreationException.html" title="class in com.rapidminer.operator"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?com/rapidminer/operator/OperatorChain.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="OperatorChain.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_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">com.rapidminer.operator</FONT><BR>Class OperatorChain</H2><PRE>java.lang.Object  <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">com.rapidminer.operator.Operator</A>      <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.rapidminer.operator.OperatorChain</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../com/rapidminer/gui/wizards/ConfigurationListener.html" title="interface in com.rapidminer.gui.wizards">ConfigurationListener</A>, <A HREF="../../../com/rapidminer/gui/wizards/PreviewListener.html" title="interface in com.rapidminer.gui.wizards">PreviewListener</A>, <A HREF="../../../com/rapidminer/parameter/ParameterHandler.html" title="interface in com.rapidminer.parameter">ParameterHandler</A>, <A HREF="../../../com/rapidminer/tools/LoggingHandler.html" title="interface in com.rapidminer.tools">LoggingHandler</A></DD></DL><DL><DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../com/rapidminer/operator/learner/meta/AbstractMetaLearner.html" title="class in com.rapidminer.operator.learner.meta">AbstractMetaLearner</A>, <A HREF="../../../com/rapidminer/operator/meta/AbstractSplitChain.html" title="class in com.rapidminer.operator.meta">AbstractSplitChain</A>, <A HREF="../../../com/rapidminer/operator/preprocessing/AttributeSubsetPreprocessing.html" title="class in com.rapidminer.operator.preprocessing">AttributeSubsetPreprocessing</A>, <A HREF="../../../com/rapidminer/operator/meta/BatchProcessing.html" title="class in com.rapidminer.operator.meta">BatchProcessing</A>, <A HREF="../../../com/rapidminer/operator/meta/ClusterIterator.html" title="class in com.rapidminer.operator.meta">ClusterIterator</A>, <A HREF="../../../com/rapidminer/operator/features/aggregation/EvolutionaryFeatureAggregation.html" title="class in com.rapidminer.operator.features.aggregation">EvolutionaryFeatureAggregation</A>, <A HREF="../../../com/rapidminer/operator/meta/ExampleSetIterator.html" title="class in com.rapidminer.operator.meta">ExampleSetIterator</A>, <A HREF="../../../com/rapidminer/operator/meta/FeatureIterator.html" title="class in com.rapidminer.operator.meta">FeatureIterator</A>, <A HREF="../../../com/rapidminer/operator/features/FeatureOperator.html" title="class in com.rapidminer.operator.features">FeatureOperator</A>, <A HREF="../../../com/rapidminer/operator/meta/FeatureSubsetIteration.html" title="class in com.rapidminer.operator.meta">FeatureSubsetIteration</A>, <A HREF="../../../com/rapidminer/operator/learner/weka/GenericWekaEnsembleLearner.html" title="class in com.rapidminer.operator.learner.weka">GenericWekaEnsembleLearner</A>, <A HREF="../../../com/rapidminer/operator/learner/weka/GenericWekaMetaLearner.html" title="class in com.rapidminer.operator.learner.weka">GenericWekaMetaLearner</A>, <A HREF="../../../com/rapidminer/operator/meta/IteratingOperatorChain.html" title="class in com.rapidminer.operator.meta">IteratingOperatorChain</A>, <A HREF="../../../com/rapidminer/operator/validation/IteratingPerformanceAverage.html" title="class in com.rapidminer.operator.validation">IteratingPerformanceAverage</A>, <A HREF="../../../com/rapidminer/operator/meta/IterativeWeightOptimization.html" title="class in com.rapidminer.operator.meta">IterativeWeightOptimization</A>, <A HREF="../../../com/rapidminer/operator/meta/LearningCurveOperator.html" title="class in com.rapidminer.operator.meta">LearningCurveOperator</A>, <A HREF="../../../com/rapidminer/operator/preprocessing/filter/MissingValueImputation.html" title="class in com.rapidminer.operator.preprocessing.filter">MissingValueImputation</A>, <A HREF="../../../com/rapidminer/operator/meta/MultipleLabelIterator.html" title="class in com.rapidminer.operator.meta">MultipleLabelIterator</A>, <A HREF="../../../com/rapidminer/operator/meta/OperatorEnabler.html" title="class in com.rapidminer.operator.meta">OperatorEnabler</A>, <A HREF="../../../com/rapidminer/operator/meta/OperatorSelector.html" title="class in com.rapidminer.operator.meta">OperatorSelector</A>, <A HREF="../../../com/rapidminer/operator/meta/ParameterIteratingOperatorChain.html" title="class in com.rapidminer.operator.meta">ParameterIteratingOperatorChain</A>, <A HREF="../../../com/rapidminer/operator/meta/PartialExampleSetLearner.html" title="class in com.rapidminer.operator.meta">PartialExampleSetLearner</A>, <A HREF="../../../com/rapidminer/operator/meta/branch/ProcessBranch.html" title="class in com.rapidminer.operator.meta.branch">ProcessBranch</A>, <A HREF="../../../com/rapidminer/operator/ProcessRootOperator.html" title="class in com.rapidminer.operator">ProcessRootOperator</A>, <A HREF="../../../com/rapidminer/operator/features/weighting/PSOWeighting.html" title="class in com.rapidminer.operator.features.weighting">PSOWeighting</A>, <A HREF="../../../com/rapidminer/operator/meta/RandomOptimizationChain.html" title="class in com.rapidminer.operator.meta">RandomOptimizationChain</A>, <A HREF="../../../com/rapidminer/operator/meta/RepeatUntilOperatorChain.html" title="class in com.rapidminer.operator.meta">RepeatUntilOperatorChain</A>, <A HREF="../../../com/rapidminer/operator/visualization/ROCBasedComparisonOperator.html" title="class in com.rapidminer.operator.visualization">ROCBasedComparisonOperator</A>, <A HREF="../../../com/rapidminer/operator/learner/meta/SDRulesetInduction.html" title="class in com.rapidminer.operator.learner.meta">SDRulesetInduction</A>, <A HREF="../../../com/rapidminer/operator/SimpleOperatorChain.html" title="class in com.rapidminer.operator">SimpleOperatorChain</A>, <A HREF="../../../com/rapidminer/operator/learner/clustering/hierarchical/TopDownClustering.html" title="class in com.rapidminer.operator.learner.clustering.hierarchical">TopDownClustering</A>, <A HREF="../../../com/rapidminer/operator/learner/meta/TransformedRegression.html" title="class in com.rapidminer.operator.learner.meta">TransformedRegression</A>, <A HREF="../../../com/rapidminer/operator/meta/UnivariateLabelSeriesPrediction.html" title="class in com.rapidminer.operator.meta">UnivariateLabelSeriesPrediction</A>, <A HREF="../../../com/rapidminer/operator/validation/ValidationChain.html" title="class in com.rapidminer.operator.validation">ValidationChain</A>, <A HREF="../../../com/rapidminer/operator/meta/ValueSubgroupIteration.html" title="class in com.rapidminer.operator.meta">ValueSubgroupIteration</A>, <A HREF="../../../com/rapidminer/operator/meta/WeightOptimization.html" title="class in com.rapidminer.operator.meta">WeightOptimization</A>, <A HREF="../../../com/rapidminer/operator/validation/WrapperValidationChain.html" title="class in com.rapidminer.operator.validation">WrapperValidationChain</A>, <A HREF="../../../com/rapidminer/operator/meta/XVPrediction.html" title="class in com.rapidminer.operator.meta">XVPrediction</A></DD></DL><HR><DL><DT><PRE>public abstract class <B>OperatorChain</B><DT>extends <A HREF="../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A></DL></PRE><P>A chain of operators that is subsequently applied. As an OperatorChain is an Operator itself it can be arbitrarily nested.<br> Inheritants can access inner operators by <A HREF="../../../com/rapidminer/operator/OperatorChain.html#getOperator(int)"><CODE>getOperator(int)</CODE></A>. They should override <A HREF="../../../com/rapidminer/operator/OperatorChain.html#getMaxNumberOfInnerOperators()"><CODE>getMaxNumberOfInnerOperators()</CODE></A> and <A HREF="../../../com/rapidminer/operator/OperatorChain.html#getMinNumberOfInnerOperators()"><CODE>getMinNumberOfInnerOperators()</CODE></A> which are used for some checks. They should also override <A HREF="../../../com/rapidminer/operator/OperatorChain.html#getInnerOperatorCondition()"><CODE>getInnerOperatorCondition()</CODE></A> to ensure that all inner operators get the desired input and return the necessary output for the next inner operator. Please refer to the RapidMiner tutorial for a description how  to implement your own operator chain.<P><P><DL><DT><B>Version:</B></DT>  <DD>$Id: OperatorChain.java,v 1.8 2008/07/07 07:06:44 ingomierswa Exp $</DD><DT><B>Author:</B></DT>  <DD>Simon Fischer, Ingo Mierswa</DD></DL><HR><P><!-- ======== 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/OperatorChain.html#OperatorChain(com.rapidminer.operator.OperatorDescription)">OperatorChain</A></B>(<A HREF="../../../com/rapidminer/operator/OperatorDescription.html" title="class in com.rapidminer.operator">OperatorDescription</A>&nbsp;description)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty operator chain.</TD></TR></TABLE>&nbsp;<!-- ========== 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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/rapidminer/operator/OperatorChain.html#addAddListener(com.rapidminer.operator.AddListener)">addAddListener</A></B>(<A HREF="../../../com/rapidminer/operator/AddListener.html" title="interface in com.rapidminer.operator">AddListener</A>&nbsp;listener)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds the given listener.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/rapidminer/operator/OperatorChain.html#addOperator(com.rapidminer.operator.Operator)">addOperator</A></B>(<A HREF="../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A>&nbsp;o)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a new inner operator at the last position.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/rapidminer/operator/OperatorChain.html#addOperator(com.rapidminer.operator.Operator, int)">addOperator</A></B>(<A HREF="../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A>&nbsp;operator,            int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds the given operator at the given position.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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/OperatorChain.html#apply()">apply</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Applies all inner operators.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/rapidminer/operator/OperatorChain.html#checkDeprecations()">checkDeprecations</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Will count an the number of deprecated operators, i.e. the operators which <A HREF="../../../com/rapidminer/operator/Operator.html#getDeprecationInfo()"><CODE>Operator.getDeprecationInfo()</CODE></A> method does not return null.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Class&lt;?&gt;[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/rapidminer/operator/OperatorChain.html#checkIO(java.lang.Class[])">checkIO</A></B>(java.lang.Class&lt;?&gt;[]&nbsp;input)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method checks if inner operators can handle their input and deliver the necessary output.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/rapidminer/operator/OperatorChain.html#checkNumberOfInnerOperators()">checkNumberOfInnerOperators</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks if the number of inner operators lies between MinInnerOps and MaxInnerOps.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?