⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 logisticbase.html

📁 数据挖掘的最常用工具。由于开源
💻 HTML
📖 第 1 页 / 共 2 页
字号:
 stopping criterion on the training data).<DD><CODE>useCrossValidation</CODE> - cross-validate number of LogitBoost iterations (if false, use stopping  criterion on the training data).<DD><CODE>errorOnProbabilities</CODE> - if true, use error on probabilities  instead of misclassification for stopping criterion of LogitBoost</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="buildClassifier(weka.core.Instances)"><!-- --></A><H3>buildClassifier</H3><PRE>public void <B>buildClassifier</B>(<A HREF="../../../../weka/core/Instances.html" title="class in weka.core">Instances</A>&nbsp;data)                     throws java.lang.Exception</PRE><DL><DD>Builds the logistic regression model usiing LogitBoost.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/classifiers/Classifier.html#buildClassifier(weka.core.Instances)">buildClassifier</A></CODE> in class <CODE><A HREF="../../../../weka/classifiers/Classifier.html" title="class in weka.classifiers">Classifier</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - the training data<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if something goes wrong</DL></DD></DL><HR><A NAME="getUsedAttributes()"><!-- --></A><H3>getUsedAttributes</H3><PRE>public int[][] <B>getUsedAttributes</B>()</PRE><DL><DD>Returns an array of the indices of the attributes used in the logistic model. The first dimension is the class, the second dimension holds a list of attribute indices. Attribute indices start at zero.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the array of attribute indices</DL></DD></DL><HR><A NAME="getNumRegressions()"><!-- --></A><H3>getNumRegressions</H3><PRE>public int <B>getNumRegressions</B>()</PRE><DL><DD>The number of LogitBoost iterations performed (= the number of simple  regression functions fit).<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of LogitBoost iterations performed</DL></DD></DL><HR><A NAME="getWeightTrimBeta()"><!-- --></A><H3>getWeightTrimBeta</H3><PRE>public double <B>getWeightTrimBeta</B>()</PRE><DL><DD>Get the value of weightTrimBeta.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of weightTrimBeta.</DL></DD></DL><HR><A NAME="getUseAIC()"><!-- --></A><H3>getUseAIC</H3><PRE>public boolean <B>getUseAIC</B>()</PRE><DL><DD>Get the value of useAIC.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of useAIC.</DL></DD></DL><HR><A NAME="setMaxIterations(int)"><!-- --></A><H3>setMaxIterations</H3><PRE>public void <B>setMaxIterations</B>(int&nbsp;maxIterations)</PRE><DL><DD>Sets the parameter "maxIterations".<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>maxIterations</CODE> - the maximum iterations</DL></DD></DL><HR><A NAME="setHeuristicStop(int)"><!-- --></A><H3>setHeuristicStop</H3><PRE>public void <B>setHeuristicStop</B>(int&nbsp;heuristicStop)</PRE><DL><DD>Sets the option "heuristicStop".<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>heuristicStop</CODE> - the heuristic stop to use</DL></DD></DL><HR><A NAME="setWeightTrimBeta(double)"><!-- --></A><H3>setWeightTrimBeta</H3><PRE>public void <B>setWeightTrimBeta</B>(double&nbsp;w)</PRE><DL><DD>Sets the option "weightTrimBeta".<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setUseAIC(boolean)"><!-- --></A><H3>setUseAIC</H3><PRE>public void <B>setUseAIC</B>(boolean&nbsp;c)</PRE><DL><DD>Set the value of useAIC.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - Value to assign to useAIC.</DL></DD></DL><HR><A NAME="getMaxIterations()"><!-- --></A><H3>getMaxIterations</H3><PRE>public int <B>getMaxIterations</B>()</PRE><DL><DD>Returns the maxIterations parameter.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the maximum iteration</DL></DD></DL><HR><A NAME="percentAttributesUsed()"><!-- --></A><H3>percentAttributesUsed</H3><PRE>public double <B>percentAttributesUsed</B>()</PRE><DL><DD>Returns the fraction of all attributes in the data that are used in the  logistic model (in percent).  An attribute is used in the model if it is used in any of the models for  the different classes.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the fraction of all attributes that are used</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Returns a description of the logistic model (i.e., attributes and  coefficients).<P><DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the description of the model</DL></DD></DL><HR><A NAME="distributionForInstance(weka.core.Instance)"><!-- --></A><H3>distributionForInstance</H3><PRE>public double[] <B>distributionForInstance</B>(<A HREF="../../../../weka/core/Instance.html" title="class in weka.core">Instance</A>&nbsp;instance)                                 throws java.lang.Exception</PRE><DL><DD>Returns class probabilities for an instance.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../weka/classifiers/Classifier.html#distributionForInstance(weka.core.Instance)">distributionForInstance</A></CODE> in class <CODE><A HREF="../../../../weka/classifiers/Classifier.html" title="class in weka.classifiers">Classifier</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>instance</CODE> - the instance to compute the distribution for<DT><B>Returns:</B><DD>the class probabilities<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if distribution can't be computed successfully</DL></DD></DL><HR><A NAME="cleanup()"><!-- --></A><H3>cleanup</H3><PRE>public void <B>cleanup</B>()</PRE><DL><DD>Cleanup in order to save memory.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getRevision()"><!-- --></A><H3>getRevision</H3><PRE>public java.lang.String <B>getRevision</B>()</PRE><DL><DD>Returns the revision string.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/core/RevisionHandler.html#getRevision()">getRevision</A></CODE> in interface <CODE><A HREF="../../../../weka/core/RevisionHandler.html" title="interface in weka.core">RevisionHandler</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the revision</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="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> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../weka/classifiers/trees/lmt/LMTNode.html" title="class in weka.classifiers.trees.lmt"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../weka/classifiers/trees/lmt/ResidualModelSelection.html" title="class in weka.classifiers.trees.lmt"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?weka/classifiers/trees/lmt/LogisticBase.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="LogisticBase.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></BODY></HTML>

⌨️ 快捷键说明

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