📄 crossvalidationresultproducer.html
字号:
<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/ResultProducer.html#getResultTypes()">getResultTypes</A></CODE> in interface <CODE><A HREF="../../weka/experiment/ResultProducer.html" title="interface in weka.experiment">ResultProducer</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array containing objects of the type of each column. The objects should be Strings, or Doubles.</DL></DD></DL><HR><A NAME="getCompatibilityState()"><!-- --></A><H3>getCompatibilityState</H3><PRE>public java.lang.String <B>getCompatibilityState</B>()</PRE><DL><DD>Gets a description of the internal settings of the result producer, sufficient for distinguishing a ResultProducer instance from another with different settings (ignoring those settings set through this interface). For example, a cross-validation ResultProducer may have a setting for the number of folds. For a given state, the results produced should be compatible. Typically if a ResultProducer is an OptionHandler, this string will represent the command line arguments required to set the ResultProducer to that state.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/experiment/ResultProducer.html#getCompatibilityState()">getCompatibilityState</A></CODE> in interface <CODE><A HREF="../../weka/experiment/ResultProducer.html" title="interface in weka.experiment">ResultProducer</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the description of the ResultProducer state, or null if no state is defined</DL></DD></DL><HR><A NAME="outputFileTipText()"><!-- --></A><H3>outputFileTipText</H3><PRE>public java.lang.String <B>outputFileTipText</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="getOutputFile()"><!-- --></A><H3>getOutputFile</H3><PRE>public java.io.File <B>getOutputFile</B>()</PRE><DL><DD>Get the value of OutputFile.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of OutputFile.</DL></DD></DL><HR><A NAME="setOutputFile(java.io.File)"><!-- --></A><H3>setOutputFile</H3><PRE>public void <B>setOutputFile</B>(java.io.File newOutputFile)</PRE><DL><DD>Set the value of OutputFile.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newOutputFile</CODE> - Value to assign to OutputFile.</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="rawOutputTipText()"><!-- --></A><H3>rawOutputTipText</H3><PRE>public java.lang.String <B>rawOutputTipText</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="getRawOutput()"><!-- --></A><H3>getRawOutput</H3><PRE>public boolean <B>getRawOutput</B>()</PRE><DL><DD>Get if raw split evaluator output is to be saved<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if raw split evalutor output is to be saved</DL></DD></DL><HR><A NAME="setRawOutput(boolean)"><!-- --></A><H3>setRawOutput</H3><PRE>public void <B>setRawOutput</B>(boolean d)</PRE><DL><DD>Set to true if raw split evaluator output is to be saved<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>d</CODE> - true if output is to be saved</DL></DD></DL><HR><A NAME="splitEvaluatorTipText()"><!-- --></A><H3>splitEvaluatorTipText</H3><PRE>public java.lang.String <B>splitEvaluatorTipText</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="getSplitEvaluator()"><!-- --></A><H3>getSplitEvaluator</H3><PRE>public <A HREF="../../weka/experiment/SplitEvaluator.html" title="interface in weka.experiment">SplitEvaluator</A> <B>getSplitEvaluator</B>()</PRE><DL><DD>Get the SplitEvaluator.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the SplitEvaluator.</DL></DD></DL><HR><A NAME="setSplitEvaluator(weka.experiment.SplitEvaluator)"><!-- --></A><H3>setSplitEvaluator</H3><PRE>public void <B>setSplitEvaluator</B>(<A HREF="../../weka/experiment/SplitEvaluator.html" title="interface in weka.experiment">SplitEvaluator</A> newSplitEvaluator)</PRE><DL><DD>Set the SplitEvaluator.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newSplitEvaluator</CODE> - new SplitEvaluator to use.</DL></DD></DL><HR><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. Valid options are:<p> -X num_folds <br> The number of folds to use for the cross-validation. <p> -D <br> Specify that raw split evaluator output is to be saved. <p> -O file/directory name <br> Specify the file or directory to which raw split evaluator output is to be saved. If a directory is specified, then each output string is saved as an individual gzip file. If a file is specified, then each output string is saved as an entry in a zip file. <p> -W classname <br> Specify the full class name of the split evaluator. <p> All option after -- will be passed to the split evaluator.<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 result producer.<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="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Gets a text descrption of the result producer.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a text description of the result producer.</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><DL></DL></DD><DD><DL></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=3 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="../../../Tutorial.pdf"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/index.html"><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/experiment/CostSensitiveClassifierSplitEvaluator.html" title="class in weka.experiment"><B>PREV CLASS</B></A> <A HREF="../../weka/experiment/CSVResultListener.html" title="class in weka.experiment"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="CrossValidationResultProducer.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <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 + -