📄 logitboost.html
字号:
<A NAME="numRunsTipText()"><!-- --></A><H3>numRunsTipText</H3><PRE>public java.lang.String <B>numRunsTipText</B>()</PRE><DL><DD>Returns the tip text for this property<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>tip text for this property suitable for displaying in the explorer/experimenter gui</DL></DD></DL><HR><A NAME="getNumRuns()"><!-- --></A><H3>getNumRuns</H3><PRE>public int <B>getNumRuns</B>()</PRE><DL><DD>Get the value of NumRuns.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of NumRuns.</DL></DD></DL><HR><A NAME="setNumRuns(int)"><!-- --></A><H3>setNumRuns</H3><PRE>public void <B>setNumRuns</B>(int newNumRuns)</PRE><DL><DD>Set the value of NumRuns.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newNumRuns</CODE> - Value to assign to NumRuns.</DL></DD></DL><HR><A NAME="numFoldsTipText()"><!-- --></A><H3>numFoldsTipText</H3><PRE>public java.lang.String <B>numFoldsTipText</B>()</PRE><DL><DD>Returns the tip text for this property<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>tip text for this property suitable for displaying in the explorer/experimenter gui</DL></DD></DL><HR><A NAME="getNumFolds()"><!-- --></A><H3>getNumFolds</H3><PRE>public int <B>getNumFolds</B>()</PRE><DL><DD>Get the value of NumFolds.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of NumFolds.</DL></DD></DL><HR><A NAME="setNumFolds(int)"><!-- --></A><H3>setNumFolds</H3><PRE>public void <B>setNumFolds</B>(int newNumFolds)</PRE><DL><DD>Set the value of NumFolds.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newNumFolds</CODE> - Value to assign to NumFolds.</DL></DD></DL><HR><A NAME="useResamplingTipText()"><!-- --></A><H3>useResamplingTipText</H3><PRE>public java.lang.String <B>useResamplingTipText</B>()</PRE><DL><DD>Returns the tip text for this property<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>tip text for this property suitable for displaying in the explorer/experimenter gui</DL></DD></DL><HR><A NAME="setUseResampling(boolean)"><!-- --></A><H3>setUseResampling</H3><PRE>public void <B>setUseResampling</B>(boolean r)</PRE><DL><DD>Set resampling mode<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>r</CODE> - true if resampling should be done</DL></DD></DL><HR><A NAME="getUseResampling()"><!-- --></A><H3>getUseResampling</H3><PRE>public boolean <B>getUseResampling</B>()</PRE><DL><DD>Get whether resampling is turned on<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if resampling output is on</DL></DD></DL><HR><A NAME="weightThresholdTipText()"><!-- --></A><H3>weightThresholdTipText</H3><PRE>public java.lang.String <B>weightThresholdTipText</B>()</PRE><DL><DD>Returns the tip text for this property<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>tip text for this property suitable for displaying in the explorer/experimenter gui</DL></DD></DL><HR><A NAME="setWeightThreshold(int)"><!-- --></A><H3>setWeightThreshold</H3><PRE>public void <B>setWeightThreshold</B>(int threshold)</PRE><DL><DD>Set weight thresholding<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>threshold</CODE> - the percentage of weight mass used for training</DL></DD></DL><HR><A NAME="getWeightThreshold()"><!-- --></A><H3>getWeightThreshold</H3><PRE>public int <B>getWeightThreshold</B>()</PRE><DL><DD>Get the degree of weight thresholding<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the percentage of weight mass used for training</DL></DD></DL><HR><A NAME="getCapabilities()"><!-- --></A><H3>getCapabilities</H3><PRE>public <A HREF="../../../weka/core/Capabilities.html" title="class in weka.core">Capabilities</A> <B>getCapabilities</B>()</PRE><DL><DD>Returns default capabilities of the classifier.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/core/CapabilitiesHandler.html#getCapabilities()">getCapabilities</A></CODE> in interface <CODE><A HREF="../../../weka/core/CapabilitiesHandler.html" title="interface in weka.core">CapabilitiesHandler</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/SingleClassifierEnhancer.html#getCapabilities()">getCapabilities</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/SingleClassifierEnhancer.html" title="class in weka.classifiers">SingleClassifierEnhancer</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the capabilities of this classifier<DT><B>See Also:</B><DD><A HREF="../../../weka/core/Capabilities.html" title="class in weka.core"><CODE>Capabilities</CODE></A></DL></DD></DL><HR><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> data) throws java.lang.Exception</PRE><DL><DD>Builds the boosted classifier<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/IteratedSingleClassifierEnhancer.html#buildClassifier(weka.core.Instances)">buildClassifier</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/IteratedSingleClassifierEnhancer.html" title="class in weka.classifiers">IteratedSingleClassifierEnhancer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - the data to train the classifier with<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if building fails, e.g., can't handle data</DL></DD></DL><HR><A NAME="classifiers()"><!-- --></A><H3>classifiers</H3><PRE>public <A HREF="../../../weka/classifiers/Classifier.html" title="class in weka.classifiers">Classifier</A>[][] <B>classifiers</B>()</PRE><DL><DD>Returns the array of classifiers that have been built.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the built classifiers</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> instance) throws java.lang.Exception</PRE><DL><DD>Calculates the class membership probabilities for the given test 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 be classified<DT><B>Returns:</B><DD>predicted class probability distribution<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if instance could not be classified successfully</DL></DD></DL><HR><A NAME="toSource(java.lang.String)"><!-- --></A><H3>toSource</H3><PRE>public java.lang.String <B>toSource</B>(java.lang.String className) throws java.lang.Exception</PRE><DL><DD>Returns the boosted model as Java source code.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/classifiers/Sourcable.html#toSource(java.lang.String)">toSource</A></CODE> in interface <CODE><A HREF="../../../weka/classifiers/Sourcable.html" title="interface in weka.classifiers">Sourcable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>className</CODE> - the classname in the generated code<DT><B>Returns:</B><DD>the tree as Java source code<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if something goes wrong</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Returns description of the boosted classifier.<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>description of the boosted classifier as a string</DL></DD></DL><HR><A NAME="main(java.lang.String[])"><!-- --></A><H3>main</H3><PRE>public static void <B>main</B>(java.lang.String[] argv)</PRE><DL><DD>Main method for testing this class.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>argv</CODE> - the options</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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../weka/classifiers/meta/GridSearch.html" title="class in weka.classifiers.meta"><B>PREV CLASS</B></A> <A HREF="../../../weka/classifiers/meta/MetaCost.html" title="class in weka.classifiers.meta"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?weka/classifiers/meta/LogitBoost.html" target="_top"><B>FRAMES</B></A> <A HREF="LogitBoost.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + -