bayboostmodel.html

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

HTML
622 行
字号
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/rapidminer/operator/ResultObject.html#getVisualizationComponent(com.rapidminer.operator.IOContainer)">getVisualizationComponent</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/ResultObjectAdapter.html#getVisualizationComponent(com.rapidminer.operator.IOContainer)">getVisualizationComponent</A></CODE> in class <CODE><A HREF="../../../../../com/rapidminer/operator/ResultObjectAdapter.html" title="class in com.rapidminer.operator">ResultObjectAdapter</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/rapidminer/report/Readable.html#toString()">toString</A></CODE> in interface <CODE><A HREF="../../../../../com/rapidminer/report/Readable.html" title="interface in com.rapidminer.report">Readable</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/rapidminer/operator/learner/PredictionModel.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../../../../com/rapidminer/operator/learner/PredictionModel.html" title="class in com.rapidminer.operator.learner">PredictionModel</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a <code>String</code> representation of this boosting model.</DL></DD></DL><HR><A NAME="getNumberOfModels()"><!-- --></A><H3>getNumberOfModels</H3><PRE>public int <B>getNumberOfModels</B>()</PRE><DL><DD><DL><DT><B>Returns:</B><DD>the number of embedded models</DL></DD></DL><HR><A NAME="getPriors()"><!-- --></A><H3>getPriors</H3><PRE>public double[] <B>getPriors</B>()</PRE><DL><DD>Getter for the prior array<P><DD><DL></DL></DD></DL><HR><A NAME="getModel(int)"><!-- --></A><H3>getModel</H3><PRE>public <A HREF="../../../../../com/rapidminer/operator/Model.html" title="interface in com.rapidminer.operator">Model</A> <B>getModel</B>(int&nbsp;index)</PRE><DL><DD>Getter method for embedded models<P><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the number of a model part of this boost model<DT><B>Returns:</B><DD>binary or nominal decision model for the given classification         index.</DL></DD></DL><HR><A NAME="getContingencyMatrix(int)"><!-- --></A><H3>getContingencyMatrix</H3><PRE>public <A HREF="../../../../../com/rapidminer/operator/learner/meta/ContingencyMatrix.html" title="class in com.rapidminer.operator.learner.meta">ContingencyMatrix</A> <B>getContingencyMatrix</B>(int&nbsp;index)</PRE><DL><DD>Getter method for a specific confusion matrix<P><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the number of the model for which to read the confusion matrix<DT><B>Returns:</B><DD>a <code>ConfusionMatrix</code> object</DL></DD></DL><HR><A NAME="performPrediction(com.rapidminer.example.ExampleSet, com.rapidminer.example.Attribute)"><!-- --></A><H3>performPrediction</H3><PRE>public <A HREF="../../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A> <B>performPrediction</B>(<A HREF="../../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;exampleSet,                                    <A HREF="../../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A>&nbsp;predictedLabel)                             throws <A HREF="../../../../../com/rapidminer/operator/OperatorException.html" title="class in com.rapidminer.operator">OperatorException</A></PRE><DL><DD>Iterates over all models and returns the class with maximum likelihood.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/rapidminer/operator/learner/PredictionModel.html#performPrediction(com.rapidminer.example.ExampleSet, com.rapidminer.example.Attribute)">performPrediction</A></CODE> in class <CODE><A HREF="../../../../../com/rapidminer/operator/learner/PredictionModel.html" title="class in com.rapidminer.operator.learner">PredictionModel</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>exampleSet</CODE> - the set of examples to be classified<DD><CODE>predictedLabel</CODE> - the label that finally holds the predictions<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="adjustIntermediateProducts(double[], double[])"><!-- --></A><H3>adjustIntermediateProducts</H3><PRE>public static boolean <B>adjustIntermediateProducts</B>(double[]&nbsp;products,                                                 double[]&nbsp;liftFactors)</PRE><DL><DD>Helper method to adjust the intermediate products during model application.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>products</CODE> - the intermediate products, these values are changed by the            method<DD><CODE>liftFactors</CODE> - the factor vector that applies for the prediction for the            current example<DT><B>Returns:</B><DD><code>true</code> iff the class is deterministically known         after applying this method</DL></DD></DL><HR><A NAME="getModelWeights()"><!-- --></A><H3>getModelWeights</H3><PRE>public double[] <B>getModelWeights</B>()                         throws <A HREF="../../../../../com/rapidminer/operator/OperatorException.html" title="class in com.rapidminer.operator">OperatorException</A></PRE><DL><DD>This method is only supported for boolean target attributes. It computes a flattened version of model weights. In constrast to the original version the final predictions are additive logarithms of the lift ratios, additively rescaled so that the prediction <code>false</code> of model i produces <code>-i</code> if <code>true</code> produces weight i. This means that only one weight per model is required. The first component of the returned array is the part that is independent of any prediction, the i-th component is the weight of model i. The (log-)linear model predicts depending on whether the linear combination of predictions (either -1 or 1) is greater than 0 or not. Infinite values are problematic, so a min/max value is used.<P><DD><DL><DT><B>Returns:</B><DD>the flattened weights of all models<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><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" 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_bottom_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/BayBoostModel.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><a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=114160&amp;type=2" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../../com/rapidminer/operator/learner/meta/BayBoostBaseModelInfo.html" title="class in com.rapidminer.operator.learner.meta"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../../com/rapidminer/operator/learner/meta/BayBoostStream.html" title="class in com.rapidminer.operator.learner.meta"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../index.html?com/rapidminer/operator/learner/meta/BayBoostModel.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="BayBoostModel.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_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright &#169; 2001-2008 by <a href="http://rapid-i.com" target="_blank">Rapid-I</a></i></BODY></HTML>

⌨️ 快捷键说明

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