📄 multilayerperceptron.html
字号:
</DD><DD><DL><DT><B>Returns:</B><DD>an enumeration of all the available 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 a given list of options. <p/> <!-- options-start --> Valid options are: <p/> <pre> -L <learning rate> Learning Rate for the backpropagation algorithm. (Value should be between 0 - 1, Default = 0.3).</pre> <pre> -M <momentum> Momentum Rate for the backpropagation algorithm. (Value should be between 0 - 1, Default = 0.2).</pre> <pre> -N <number of epochs> Number of epochs to train through. (Default = 500).</pre> <pre> -V <percentage size of validation set> Percentage size of validation set to use to terminate training (if this is non zero it can pre-empt num of epochs. (Value should be between 0 - 100, Default = 0).</pre> <pre> -S <seed> The value used to seed the random number generator (Value should be >= 0 and and a long, Default = 0).</pre> <pre> -E <threshold for number of consequetive errors> The consequetive number of errors allowed for validation testing before the netwrok terminates. (Value should be > 0, Default = 20).</pre> <pre> -G GUI will be opened. (Use this to bring up a GUI).</pre> <pre> -A Autocreation of the network connections will NOT be done. (This will be ignored if -G is NOT set)</pre> <pre> -B A NominalToBinary filter will NOT automatically be used. (Set this to not use a NominalToBinary filter).</pre> <pre> -H <comma seperated numbers for nodes on each layer> The hidden layers to be created for the network. (Value should be a list of comma separated Natural numbers or the letters 'a' = (attribs + classes) / 2, 'i' = attribs, 'o' = classes, 't' = attribs .+ classes) for wildcard values, Default = a).</pre> <pre> -C Normalizing a numeric class will NOT be done. (Set this to not normalize the class if it's numeric).</pre> <pre> -I Normalizing the attributes will NOT be done. (Set this to not normalize the attributes).</pre> <pre> -R Reseting the network will NOT be allowed. (Set this to not allow the network to reset).</pre> <pre> -D Learning rate decay will occur. (Set this to cause the learning rate to decay).</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/Classifier.html#setOptions(java.lang.String[])">setOptions</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>options</CODE> - the list of options as an array of strings<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an option is not supported</DL></DD></DL><HR><A NAME="getOptions()"><!-- --></A><H3>getOptions</H3><PRE>public java.lang.String[] <B>getOptions</B>()</PRE><DL><DD>Gets the current settings of NeuralNet.<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/Classifier.html#getOptions()">getOptions</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>Returns:</B><DD>an array of strings suitable for passing to setOptions()</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><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>string describing the model.</DL></DD></DL><HR><A NAME="globalInfo()"><!-- --></A><H3>globalInfo</H3><PRE>public java.lang.String <B>globalInfo</B>()</PRE><DL><DD>This will return a string describing the classifier.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The string.</DL></DD></DL><HR><A NAME="learningRateTipText()"><!-- --></A><H3>learningRateTipText</H3><PRE>public java.lang.String <B>learningRateTipText</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string to describe the learning rate option.</DL></DD></DL><HR><A NAME="momentumTipText()"><!-- --></A><H3>momentumTipText</H3><PRE>public java.lang.String <B>momentumTipText</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string to describe the momentum option.</DL></DD></DL><HR><A NAME="autoBuildTipText()"><!-- --></A><H3>autoBuildTipText</H3><PRE>public java.lang.String <B>autoBuildTipText</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string to describe the AutoBuild option.</DL></DD></DL><HR><A NAME="randomSeedTipText()"><!-- --></A><H3>randomSeedTipText</H3><PRE>public java.lang.String <B>randomSeedTipText</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string to describe the random seed option.</DL></DD></DL><HR><A NAME="validationThresholdTipText()"><!-- --></A><H3>validationThresholdTipText</H3><PRE>public java.lang.String <B>validationThresholdTipText</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string to describe the validation threshold option.</DL></DD></DL><HR><A NAME="GUITipText()"><!-- --></A><H3>GUITipText</H3><PRE>public java.lang.String <B>GUITipText</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string to describe the GUI option.</DL></DD></DL><HR><A NAME="validationSetSizeTipText()"><!-- --></A><H3>validationSetSizeTipText</H3><PRE>public java.lang.String <B>validationSetSizeTipText</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string to describe the validation size option.</DL></DD></DL><HR><A NAME="trainingTimeTipText()"><!-- --></A><H3>trainingTimeTipText</H3><PRE>public java.lang.String <B>trainingTimeTipText</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string to describe the learning rate option.</DL></DD></DL><HR><A NAME="nominalToBinaryFilterTipText()"><!-- --></A><H3>nominalToBinaryFilterTipText</H3><PRE>public java.lang.String <B>nominalToBinaryFilterTipText</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string to describe the nominal to binary option.</DL></DD></DL><HR><A NAME="hiddenLayersTipText()"><!-- --></A><H3>hiddenLayersTipText</H3><PRE>public java.lang.String <B>hiddenLayersTipText</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string to describe the hidden layers in the network.</DL></DD></DL><HR><A NAME="normalizeNumericClassTipText()"><!-- --></A><H3>normalizeNumericClassTipText</H3><PRE>public java.lang.String <B>normalizeNumericClassTipText</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string to describe the nominal to binary option.</DL></DD></DL><HR><A NAME="normalizeAttributesTipText()"><!-- --></A><H3>normalizeAttributesTipText</H3><PRE>public java.lang.String <B>normalizeAttributesTipText</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string to describe the nominal to binary option.</DL></DD></DL><HR><A NAME="resetTipText()"><!-- --></A><H3>resetTipText</H3><PRE>public java.lang.String <B>resetTipText</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string to describe the Reset option.</DL></DD></DL><HR><A NAME="decayTipText()"><!-- --></A><H3>decayTipText</H3><PRE>public java.lang.String <B>decayTipText</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string to describe the Decay option.</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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../weka/classifiers/functions/Logistic.html" title="class in weka.classifiers.functions"><B>PREV CLASS</B></A> <A HREF="../../../weka/classifiers/functions/PaceRegression.html" title="class in weka.classifiers.functions"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?weka/classifiers/functions/MultilayerPerceptron.html" target="_top"><B>FRAMES</B></A> <A HREF="MultilayerPerceptron.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + -