📄 bvdecompose.html
字号:
<BR> Gets the maximum number of boost iterations</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/classifiers/BVDecompose.html#getTrainPoolSize()">getTrainPoolSize</A></B>()</CODE><BR> Get the number of instances in the training pool.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/classifiers/BVDecompose.html#getVariance()">getVariance</A></B>()</CODE><BR> Get the calculated variance</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.Enumeration</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/classifiers/BVDecompose.html#listOptions()">listOptions</A></B>()</CODE><BR> Returns an enumeration describing the available options</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/classifiers/BVDecompose.html#main(java.lang.String[])">main</A></B>(java.lang.String[] args)</CODE><BR> Test method for this class</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="../../weka/classifiers/BVDecompose.html#setClassifier(weka.classifiers.Classifier)">setClassifier</A></B>(<A HREF="../../weka/classifiers/Classifier.html">Classifier</A> newClassifier)</CODE><BR> Set the classifiers being analysed</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="../../weka/classifiers/BVDecompose.html#setClassIndex(int)">setClassIndex</A></B>(int classIndex)</CODE><BR> Sets index of attribute to discretize on</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="../../weka/classifiers/BVDecompose.html#setDataFileName(java.lang.String)">setDataFileName</A></B>(java.lang.String dataFileName)</CODE><BR> Sets the maximum number of boost iterations</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="../../weka/classifiers/BVDecompose.html#setDebug(boolean)">setDebug</A></B>(boolean debug)</CODE><BR> Sets debugging mode</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="../../weka/classifiers/BVDecompose.html#setOptions(java.lang.String[])">setOptions</A></B>(java.lang.String[] options)</CODE><BR> Parses a given list of options.</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="../../weka/classifiers/BVDecompose.html#setSeed(int)">setSeed</A></B>(int seed)</CODE><BR> Sets the random number seed</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="../../weka/classifiers/BVDecompose.html#setTrainIterations(int)">setTrainIterations</A></B>(int trainIterations)</CODE><BR> Sets the maximum number of boost iterations</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="../../weka/classifiers/BVDecompose.html#setTrainPoolSize(int)">setTrainPoolSize</A></B>(int numTrain)</CODE><BR> Set the number of instances in the training pool.</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="../../weka/classifiers/BVDecompose.html#toString()">toString</A></B>()</CODE><BR> Returns description of the bias-variance decomposition results.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="m_Debug"><!-- --></A><H3>m_Debug</H3><PRE>protected boolean <B>m_Debug</B></PRE><DL><DD>Debugging mode, gives extra output if true</DL><HR><A NAME="m_Classifier"><!-- --></A><H3>m_Classifier</H3><PRE>protected <A HREF="../../weka/classifiers/Classifier.html">Classifier</A> <B>m_Classifier</B></PRE><DL><DD>An instantiated base classifier used for getting and testing options.</DL><HR><A NAME="m_ClassifierOptions"><!-- --></A><H3>m_ClassifierOptions</H3><PRE>protected java.lang.String[] <B>m_ClassifierOptions</B></PRE><DL><DD>The options to be passed to the base classifier.</DL><HR><A NAME="m_TrainIterations"><!-- --></A><H3>m_TrainIterations</H3><PRE>protected int <B>m_TrainIterations</B></PRE><DL><DD>The number of train iterations</DL><HR><A NAME="m_DataFileName"><!-- --></A><H3>m_DataFileName</H3><PRE>protected java.lang.String <B>m_DataFileName</B></PRE><DL><DD>The name of the data file used for the decomposition</DL><HR><A NAME="m_ClassIndex"><!-- --></A><H3>m_ClassIndex</H3><PRE>protected int <B>m_ClassIndex</B></PRE><DL><DD>The index of the class attribute</DL><HR><A NAME="m_Seed"><!-- --></A><H3>m_Seed</H3><PRE>protected int <B>m_Seed</B></PRE><DL><DD>The random number seed</DL><HR><A NAME="m_Bias"><!-- --></A><H3>m_Bias</H3><PRE>protected double <B>m_Bias</B></PRE><DL><DD>The calculated bias (squared)</DL><HR><A NAME="m_Variance"><!-- --></A><H3>m_Variance</H3><PRE>protected double <B>m_Variance</B></PRE><DL><DD>The calculated variance</DL><HR><A NAME="m_Sigma"><!-- --></A><H3>m_Sigma</H3><PRE>protected double <B>m_Sigma</B></PRE><DL><DD>The calculated sigma (squared)</DL><HR><A NAME="m_Error"><!-- --></A><H3>m_Error</H3><PRE>protected double <B>m_Error</B></PRE><DL><DD>The error rate</DL><HR><A NAME="m_TrainPoolSize"><!-- --></A><H3>m_TrainPoolSize</H3><PRE>protected int <B>m_TrainPoolSize</B></PRE><DL><DD>The number of instances used in the training pool</DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="BVDecompose()"><!-- --></A><H3>BVDecompose</H3><PRE>public <B>BVDecompose</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="listOptions()"><!-- --></A><H3>listOptions</H3><PRE>public java.util.Enumeration <B>listOptions</B>()</PRE><DL><DD>Returns an enumeration describing the available options<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../weka/core/OptionHandler.html#listOptions()">listOptions</A></CODE> in interface <CODE><A HREF="../../weka/core/OptionHandler.html">OptionHandler</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an enumeration of all the available options</DL></DD></DL><HR><A NAME="setOptions(java.lang.String[])"><!-- --></A><H3>setOptions</H3><PRE>public void <B>setOptions</B>(java.lang.String[] options) throws java.lang.Exception</PRE><DL><DD>Parses a given list of options. Valid options are:<p> -D <br> Turn on debugging output.<p> -W classname <br> Specify the full class name of a learner to perform the decomposition on (required).<p> -t filename <br> Set the arff file to use for the decomposition (required).<p> -T num <br> Specify the number of instances in the training pool (default 100).<p> -c num <br> Specify the index of the class attribute (default last).<p> -x num <br> Set the number of train iterations (default 50). <p> -s num <br> Set the seed for the dataset randomisation (default 1). <p> Options after -- are passed to the designated sub-learner. <p><DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../weka/core/OptionHandler.html#setOptions(java.lang.String[])">setOptions</A></CODE> in interface <CODE><A HREF="../../weka/core/OptionHandler.html">OptionHandler</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>options</CODE> - the list of options as an array of strings<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an option is not supported</DL></DD></DL><HR><A NAME="getOptions()"><!-- --></A><H3>getOptions</H3><PRE>public java.lang.String[] <B>getOptions</B>()</PRE><DL><DD>Gets the current settings of the CheckClassifier.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../weka/core/OptionHandler.html#getOptions()">getOptions</A></CODE> in interface <CODE><A HREF="../../weka/core/OptionHandler.html">OptionHandler</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array of strings suitable for passing to setOptions</DL></DD></DL><HR><A NAME="getTrainPoolSize()"><!-- --></A><H3>getTrainPoolSize</H3><PRE>public int <B>getTrainPoolSize</B>()</PRE><DL><DD>Get the number of instances in the training pool.<DD><DL></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -