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

📄 gridsearch.html

📁 weka是机器学习和数据挖掘领域最有影响力的开源项目之一
💻 HTML
📖 第 1 页 / 共 5 页
字号:
</DL><HR><A NAME="TAGS_TRAVERSAL"><!-- --></A><H3>TAGS_TRAVERSAL</H3><PRE>public static final <A HREF="../../../weka/core/Tag.html" title="class in weka.core">Tag</A>[] <B>TAGS_TRAVERSAL</B></PRE><DL><DD>traversal<P><DL></DL></DL><HR><A NAME="PREFIX_CLASSIFIER"><!-- --></A><H3>PREFIX_CLASSIFIER</H3><PRE>public static final java.lang.String <B>PREFIX_CLASSIFIER</B></PRE><DL><DD>the prefix to indicate that the option is for the classifier<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.classifiers.meta.GridSearch.PREFIX_CLASSIFIER">Constant Field Values</A></DL></DL><HR><A NAME="PREFIX_FILTER"><!-- --></A><H3>PREFIX_FILTER</H3><PRE>public static final java.lang.String <B>PREFIX_FILTER</B></PRE><DL><DD>the prefix to indicate that the option is for the filter<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.classifiers.meta.GridSearch.PREFIX_FILTER">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="GridSearch()"><!-- --></A><H3>GridSearch</H3><PRE>public <B>GridSearch</B>()</PRE><DL><DD>the default constructor<P></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="globalInfo()"><!-- --></A><H3>globalInfo</H3><PRE>public java.lang.String <B>globalInfo</B>()</PRE><DL><DD>Returns a string describing classifier<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a description suitable for displaying in the         explorer/experimenter gui</DL></DD></DL><HR><A NAME="listOptions()"><!-- --></A><H3>listOptions</H3><PRE>public java.util.Enumeration <B>listOptions</B>()</PRE><DL><DD>Gets 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><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/RandomizableSingleClassifierEnhancer.html#listOptions()">listOptions</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/RandomizableSingleClassifierEnhancer.html" title="class in weka.classifiers">RandomizableSingleClassifierEnhancer</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an enumeration of all the available options.</DL></DD></DL><HR><A NAME="getOptions()"><!-- --></A><H3>getOptions</H3><PRE>public java.lang.String[] <B>getOptions</B>()</PRE><DL><DD>returns the options of the current setup<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><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/RandomizableSingleClassifierEnhancer.html#getOptions()">getOptions</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/RandomizableSingleClassifierEnhancer.html" title="class in weka.classifiers">RandomizableSingleClassifierEnhancer</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current options</DL></DD></DL><HR><A NAME="setOptions(java.lang.String[])"><!-- --></A><H3>setOptions</H3><PRE>public void <B>setOptions</B>(java.lang.String[]&nbsp;options)                throws java.lang.Exception</PRE><DL><DD>Parses the options for this object. <p/>   <!-- options-start --> Valid options are: <p/>  <pre> -E &lt;CC|RMSE|RRSE|MAE|RAE|COMB|ACC&gt;  Determines the parameter used for evaluation:  CC = Correlation coefficient  RMSE = Root mean squared error  RRSE = Root relative squared error  MAE = Mean absolute error  RAE = Root absolute error  COMB = Combined = (1-abs(CC)) + RRSE + RAE  ACC = Accuracy  (default: CC)</pre>  <pre> -y-property &lt;option&gt;  The Y option to test (without leading dash).  (default: classifier.ridge)</pre>  <pre> -y-min &lt;num&gt;  The minimum for Y.  (default: -10)</pre>  <pre> -y-max &lt;num&gt;  The maximum for Y.  (default: +5)</pre>  <pre> -y-step &lt;num&gt;  The step size for Y.  (default: 1)</pre>  <pre> -y-base &lt;num&gt;  The base for Y.  (default: 10)</pre>  <pre> -y-expression &lt;expr&gt;  The expression for Y.  Available parameters:   BASE   FROM   TO   STEP   I - the current iteration value   (from 'FROM' to 'TO' with stepsize 'STEP')  (default: 'pow(BASE,I)')</pre>  <pre> -filter &lt;filter specification&gt;  The filter to use (on X axis). Full classname of filter to include,   followed by scheme options.  (default: weka.filters.supervised.attribute.PLSFilter)</pre>  <pre> -x-property &lt;option&gt;  The X option to test (without leading dash).  (default: filter.numComponents)</pre>  <pre> -x-min &lt;num&gt;  The minimum for X.  (default: +5)</pre>  <pre> -x-max &lt;num&gt;  The maximum for X.  (default: +20)</pre>  <pre> -x-step &lt;num&gt;  The step size for X.  (default: 1)</pre>  <pre> -x-base &lt;num&gt;  The base for X.  (default: 10)</pre>  <pre> -x-expression &lt;expr&gt;  The expression for the X value.  Available parameters:   BASE   MIN   MAX   STEP   I - the current iteration value   (from 'FROM' to 'TO' with stepsize 'STEP')  (default: 'pow(BASE,I)')</pre>  <pre> -extend-grid  Whether the grid can be extended.  (default: no)</pre>  <pre> -max-grid-extensions &lt;num&gt;  The maximum number of grid extensions (-1 is unlimited).  (default: 3)</pre>  <pre> -sample-size &lt;num&gt;  The size (in percent) of the sample to search the inital grid with.  (default: 100)</pre>  <pre> -traversal &lt;ROW-WISE|COLUMN-WISE&gt;  The type of traversal for the grid.  (default: COLUMN-WISE)</pre>  <pre> -log-file &lt;filename&gt;  The log file to log the messages to.  (default: none)</pre>  <pre> -S &lt;num&gt;  Random number seed.  (default 1)</pre>  <pre> -D  If set, classifier is run in debug mode and  may output additional info to the console</pre>  <pre> -W  Full name of base classifier.  (default: weka.classifiers.functions.LinearRegression)</pre>  <pre>  Options specific to classifier weka.classifiers.functions.LinearRegression: </pre>  <pre> -D  Produce debugging output.  (default no debugging output)</pre>  <pre> -S &lt;number of selection method&gt;  Set the attribute selection method to use. 1 = None, 2 = Greedy.  (default 0 = M5' method)</pre>  <pre> -C  Do not try to eliminate colinear attributes. </pre>  <pre> -R &lt;double&gt;  Set ridge parameter (default 1.0e-8). </pre>  <pre>  Options specific to filter weka.filters.supervised.attribute.PLSFilter ('-filter'): </pre>  <pre> -D  Turns on output of debugging information.</pre>  <pre> -C &lt;num&gt;  The number of components to compute.  (default: 20)</pre>  <pre> -U  Updates the class attribute as well.  (default: off)</pre>  <pre> -M  Turns replacing of missing values on.  (default: off)</pre>  <pre> -A &lt;SIMPLS|PLS1&gt;  The algorithm to use.  (default: PLS1)</pre>  <pre> -P &lt;none|center|standardize&gt;  The type of preprocessing that is applied to the data.  (default: center)</pre>    <!-- options-end --><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><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/RandomizableSingleClassifierEnhancer.html#setOptions(java.lang.String[])">setOptions</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/RandomizableSingleClassifierEnhancer.html" title="class in weka.classifiers">RandomizableSingleClassifierEnhancer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>options</CODE> - the options to use<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if setting of options fails</DL></DD></DL><HR><A NAME="setClassifier(weka.classifiers.Classifier)"><!-- --></A><H3>setClassifier</H3><PRE>public void <B>setClassifier</B>(<A HREF="../../../weka/classifiers/Classifier.html" title="class in weka.classifiers">Classifier</A>&nbsp;newClassifier)</PRE><DL><DD>Set the base learner.<P><DD><DL

⌨️ 快捷键说明

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