abstractlearner.html

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

HTML
627
字号
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the classes that are guaranteed to be returned by <tt>apply()</tt> as additional output.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../com/rapidminer/example/AttributeWeights.html" title="class in com.rapidminer.example">AttributeWeights</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/operator/learner/AbstractLearner.html#getWeights(com.rapidminer.example.ExampleSet)">getWeights</A></B>(<A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;exampleSet)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the calculated weight vectors.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/operator/learner/AbstractLearner.html#onlyWarnForNonSufficientCapabilities()">onlyWarnForNonSufficientCapabilities</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/operator/learner/AbstractLearner.html#shouldCalculateWeights()">shouldCalculateWeights</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the user wants to calculate feature weights (depending on a parameter).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/operator/learner/AbstractLearner.html#shouldDeliverOptimizationPerformance()">shouldDeliverOptimizationPerformance</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true it the user wants to deliver the performance of the original optimization problem.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/operator/learner/AbstractLearner.html#shouldEstimatePerformance()">shouldEstimatePerformance</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the user wants to estimate the performance (depending on a parameter).</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_com.rapidminer.operator.Operator"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class com.rapidminer.operator.<A HREF="../../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../com/rapidminer/operator/Operator.html#addError(java.lang.String)">addError</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#addValue(com.rapidminer.operator.Value)">addValue</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#addWarning(java.lang.String)">addWarning</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#apply(com.rapidminer.operator.IOContainer)">apply</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#checkDeprecations()">checkDeprecations</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#checkForStop()">checkForStop</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#checkIO(java.lang.Class[])">checkIO</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#checkProperties()">checkProperties</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#clearErrorList()">clearErrorList</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#cloneOperator(java.lang.String)">cloneOperator</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#createExperimentTree(int)">createExperimentTree</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#createExperimentTree(int, java.lang.String, java.lang.String, com.rapidminer.operator.Operator, java.lang.String)">createExperimentTree</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#createFromXML(org.w3c.dom.Element)">createFromXML</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#createMarkedExperimentTree(int, java.lang.String, com.rapidminer.operator.Operator)">createMarkedExperimentTree</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#createMarkedProcessTree(int, java.lang.String, com.rapidminer.operator.Operator)">createMarkedProcessTree</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#createProcessTree(int)">createProcessTree</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#createProcessTree(int, java.lang.String, java.lang.String, com.rapidminer.operator.Operator, java.lang.String)">createProcessTree</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getAddOnlyAdditionalOutput()">getAddOnlyAdditionalOutput</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getApplyCount()">getApplyCount</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getDeliveredOutputClasses()">getDeliveredOutputClasses</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getDeprecationInfo()">getDeprecationInfo</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getDesiredInputClasses()">getDesiredInputClasses</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getEncoding()">getEncoding</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getErrorList()">getErrorList</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getExperiment()">getExperiment</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getInnerOperatorsXML(java.lang.String)">getInnerOperatorsXML</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getInput()">getInput</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getInput(java.lang.Class)">getInput</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getInput(java.lang.Class, int)">getInput</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getIOContainerForInApplyLoopBreakpoint()">getIOContainerForInApplyLoopBreakpoint</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getLog()">getLog</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getName()">getName</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getOperatorClassName()">getOperatorClassName</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getOperatorDescription()">getOperatorDescription</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getParameter(java.lang.String)">getParameter</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getParameterAsBoolean(java.lang.String)">getParameterAsBoolean</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getParameterAsColor(java.lang.String)">getParameterAsColor</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getParameterAsDouble(java.lang.String)">getParameterAsDouble</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getParameterAsFile(java.lang.String)">getParameterAsFile</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getParameterAsInt(java.lang.String)">getParameterAsInt</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getParameterAsMatrix(java.lang.String)">getParameterAsMatrix</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getParameterAsString(java.lang.String)">getParameterAsString</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getParameterList(java.lang.String)">getParameterList</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getParameters()">getParameters</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getParameterType(java.lang.String)">getParameterType</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getParameterTypes()">getParameterTypes</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getParent()">getParent</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getProcess()">getProcess</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getStartTime()">getStartTime</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getStatus()">getStatus</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getUserDescription()">getUserDescription</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getValue(java.lang.String)">getValue</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getValues()">getValues</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getXML(java.lang.String)">getXML</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#hasBreakpoint()">hasBreakpoint</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#hasBreakpoint(int)">hasBreakpoint</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#hasInput(java.lang.Class)">hasInput</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#inApplyLoop()">inApplyLoop</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#isDebugMode()">isDebugMode</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#isEnabled()">isEnabled</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#isExpanded()">isExpanded</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#isParallel()">isParallel</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#isParameterSet(java.lang.String)">isParameterSet</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#log(java.lang.String)">log</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#logError(java.lang.String)">logError</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#logNote(java.lang.String)">logNote</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#logWarning(java.lang.String)">logWarning</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#performAdditionalChecks()">performAdditionalChecks</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#processFinished()">processFinished</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#processStarts()">processStarts</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#register(com.rapidminer.Process, java.lang.String)">register</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#registerOperator(com.rapidminer.Process)">registerOperator</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#remove()">remove</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#rename(java.lang.String)">rename</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#resume()">resume</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#setApplyCount(int)">setApplyCount</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#setBreakpoint(int, boolean)">setBreakpoint</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#setEnabled(boolean)">setEnabled</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#setExpanded(boolean)">setExpanded</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#setInput(com.rapidminer.operator.IOContainer)">setInput</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#setListParameter(java.lang.String, java.util.List)">setListParameter</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#setOperatorParameters(org.w3c.dom.Element)">setOperatorParameters</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#setParameter(java.lang.String, java.lang.String)">setParameter</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#setParameters(com.rapidminer.parameter.Parameters)">setParameters</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#setParent(com.rapidminer.operator.OperatorChain)">setParent</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#setUserDescription(java.lang.String)">setUserDescription</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#toString()">toString</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#unregisterOperator(com.rapidminer.Process)">unregisterOperator</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#writeXML(java.io.PrintWriter, java.lang.String)">writeXML</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_com.rapidminer.operator.learner.Learner"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from interface com.rapidminer.operator.learner.<A HREF="../../../../com/rapidminer/operator/learner/Learner.html" title="interface in com.rapidminer.operator.learner">Learner</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../com/rapidminer/operator/learner/Learner.html#getName()">getName</A>, <A HREF="../../../../com/rapidminer/operator/learner/Learner.html#learn(com.rapidminer.example.ExampleSet)">learn</A>, <A HREF="../../../../com/rapidminer/operator/learner/Learner.html#supportsCapability(com.rapidminer.operator.learner.LearnerCapability)">supportsCapability</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="PROPERTY_RAPIDMINER_GENERAL_CAPABILITIES_WARN"><!-- --></A><H3>PROPERTY_RAPIDMINER_GENERAL_CAPABILITIES_WARN</H3><PRE>public static final java.lang.String <B>PROPERTY_RAPIDMINER_GENERAL_CAPABILITIES_WARN</B></PRE><DL><DD>The property name for &quot;Indicates if only a warning should be made if learning capabilities are not fulfilled (instead of breaking the process).&quot;<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.rapidminer.operator.learner.AbstractLearner.PROPERTY_RAPIDMINER_GENERAL_CAPABILITIES_WARN">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_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>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="AbstractLearner(com.rapidminer.operator.OperatorDescription)"><!-- --></A><H3>AbstractLearner</H3><PRE>public <B>AbstractLearner</B>(<A HREF="../../../../com/rapidminer/operator/OperatorDescription.html" title="class in com.rapidminer.operator">OperatorDescription</A>&nbsp;description)</PRE><DL><DD>Creates a new abstract learner.<P></DL><!-- ============ 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>Specified by:</B><DD><CODE><A HREF="../../../../com/rapidminer/operator/Operator.html#apply()">apply</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><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="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><HR><A NAME="shouldCalculateWeights()"><!-- --></A><H3>shouldCalculateWeights</H3><PRE>public boolean <B>shouldCalculateWeights</B>()</PRE><DL><DD>Returns true if the user wants to calculate feature weights (depending on a parameter). In this case the method getWeights() must also be overriden and deliver the calculated weights. The default implementation returns false.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/rapidminer/operator/learner/Learner.html#shouldCalculateWeights()">shouldCalculateWeights</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><HR><A NAME="shouldDeliverOptimizationPerformance()"><!-- --></A><H3>shouldDeliverOptimizationPerformance</H3><PRE>public boolean <B>shouldDeliverOptimizationPerformance</B>()</PRE><DL><DD>Returns true it the user wants to deliver the performance of the original optimization problem. Since many learners are basically optimization procedures for a certain type of objective function the result of this procedure might also be of interest in some cases.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getEstimatedPerformance()"><!-- --></A><H3>getEstimatedPerformance</H3><PRE>public <A HREF="../../../../com/rapidminer/operator/performance/PerformanceVector.html" title="class in com.rapidminer.operator.performance">PerformanceVector</A> <B>getEstimatedPerformance</B>()

⌨️ 快捷键说明

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