bayboostmodel.html
来自「数据挖掘方面最新软件」· HTML 代码 · 共 622 行 · 第 1/3 页
HTML
622 行
<TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/learner/meta/BayBoostModel.html#getVisualizationComponent(com.rapidminer.operator.IOContainer)">getVisualizationComponent</A></B>(<A HREF="../../../../../com/rapidminer/operator/IOContainer.html" title="class in com.rapidminer.operator">IOContainer</A> container)</CODE><BR> Returns a editor pane that displays the <A HREF="../../../../../com/rapidminer/operator/ResultObjectAdapter.html#toResultString()"><CODE>ResultObjectAdapter.toResultString()</CODE></A> result encoded as html.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/learner/meta/BayBoostModel.html#performPrediction(com.rapidminer.example.ExampleSet, com.rapidminer.example.Attribute)">performPrediction</A></B>(<A HREF="../../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A> exampleSet, <A HREF="../../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A> predictedLabel)</CODE><BR> Iterates over all models and returns the class with maximum likelihood.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/learner/meta/BayBoostModel.html#setMaxModelNumber(int)">setMaxModelNumber</A></B>(int numModels)</CODE><BR> Using this setter with a positive value makes the model discard all but the specified number of base models.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/learner/meta/BayBoostModel.html#setParameter(java.lang.String, java.lang.String)">setParameter</A></B>(java.lang.String name, java.lang.String value)</CODE><BR> Setting the parameter <code>MAX_MODEL_NUMBER</code> allows to discard all but the first n models for specified n.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/learner/meta/BayBoostModel.html#toString()">toString</A></B>()</CODE><BR> </TD></TR></TABLE> <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> <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#getName()">getName</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> <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#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> <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> <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> <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#toResultString()">toResultString</A></CODE></TD></TR></TABLE> <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> <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> <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="BayBoostModel(com.rapidminer.example.ExampleSet, java.util.List, double[])"><!-- --></A><H3>BayBoostModel</H3><PRE>public <B>BayBoostModel</B>(<A HREF="../../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A> exampleSet, java.util.List<<A HREF="../../../../../com/rapidminer/operator/learner/meta/BayBoostBaseModelInfo.html" title="class in com.rapidminer.operator.learner.meta">BayBoostBaseModelInfo</A>> modelInfos, double[] priors)</PRE><DL><DL><DT><B>Parameters:</B><DD><CODE>exampleSet</CODE> - the example set used for training<DD><CODE>modelInfos</CODE> - a <code>List</code> of <code>Object[2]</code> arrays, each entry holding a model and a <code>double[][]</code> array containing weights for all prediction/label combinations.<DD><CODE>priors</CODE> - an array of the prior probabilities of labels</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="getBayBoostBaseModelInfo(int)"><!-- --></A><H3>getBayBoostBaseModelInfo</H3><PRE>public <A HREF="../../../../../com/rapidminer/operator/learner/meta/BayBoostBaseModelInfo.html" title="class in com.rapidminer.operator.learner.meta">BayBoostBaseModelInfo</A> <B>getBayBoostBaseModelInfo</B>(int index)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setParameter(java.lang.String, java.lang.String)"><!-- --></A><H3>setParameter</H3><PRE>public void <B>setParameter</B>(java.lang.String name, java.lang.String value) throws <A HREF="../../../../../com/rapidminer/operator/OperatorException.html" title="class in com.rapidminer.operator">OperatorException</A></PRE><DL><DD>Setting the parameter <code>MAX_MODEL_NUMBER</code> allows to discard all but the first n models for specified n. <code>CONV_TO_CRISP</code> allows to set another threshold than 0.5 for boolean prediction problems.<P><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="setMaxModelNumber(int)"><!-- --></A><H3>setMaxModelNumber</H3><PRE>public void <B>setMaxModelNumber</B>(int numModels)</PRE><DL><DD>Using this setter with a positive value makes the model discard all but the specified number of base models. A value of -1 turns off this option.<P><DD><DL></DL></DD></DL><HR><A NAME="getVisualizationComponent(com.rapidminer.operator.IOContainer)"><!-- --></A><H3>getVisualizationComponent</H3><PRE>public java.awt.Component <B>getVisualizationComponent</B>(<A HREF="../../../../../com/rapidminer/operator/IOContainer.html" title="class in com.rapidminer.operator">IOContainer</A> container)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../../com/rapidminer/operator/ResultObjectAdapter.html#getVisualizationComponent(com.rapidminer.operator.IOContainer)">ResultObjectAdapter</A></CODE></B></DD><DD>Returns a editor pane that displays the <A HREF="../../../../../com/rapidminer/operator/ResultObjectAdapter.html#toResultString()"><CODE>ResultObjectAdapter.toResultString()</CODE></A> result encoded as html. Please note that the returned pane is already enclosed by a scroll pane. If you overwrite this method you should again ensure that the returned component is scrollable. The given container is totally ignored.<P><DD><DL>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?