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

📄 cvparameterselection.html

📁 数据挖掘的最常用工具。由于开源
💻 HTML
📖 第 1 页 / 共 3 页
字号:
                                 throws java.lang.Exception</PRE><DL><DD>Predicts the class distribution for the given test instance.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/Classifier.html#distributionForInstance(weka.core.Instance)">distributionForInstance</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/Classifier.html" title="class in weka.classifiers">Classifier</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>instance</CODE> - the instance to be classified<DT><B>Returns:</B><DD>the predicted class value<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an error occurred during the prediction</DL></DD></DL><HR><A NAME="addCVParameter(java.lang.String)"><!-- --></A><H3>addCVParameter</H3><PRE>public void <B>addCVParameter</B>(java.lang.String&nbsp;cvParam)                    throws java.lang.Exception</PRE><DL><DD>Adds a scheme parameter to the list of parameters to be set by cross-validation<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>cvParam</CODE> - the string representation of a scheme parameter. The format is: <br> param_char lower_bound upper_bound number_of_steps <br> eg to search a parameter -P from 1 to 10 by increments of 1: <br> P 1 10 11 <br><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the parameter specifier is of the wrong format</DL></DD></DL><HR><A NAME="getCVParameter(int)"><!-- --></A><H3>getCVParameter</H3><PRE>public java.lang.String <B>getCVParameter</B>(int&nbsp;index)</PRE><DL><DD>Gets the scheme paramter with the given index.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index for the parameter<DT><B>Returns:</B><DD>the scheme parameter</DL></DD></DL><HR><A NAME="CVParametersTipText()"><!-- --></A><H3>CVParametersTipText</H3><PRE>public java.lang.String <B>CVParametersTipText</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="getCVParameters()"><!-- --></A><H3>getCVParameters</H3><PRE>public java.lang.Object[] <B>getCVParameters</B>()</PRE><DL><DD>Get method for CVParameters.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the CVParameters</DL></DD></DL><HR><A NAME="setCVParameters(java.lang.Object[])"><!-- --></A><H3>setCVParameters</H3><PRE>public void <B>setCVParameters</B>(java.lang.Object[]&nbsp;params)                     throws java.lang.Exception</PRE><DL><DD>Set method for CVParameters.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>params</CODE> - the CVParameters to use<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the setting of the CVParameters fails</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>Gets the number of folds for the cross-validation.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of folds for the cross-validation</DL></DD></DL><HR><A NAME="setNumFolds(int)"><!-- --></A><H3>setNumFolds</H3><PRE>public void <B>setNumFolds</B>(int&nbsp;numFolds)                 throws java.lang.Exception</PRE><DL><DD>Sets the number of folds for the cross-validation.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>numFolds</CODE> - the number of folds for the cross-validation<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if parameter illegal</DL></DD></DL><HR><A NAME="graphType()"><!-- --></A><H3>graphType</H3><PRE>public int <B>graphType</B>()</PRE><DL><DD>Returns the type of graph this classifier  represents.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/core/Drawable.html#graphType()">graphType</A></CODE> in interface <CODE><A HREF="../../../weka/core/Drawable.html" title="interface in weka.core">Drawable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the type of graph this classifier represents</DL></DD></DL><HR><A NAME="graph()"><!-- --></A><H3>graph</H3><PRE>public java.lang.String <B>graph</B>()                       throws java.lang.Exception</PRE><DL><DD>Returns graph describing the classifier (if possible).<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/core/Drawable.html#graph()">graph</A></CODE> in interface <CODE><A HREF="../../../weka/core/Drawable.html" title="interface in weka.core">Drawable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the graph of the classifier in dotty format<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the classifier cannot be graphed</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Returns description of the cross-validated classifier.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>description of the cross-validated classifier as a string</DL></DD></DL><HR><A NAME="toSummaryString()"><!-- --></A><H3>toSummaryString</H3><PRE>public java.lang.String <B>toSummaryString</B>()</PRE><DL><DD>A concise description of the model.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/core/Summarizable.html#toSummaryString()">toSummaryString</A></CODE> in interface <CODE><A HREF="../../../weka/core/Summarizable.html" title="interface in weka.core">Summarizable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a concise description of the model</DL></DD></DL><HR><A NAME="getRevision()"><!-- --></A><H3>getRevision</H3><PRE>public java.lang.String <B>getRevision</B>()</PRE><DL><DD>Returns the revision string.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/core/RevisionHandler.html#getRevision()">getRevision</A></CODE> in interface <CODE><A HREF="../../../weka/core/RevisionHandler.html" title="interface in weka.core">RevisionHandler</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the revision</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;argv)</PRE><DL><DD>Main method for testing this class.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>argv</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=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/classifiers/meta/CostSensitiveClassifier.html" title="class in weka.classifiers.meta"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../weka/classifiers/meta/Dagging.html" title="class in weka.classifiers.meta"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?weka/classifiers/meta/CVParameterSelection.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="CVParameterSelection.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 + -