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

📄 splitevaluator.html

📁 weka是机器学习和数据挖掘领域最有影响力的开源项目之一
💻 HTML
📖 第 1 页 / 共 2 页
字号:
void <B>setAdditionalMeasures</B>(java.lang.String[]&nbsp;additionalMeasures)</PRE><DL><DD>Sets a list of method names for additional measures to look for in SplitEvaluators.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>additionalMeasures</CODE> - a list of method names</DL></DD></DL><HR><A NAME="getKeyNames()"><!-- --></A><H3>getKeyNames</H3><PRE>java.lang.String[] <B>getKeyNames</B>()</PRE><DL><DD>Gets the names of each of the key columns produced for a single run. The names should not contain spaces (use '_' instead for easy  translation.) The number of key fields must be constant for a given  SplitEvaluator.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array containing the name of each key column</DL></DD></DL><HR><A NAME="getKeyTypes()"><!-- --></A><H3>getKeyTypes</H3><PRE>java.lang.Object[] <B>getKeyTypes</B>()</PRE><DL><DD>Gets the data types of each of the key columns produced for a single run. The number of key fields must be constant for a given SplitEvaluator.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array containing objects of the type of each key column. The  objects should be Strings, or Doubles.</DL></DD></DL><HR><A NAME="getResultNames()"><!-- --></A><H3>getResultNames</H3><PRE>java.lang.String[] <B>getResultNames</B>()</PRE><DL><DD>Gets the names of each of the result columns produced for a single run. The names should not contain spaces (use '_' instead for easy  translation.) The number of result fields must be constant for a given SplitEvaluator.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array containing the name of each result column</DL></DD></DL><HR><A NAME="getResultTypes()"><!-- --></A><H3>getResultTypes</H3><PRE>java.lang.Object[] <B>getResultTypes</B>()</PRE><DL><DD>Gets the data types of each of the result columns produced for a  single run. The number of result fields must be constant for a given SplitEvaluator.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array containing objects of the type of each result column.  The objects should be Strings, or Doubles.</DL></DD></DL><HR><A NAME="getKey()"><!-- --></A><H3>getKey</H3><PRE>java.lang.Object[] <B>getKey</B>()</PRE><DL><DD>Gets the key describing the current SplitEvaluator. For example This may contain the name of the classifier used for classifier predictive evaluation. The number of key fields must be constant for a given SplitEvaluator.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a value of type 'Object'</DL></DD></DL><HR><A NAME="getResult(weka.core.Instances, weka.core.Instances)"><!-- --></A><H3>getResult</H3><PRE>java.lang.Object[] <B>getResult</B>(<A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A>&nbsp;train,                             <A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A>&nbsp;test)                             throws java.lang.Exception</PRE><DL><DD>Gets the results for the supplied train and test datasets.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>train</CODE> - the training Instances.<DD><CODE>test</CODE> - the testing Instances.<DT><B>Returns:</B><DD>the results stored in an array. The objects stored in the array may be Strings, Doubles, or null (for the missing value).<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if a problem occurs while getting the results</DL></DD></DL><HR><A NAME="getRawResultOutput()"><!-- --></A><H3>getRawResultOutput</H3><PRE>java.lang.String <B>getRawResultOutput</B>()</PRE><DL><DD>Returns the raw output for the most recent call to getResult. Useful for debugging splitEvaluators.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the raw output corresponding to the most recent call to getResut</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>&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="../../help-doc.html"><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/" target="_blank"><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/experiment/ResultProducer.html" title="interface in weka.experiment"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../weka/experiment/Stats.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?weka/experiment/SplitEvaluator.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="SplitEvaluator.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;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&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 + -