📄 checkestimator.html
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</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="CheckEstimator()"><!-- --></A><H3>CheckEstimator</H3><PRE>public <B>CheckEstimator</B>()</PRE><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="listOptions()"><!-- --></A><H3>listOptions</H3><PRE>public java.util.Enumeration <B>listOptions</B>()</PRE><DL><DD>Returns an enumeration describing the available options.<P><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" title="interface in weka.core">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. <!-- options-start --> Valid options are: <p/> <pre> -D Turn on debugging output.</pre> <pre> -S Silent mode - prints nothing to stdout.</pre> <pre> -N <num> The number of instances in the datasets (default 100).</pre> <pre> -W Full name of the estimator analysed. eg: weka.estimators.NormalEstimator</pre> <pre> Options specific to estimator weka.estimators.NormalEstimator: </pre> <pre> -D If set, estimator is run in debug mode and may output additional info to the console</pre> <!-- options-end --><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" title="interface in weka.core">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 CheckEstimator.<P><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" title="interface in weka.core">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="setPostProcessor(weka.estimators.CheckEstimator.PostProcessor)"><!-- --></A><H3>setPostProcessor</H3><PRE>public void <B>setPostProcessor</B>(<A HREF="../../weka/estimators/CheckEstimator.PostProcessor.html" title="class in weka.estimators">CheckEstimator.PostProcessor</A> value)</PRE><DL><DD>sets the PostProcessor to use<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the new PostProcessor<DT><B>See Also:</B><DD><A HREF="../../weka/estimators/CheckEstimator.html#m_PostProcessor"><CODE>m_PostProcessor</CODE></A></DL></DD></DL><HR><A NAME="getPostProcessor()"><!-- --></A><H3>getPostProcessor</H3><PRE>public <A HREF="../../weka/estimators/CheckEstimator.PostProcessor.html" title="class in weka.estimators">CheckEstimator.PostProcessor</A> <B>getPostProcessor</B>()</PRE><DL><DD>returns the current PostProcessor, can be null<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current PostProcessor</DL></DD></DL><HR><A NAME="hasClasspathProblems()"><!-- --></A><H3>hasClasspathProblems</H3><PRE>public boolean <B>hasClasspathProblems</B>()</PRE><DL><DD>returns TRUE if the estimator returned a "not in classpath" Exception<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if CLASSPATH problems occurred</DL></DD></DL><HR><A NAME="doTests()"><!-- --></A><H3>doTests</H3><PRE>public void <B>doTests</B>()</PRE><DL><DD>Begin the tests, reporting results to System.out<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setDebug(boolean)"><!-- --></A><H3>setDebug</H3><PRE>public void <B>setDebug</B>(boolean debug)</PRE><DL><DD>Set debugging mode<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>debug</CODE> - true if debug output should be printed</DL></DD></DL><HR><A NAME="getDebug()"><!-- --></A><H3>getDebug</H3><PRE>public boolean <B>getDebug</B>()</PRE><DL><DD>Get whether debugging is turned on<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if debugging output is on</DL></DD></DL><HR><A NAME="setSilent(boolean)"><!-- --></A><H3>setSilent</H3><PRE>public void <B>setSilent</B>(boolean value)</PRE><DL><DD>Set slient mode, i.e., no output at all to stdout<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - whether silent mode is active or not</DL></DD></DL><HR><A NAME="getSilent()"><!-- --></A><H3>getSilent</H3><PRE>public boolean <B>getSilent</B>()</PRE><DL><DD>Get whether silent mode is turned on<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if silent mode is on</DL></DD></DL><HR><A NAME="setNumInstances(int)"><!-- --></A><H3>setNumInstances</H3><PRE>public void <B>setNumInstances</B>(int value)</PRE><DL><DD>Sets the number of instances to use in the datasets (some estimators might require more instances).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the number of instances to use</DL></DD></DL><HR><A NAME="getNumInstances()"><!-- --></A><H3>getNumInstances</H3><PRE>public int <B>getNumInstances</B>()</PRE><DL><DD>Gets the current number of instances to use for the datasets.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of instances</DL></DD></DL><HR><A NAME="setEstimator(weka.estimators.Estimator)"><!-- --></A><H3>setEstimator</H3><PRE>public void <B>setEstimator</B>(<A HREF="../../weka/estimators/Estimator.html" title="class in weka.estimators">Estimator</A> newEstimator)</PRE><DL><DD>Set the estimator for boosting.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newEstimator</CODE> - the Estimator to use.</DL></DD></DL><HR><A NAME="getEstimator()"><!-- --></A><H3>getEstimator</H3><PRE>public <A HREF="../../weka/estimators/Estimator.html" title="class in weka.estimators">Estimator</A> <B>getEstimator</B>()</PRE><DL><DD>Get the estimator used as the estimator<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the estimator used as the estimator</DL></DD></DL><HR><A NAME="getMinMax(weka.core.Instances, int, double[])"><!-- --></A><H3>getMinMax</H3><PRE>public static int <B>getMinMax</B>(<A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A> inst, int attrIndex, double[] minMax) throws java.lang.Exception</PRE><DL><DD>Find the minimum and the maximum of the attribute and return it in the last parameter..<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>inst</CODE> - instances used to build the estimator<DD><CODE>attrIndex</CODE> - index of the attribute<DD><CODE>minMax</CODE> - the array to return minimum and maximum in<DT><B>Returns:</B><DD>number of not missing values<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if parameter minMax wasn't initialized properly</DL></DD></DL><HR><A NAME="main(java.lang.String[])"><!-- --></A><H3>main</H3><PRE>public static void <B>main</B>(java.lang.String[] args)</PRE><DL><DD>Test method for this class<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>args</CODE> - the commandline parameters</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"> PREV CLASS <A HREF="../../weka/estimators/CheckEstimator.AttrTypes.html" title="class in weka.estimators"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html?weka/estimators/CheckEstimator.html" target="_top"><B>FRAMES</B></A> <A HREF="CheckEstimator.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: <A HREF="#nested_class_summary">NESTED</A> | 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 + -