📄 gridsearch.html
字号:
</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[] options) throws java.lang.Exception</PRE><DL><DD>Parses the options for this object. <p/> <!-- options-start --> Valid options are: <p/> <pre> -E <CC|RMSE|RRSE|MAE|RAE|COMB|ACC> 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 <option> The Y option to test (without leading dash). (default: classifier.ridge)</pre> <pre> -y-min <num> The minimum for Y. (default: -10)</pre> <pre> -y-max <num> The maximum for Y. (default: +5)</pre> <pre> -y-step <num> The step size for Y. (default: 1)</pre> <pre> -y-base <num> The base for Y. (default: 10)</pre> <pre> -y-expression <expr> 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 <filter specification> 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 <option> The X option to test (without leading dash). (default: filter.numComponents)</pre> <pre> -x-min <num> The minimum for X. (default: +5)</pre> <pre> -x-max <num> The maximum for X. (default: +20)</pre> <pre> -x-step <num> The step size for X. (default: 1)</pre> <pre> -x-base <num> The base for X. (default: 10)</pre> <pre> -x-expression <expr> 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 <num> The maximum number of grid extensions (-1 is unlimited). (default: 3)</pre> <pre> -sample-size <num> The size (in percent) of the sample to search the inital grid with. (default: 100)</pre> <pre> -traversal <ROW-WISE|COLUMN-WISE> The type of traversal for the grid. (default: COLUMN-WISE)</pre> <pre> -log-file <filename> The log file to log the messages to. (default: none)</pre> <pre> -S <num> 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 <number of selection method> 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 <double> 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 <num> 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 <SIMPLS|PLS1> The algorithm to use. (default: PLS1)</pre> <pre> -P <none|center|standardize> 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> newClassifier)</PRE><DL><DD>Set the base learner.<P><DD><DL
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -