abstractmetalearner.html

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

HTML
631
字号
<!-- ============ 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="apply()"><!-- --></A><H3>apply</H3><PRE>public <A HREF="../../../../../com/rapidminer/operator/IOObject.html" title="interface in com.rapidminer.operator">IOObject</A>[] <B>apply</B>()                 throws <A HREF="../../../../../com/rapidminer/operator/OperatorException.html" title="class in com.rapidminer.operator">OperatorException</A></PRE><DL><DD>Trains a model using an ExampleSet from the input. Uses the method learn(ExampleSet).<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/rapidminer/operator/OperatorChain.html#apply()">apply</A></CODE> in class <CODE><A HREF="../../../../../com/rapidminer/operator/OperatorChain.html" title="class in com.rapidminer.operator">OperatorChain</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the last inner operator's output or the input itself if the chain         is empty.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/rapidminer/operator/OperatorException.html" title="class in com.rapidminer.operator">OperatorException</A></CODE></DL></DD></DL><HR><A NAME="applyInnerLearner(com.rapidminer.example.ExampleSet)"><!-- --></A><H3>applyInnerLearner</H3><PRE>protected <A HREF="../../../../../com/rapidminer/operator/Model.html" title="interface in com.rapidminer.operator">Model</A> <B>applyInnerLearner</B>(<A HREF="../../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;exampleSet)                           throws <A HREF="../../../../../com/rapidminer/operator/OperatorException.html" title="class in com.rapidminer.operator">OperatorException</A></PRE><DL><DD>This is a convenience method to apply the inner operators and return the model which must be output of the last operator.<P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/rapidminer/operator/OperatorException.html" title="class in com.rapidminer.operator">OperatorException</A></CODE></DL></DD></DL><HR><A NAME="getMinNumberOfInnerOperators()"><!-- --></A><H3>getMinNumberOfInnerOperators</H3><PRE>public int <B>getMinNumberOfInnerOperators</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../../com/rapidminer/operator/OperatorChain.html#getMinNumberOfInnerOperators()">OperatorChain</A></CODE></B></DD><DD>Returns the minimum number of innner operators.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/rapidminer/operator/OperatorChain.html#getMinNumberOfInnerOperators()">getMinNumberOfInnerOperators</A></CODE> in class <CODE><A HREF="../../../../../com/rapidminer/operator/OperatorChain.html" title="class in com.rapidminer.operator">OperatorChain</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getMaxNumberOfInnerOperators()"><!-- --></A><H3>getMaxNumberOfInnerOperators</H3><PRE>public int <B>getMaxNumberOfInnerOperators</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../../com/rapidminer/operator/OperatorChain.html#getMaxNumberOfInnerOperators()">OperatorChain</A></CODE></B></DD><DD>Returns the maximum number of innner operators.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/rapidminer/operator/OperatorChain.html#getMaxNumberOfInnerOperators()">getMaxNumberOfInnerOperators</A></CODE> in class <CODE><A HREF="../../../../../com/rapidminer/operator/OperatorChain.html" title="class in com.rapidminer.operator">OperatorChain</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getInnerOperatorCondition()"><!-- --></A><H3>getInnerOperatorCondition</H3><PRE>public <A HREF="../../../../../com/rapidminer/operator/condition/InnerOperatorCondition.html" title="interface in com.rapidminer.operator.condition">InnerOperatorCondition</A> <B>getInnerOperatorCondition</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../../com/rapidminer/operator/OperatorChain.html#getInnerOperatorCondition()">OperatorChain</A></CODE></B></DD><DD>Must return a condition of the IO behaviour of all desired inner operators. If there are no &quot;special&quot; conditions and the chain works similar to a simple operator chain this method should at least return a <A HREF="../../../../../com/rapidminer/operator/condition/SimpleChainInnerOperatorCondition.html" title="class in com.rapidminer.operator.condition"><CODE>SimpleChainInnerOperatorCondition</CODE></A>. More than one condition should be combined with help of the class <A HREF="../../../../../com/rapidminer/operator/condition/CombinedInnerOperatorCondition.html" title="class in com.rapidminer.operator.condition"><CODE>CombinedInnerOperatorCondition</CODE></A>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/rapidminer/operator/OperatorChain.html#getInnerOperatorCondition()">getInnerOperatorCondition</A></CODE> in class <CODE><A HREF="../../../../../com/rapidminer/operator/OperatorChain.html" title="class in com.rapidminer.operator">OperatorChain</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getInputDescription(java.lang.Class)"><!-- --></A><H3>getInputDescription</H3><PRE>public <A HREF="../../../../../com/rapidminer/operator/InputDescription.html" title="class in com.rapidminer.operator">InputDescription</A> <B>getInputDescription</B>(java.lang.Class&nbsp;cls)</PRE><DL><DD>Indicates that the consumption of example sets can be user defined.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/rapidminer/operator/Operator.html#getInputDescription(java.lang.Class)">getInputDescription</A></CODE> in class <CODE><A HREF="../../../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getInputClasses()"><!-- --></A><H3>getInputClasses</H3><PRE>public java.lang.Class&lt;?&gt;[] <B>getInputClasses</B>()</PRE><DL><DD>Returns an array with one element: ExampleSet.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/rapidminer/operator/Operator.html#getInputClasses()">getInputClasses</A></CODE> in class <CODE><A HREF="../../../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="shouldEstimatePerformance()"><!-- --></A><H3>shouldEstimatePerformance</H3><PRE>public boolean <B>shouldEstimatePerformance</B>()</PRE><DL><DD>Returns true if the user wants to estimate the performance (depending on a parameter). In this case the method getEstimatedPerformance() must also be overriden and deliver the estimated performance. The default implementation returns false.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/rapidminer/operator/learner/Learner.html#shouldEstimatePerformance()">shouldEstimatePerformance</A></CODE> in interface <CODE><A HREF="../../../../../com/rapidminer/operator/learner/Learner.html" title="interface in com.rapidminer.operator.learner">Learner</A></CODE></DL></DD><DD><DL></DL></DD></DL>

⌨️ 快捷键说明

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