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

📄 classifiersubseteval.html

📁 由java开发的软件包
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<DD>Set the file that contains hold out/test instances<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>h</CODE> - the hold out file</DL></DD></DL><HR><A NAME="useTrainingTipText()"><!-- --></A><H3>useTrainingTipText</H3><PRE>public java.lang.String <B>useTrainingTipText</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="getUseTraining()"><!-- --></A><H3>getUseTraining</H3><PRE>public boolean <B>getUseTraining</B>()</PRE><DL><DD>Get if training data is to be used instead of hold out/test data<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if training data is to be used instead of hold out data</DL></DD></DL><HR><A NAME="setUseTraining(boolean)"><!-- --></A><H3>setUseTraining</H3><PRE>public void <B>setUseTraining</B>(boolean&nbsp;t)</PRE><DL><DD>Set if training data is to be used instead of hold out/test data<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if training data is to be used instead of hold out data</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 ClassifierSubsetEval<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="buildEvaluator(weka.core.Instances)"><!-- --></A><H3>buildEvaluator</H3><PRE>public void <B>buildEvaluator</B>(<A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A>&nbsp;data)                    throws java.lang.Exception</PRE><DL><DD>Generates a attribute evaluator. Has to initialize all fields of the  evaluator that are not being set via options.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/attributeSelection/ASEvaluation.html#buildEvaluator(weka.core.Instances)">buildEvaluator</A></CODE> in class <CODE><A HREF="../../weka/attributeSelection/ASEvaluation.html" title="class in weka.attributeSelection">ASEvaluation</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - set of instances serving as training data<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the evaluator has not been  generated successfully</DL></DD></DL><HR><A NAME="evaluateSubset(java.util.BitSet)"><!-- --></A><H3>evaluateSubset</H3><PRE>public double <B>evaluateSubset</B>(java.util.BitSet&nbsp;subset)                      throws java.lang.Exception</PRE><DL><DD>Evaluates a subset of attributes<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/attributeSelection/SubsetEvaluator.html#evaluateSubset(java.util.BitSet)">evaluateSubset</A></CODE> in class <CODE><A HREF="../../weka/attributeSelection/SubsetEvaluator.html" title="class in weka.attributeSelection">SubsetEvaluator</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>subset</CODE> - a bitset representing the attribute subset to be  evaluated<DT><B>Returns:</B><DD>the "merit" of the subset<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the subset could not be evaluated</DL></DD></DL><HR><A NAME="evaluateSubset(java.util.BitSet, weka.core.Instances)"><!-- --></A><H3>evaluateSubset</H3><PRE>public double <B>evaluateSubset</B>(java.util.BitSet&nbsp;subset,                             <A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A>&nbsp;holdOut)                      throws java.lang.Exception</PRE><DL><DD>Evaluates a subset of attributes with respect to a set of instances. Calling this function overides any test/hold out instancs set from setHoldOutFile.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/attributeSelection/HoldOutSubsetEvaluator.html#evaluateSubset(java.util.BitSet, weka.core.Instances)">evaluateSubset</A></CODE> in class <CODE><A HREF="../../weka/attributeSelection/HoldOutSubsetEvaluator.html" title="class in weka.attributeSelection">HoldOutSubsetEvaluator</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>subset</CODE> - a bitset representing the attribute subset to be evaluated<DD><CODE>holdOut</CODE> - a set of instances (possibly seperate and distinct from those use to build/train the evaluator) with which to evaluate the merit of the subset<DT><B>Returns:</B><DD>the "merit" of the subset on the holdOut data<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the subset cannot be evaluated</DL></DD></DL><HR><A NAME="evaluateSubset(java.util.BitSet, weka.core.Instance, boolean)"><!-- --></A><H3>evaluateSubset</H3><PRE>public double <B>evaluateSubset</B>(java.util.BitSet&nbsp;subset,                             <A HREF="../../weka/core/Instance.html" title="class in weka.core">Instance</A>&nbsp;holdOut,                             boolean&nbsp;retrain)                      throws java.lang.Exception</PRE><DL><DD>Evaluates a subset of attributes with respect to a single instance. Calling this function overides any hold out/test instances set through setHoldOutFile.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/attributeSelection/HoldOutSubsetEvaluator.html#evaluateSubset(java.util.BitSet, weka.core.Instance, boolean)">evaluateSubset</A></CODE> in class <CODE><A HREF="../../weka/attributeSelection/HoldOutSubsetEvaluator.html" title="class in weka.attributeSelection">HoldOutSubsetEvaluator</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>subset</CODE> - a bitset representing the attribute subset to be evaluated<DD><CODE>holdOut</CODE> - a single instance (possibly not one of those used to build/train the evaluator) with which to evaluate the merit of the subset<DD><CODE>retrain</CODE> - true if the classifier should be retrained with respect to the new subset before testing on the holdOut instance.<DT><B>Returns:</B><DD>the "merit" of the subset on the holdOut instance<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the subset cannot be evaluated</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Returns a string describing classifierSubsetEval<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the description 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[]&nbsp;args)</PRE><DL><DD>Main method for testing this class.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>args</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=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>&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="../../../Tutorial.pdf"><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/index.html"><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/attributeSelection/ChiSquaredAttributeEval.html" title="class in weka.attributeSelection"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../weka/attributeSelection/ConsistencySubsetEval.html" title="class in weka.attributeSelection"><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>  &nbsp;&nbsp;<A HREF="ClassifierSubsetEval.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 + -