rulemodel.html

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

HTML
528
字号
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/learner/rules/RuleModel.html#getPrediction(com.rapidminer.example.Example)">getPrediction</A></B>(<A HREF="../../../../../com/rapidminer/example/Example.html" title="class in com.rapidminer.example">Example</A>&nbsp;example)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../../com/rapidminer/report/Readable.html" title="interface in com.rapidminer.report">Readable</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/learner/rules/RuleModel.html#getReadable(int)">getReadable</A></B>(int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.util.List&lt;<A HREF="../../../../../com/rapidminer/operator/learner/rules/Rule.html" title="class in com.rapidminer.operator.learner.rules">Rule</A>&gt;</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/learner/rules/RuleModel.html#getRules()">getRules</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/learner/rules/RuleModel.html#predict(com.rapidminer.example.Example)">predict</A></B>(<A HREF="../../../../../com/rapidminer/example/Example.html" title="class in com.rapidminer.example">Example</A>&nbsp;example)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Applies the model to a single example and returns the predicted class value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/learner/rules/RuleModel.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_com.rapidminer.operator.learner.SimplePredictionModel"><!-- --></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.learner.<A HREF="../../../../../com/rapidminer/operator/learner/SimplePredictionModel.html" title="class in com.rapidminer.operator.learner">SimplePredictionModel</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../com/rapidminer/operator/learner/SimplePredictionModel.html#performPrediction(com.rapidminer.example.ExampleSet, com.rapidminer.example.Attribute)">performPrediction</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_com.rapidminer.operator.learner.PredictionModel"><!-- --></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.learner.<A HREF="../../../../../com/rapidminer/operator/learner/PredictionModel.html" title="class in com.rapidminer.operator.learner">PredictionModel</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../com/rapidminer/operator/learner/PredictionModel.html#apply(com.rapidminer.example.ExampleSet)">apply</A>, <A HREF="../../../../../com/rapidminer/operator/learner/PredictionModel.html#checkCompatibility(com.rapidminer.example.ExampleSet)">checkCompatibility</A>, <A HREF="../../../../../com/rapidminer/operator/learner/PredictionModel.html#copyPredictedLabel(com.rapidminer.example.ExampleSet, com.rapidminer.example.ExampleSet)">copyPredictedLabel</A>, <A HREF="../../../../../com/rapidminer/operator/learner/PredictionModel.html#createPredictedLabel(com.rapidminer.example.ExampleSet, com.rapidminer.example.Attribute)">createPredictedLabel</A>, <A HREF="../../../../../com/rapidminer/operator/learner/PredictionModel.html#getLabel()">getLabel</A>, <A HREF="../../../../../com/rapidminer/operator/learner/PredictionModel.html#removePredictedLabel(com.rapidminer.example.ExampleSet)">removePredictedLabel</A>, <A HREF="../../../../../com/rapidminer/operator/learner/PredictionModel.html#removePredictedLabel(com.rapidminer.example.ExampleSet, boolean, boolean)">removePredictedLabel</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_com.rapidminer.operator.AbstractModel"><!-- --></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/AbstractModel.html" title="class in com.rapidminer.operator">AbstractModel</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../com/rapidminer/operator/AbstractModel.html#getExtension()">getExtension</A>, <A HREF="../../../../../com/rapidminer/operator/AbstractModel.html#getFileDescription()">getFileDescription</A>, <A HREF="../../../../../com/rapidminer/operator/AbstractModel.html#getResultIcon()">getResultIcon</A>, <A HREF="../../../../../com/rapidminer/operator/AbstractModel.html#getTrainingHeader()">getTrainingHeader</A>, <A HREF="../../../../../com/rapidminer/operator/AbstractModel.html#isUpdatable()">isUpdatable</A>, <A HREF="../../../../../com/rapidminer/operator/AbstractModel.html#setParameter(java.lang.String, java.lang.Object)">setParameter</A>, <A HREF="../../../../../com/rapidminer/operator/AbstractModel.html#updateModel(com.rapidminer.example.ExampleSet)">updateModel</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_com.rapidminer.operator.ResultObjectAdapter"><!-- --></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/ResultObjectAdapter.html" title="class in com.rapidminer.operator">ResultObjectAdapter</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../com/rapidminer/operator/ResultObjectAdapter.html#addAction(javax.swing.Action)">addAction</A>, <A HREF="../../../../../com/rapidminer/operator/ResultObjectAdapter.html#getActions()">getActions</A>, <A HREF="../../../../../com/rapidminer/operator/ResultObjectAdapter.html#getVisualizationComponent(com.rapidminer.operator.IOContainer)">getVisualizationComponent</A>, <A HREF="../../../../../com/rapidminer/operator/ResultObjectAdapter.html#isSavable()">isSavable</A>, <A HREF="../../../../../com/rapidminer/operator/ResultObjectAdapter.html#log(java.lang.String)">log</A>, <A HREF="../../../../../com/rapidminer/operator/ResultObjectAdapter.html#logError(java.lang.String)">logError</A>, <A HREF="../../../../../com/rapidminer/operator/ResultObjectAdapter.html#logNote(java.lang.String)">logNote</A>, <A HREF="../../../../../com/rapidminer/operator/ResultObjectAdapter.html#logWarning(java.lang.String)">logWarning</A>, <A HREF="../../../../../com/rapidminer/operator/ResultObjectAdapter.html#readResolve()">readResolve</A>, <A HREF="../../../../../com/rapidminer/operator/ResultObjectAdapter.html#save(java.io.File)">save</A>, <A HREF="../../../../../com/rapidminer/operator/ResultObjectAdapter.html#toHTML(java.lang.String)">toHTML</A>, <A HREF="../../../../../com/rapidminer/operator/ResultObjectAdapter.html#toResultString()">toResultString</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_com.rapidminer.operator.AbstractIOObject"><!-- --></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/AbstractIOObject.html" title="class in com.rapidminer.operator">AbstractIOObject</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../com/rapidminer/operator/AbstractIOObject.html#copy()">copy</A>, <A HREF="../../../../../com/rapidminer/operator/AbstractIOObject.html#getLog()">getLog</A>, <A HREF="../../../../../com/rapidminer/operator/AbstractIOObject.html#getSource()">getSource</A>, <A HREF="../../../../../com/rapidminer/operator/AbstractIOObject.html#initWriting()">initWriting</A>, <A HREF="../../../../../com/rapidminer/operator/AbstractIOObject.html#read(java.io.InputStream)">read</A>, <A HREF="../../../../../com/rapidminer/operator/AbstractIOObject.html#setSource(java.lang.String)">setSource</A>, <A HREF="../../../../../com/rapidminer/operator/AbstractIOObject.html#setWorkingOperator(com.rapidminer.operator.Operator)">setWorkingOperator</A>, <A HREF="../../../../../com/rapidminer/operator/AbstractIOObject.html#write(java.io.OutputStream)">write</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.ResultObject"><!-- --></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.<A HREF="../../../../../com/rapidminer/operator/ResultObject.html" title="interface in com.rapidminer.operator">ResultObject</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../com/rapidminer/operator/ResultObject.html#getActions()">getActions</A>, <A HREF="../../../../../com/rapidminer/operator/ResultObject.html#getVisualizationComponent(com.rapidminer.operator.IOContainer)">getVisualizationComponent</A>, <A HREF="../../../../../com/rapidminer/operator/ResultObject.html#toResultString()">toResultString</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_com.rapidminer.operator.IOObject"><!-- --></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.<A HREF="../../../../../com/rapidminer/operator/IOObject.html" title="interface in com.rapidminer.operator">IOObject</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../com/rapidminer/operator/IOObject.html#copy()">copy</A>, <A HREF="../../../../../com/rapidminer/operator/IOObject.html#getLog()">getLog</A>, <A HREF="../../../../../com/rapidminer/operator/IOObject.html#getSource()">getSource</A>, <A HREF="../../../../../com/rapidminer/operator/IOObject.html#setSource(java.lang.String)">setSource</A>, <A HREF="../../../../../com/rapidminer/operator/IOObject.html#setWorkingOperator(com.rapidminer.operator.Operator)">setWorkingOperator</A>, <A HREF="../../../../../com/rapidminer/operator/IOObject.html#write(java.io.OutputStream)">write</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_com.rapidminer.operator.Saveable"><!-- --></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.<A HREF="../../../../../com/rapidminer/operator/Saveable.html" title="interface in com.rapidminer.operator">Saveable</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../com/rapidminer/operator/Saveable.html#isSavable()">isSavable</A>, <A HREF="../../../../../com/rapidminer/operator/Saveable.html#save(java.io.File)">save</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ========= 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="RuleModel(com.rapidminer.example.ExampleSet)"><!-- --></A><H3>RuleModel</H3><PRE>public <B>RuleModel</B>(<A HREF="../../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;exampleSet)</PRE><DL></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="getName()"><!-- --></A><H3>getName</H3><PRE>public java.lang.String <B>getName</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../../com/rapidminer/operator/AbstractModel.html#getName()">AbstractModel</A></CODE></B></DD><DD>The default implementation returns the result of the super class. If the string ends with   model, the substring &quot;model&quot; is removed.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/rapidminer/operator/ResultObject.html#getName()">getName</A></CODE> in interface <CODE><A HREF="../../../../../com/rapidminer/operator/ResultObject.html" title="interface in com.rapidminer.operator">ResultObject</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/rapidminer/operator/AbstractModel.html#getName()">getName</A></CODE> in class <CODE><A HREF="../../../../../com/rapidminer/operator/AbstractModel.html" title="class in com.rapidminer.operator">AbstractModel</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="predict(com.rapidminer.example.Example)"><!-- --></A><H3>predict</H3><PRE>

⌨️ 快捷键说明

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