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

📄 evaluationutils.html

📁 这是一个由java实现的数据挖掘
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TABLE>&nbsp;<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, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= 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="EvaluationUtils()"><!-- --></A><H3>EvaluationUtils</H3><PRE>public <B>EvaluationUtils</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="setSeed(int)"><!-- --></A><H3>setSeed</H3><PRE>public void <B>setSeed</B>(int&nbsp;seed)</PRE><DL><DD>Sets the seed for randomization during cross-validation</DL><HR><A NAME="getSeed()"><!-- --></A><H3>getSeed</H3><PRE>public int <B>getSeed</B>()</PRE><DL><DD>Gets the seed for randomization during cross-validation</DL><HR><A NAME="getCVPredictions(weka.classifiers.DistributionClassifier, weka.core.Instances, int)"><!-- --></A><H3>getCVPredictions</H3><PRE>public <A HREF="../../../weka/core/FastVector.html">FastVector</A> <B>getCVPredictions</B>(<A HREF="../../../weka/classifiers/DistributionClassifier.html">DistributionClassifier</A>&nbsp;classifier,                                   <A HREF="../../../weka/core/Instances.html">Instances</A>&nbsp;data,                                   int&nbsp;numFolds)                            throws java.lang.Exception</PRE><DL><DD>Generate a bunch of predictions ready for processing, by performing a cross-validation on the supplied dataset.<DD><DL><DT><B>Parameters:</B><DD><CODE>classifier</CODE> - the DistributionClassifier to evaluate<DD><CODE>data</CODE> - the dataset<DD><CODE>numFolds</CODE> - the number of folds in the cross-validation.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an error occurs</DL></DD></DL><HR><A NAME="getTrainTestPredictions(weka.classifiers.DistributionClassifier, weka.core.Instances, weka.core.Instances)"><!-- --></A><H3>getTrainTestPredictions</H3><PRE>public <A HREF="../../../weka/core/FastVector.html">FastVector</A> <B>getTrainTestPredictions</B>(<A HREF="../../../weka/classifiers/DistributionClassifier.html">DistributionClassifier</A>&nbsp;classifier,                                          <A HREF="../../../weka/core/Instances.html">Instances</A>&nbsp;train,                                          <A HREF="../../../weka/core/Instances.html">Instances</A>&nbsp;test)                                   throws java.lang.Exception</PRE><DL><DD>Generate a bunch of predictions ready for processing, by performing a evaluation on a test set after training on the given training set.<DD><DL><DT><B>Parameters:</B><DD><CODE>classifier</CODE> - the DistributionClassifier to evaluate<DD><CODE>train</CODE> - the training dataset<DD><CODE>test</CODE> - the test dataset<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an error occurs</DL></DD></DL><HR><A NAME="getTestPredictions(weka.classifiers.DistributionClassifier, weka.core.Instances)"><!-- --></A><H3>getTestPredictions</H3><PRE>public <A HREF="../../../weka/core/FastVector.html">FastVector</A> <B>getTestPredictions</B>(<A HREF="../../../weka/classifiers/DistributionClassifier.html">DistributionClassifier</A>&nbsp;classifier,                                     <A HREF="../../../weka/core/Instances.html">Instances</A>&nbsp;test)                              throws java.lang.Exception</PRE><DL><DD>Generate a bunch of predictions ready for processing, by performing a evaluation on a test set assuming the classifier is already trained.<DD><DL><DT><B>Parameters:</B><DD><CODE>classifier</CODE> - the pre-trained DistributionClassifier to evaluate<DD><CODE>test</CODE> - the test dataset<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an error occurs</DL></DD></DL><HR><A NAME="getPrediction(weka.classifiers.DistributionClassifier, weka.core.Instance)"><!-- --></A><H3>getPrediction</H3><PRE>public <A HREF="../../../weka/classifiers/evaluation/Prediction.html">Prediction</A> <B>getPrediction</B>(<A HREF="../../../weka/classifiers/DistributionClassifier.html">DistributionClassifier</A>&nbsp;classifier,                                <A HREF="../../../weka/core/Instance.html">Instance</A>&nbsp;test)                         throws java.lang.Exception</PRE><DL><DD>Generate a single prediction for a test instance given the pre-trained classifier.<DD><DL><DT><B>Parameters:</B><DD><CODE>classifier</CODE> - the pre-trained DistributionClassifier to evaluate<DD><CODE>test</CODE> - the test instance<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an error occurs</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <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>  </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/classifiers/evaluation/CostCurve.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../weka/classifiers/evaluation/MarginCurve.html"><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="EvaluationUtils.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&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><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -