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

📄 neuralnode.html

📁 由java开发的软件包
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="NeuralNode(java.lang.String, java.util.Random, weka.classifiers.functions.neural.NeuralMethod)"><!-- --></A><H3>NeuralNode</H3><PRE>public <B>NeuralNode</B>(java.lang.String&nbsp;id,                  java.util.Random&nbsp;r,                  <A HREF="../../../../weka/classifiers/functions/neural/NeuralMethod.html" title="interface in weka.classifiers.functions.neural">NeuralMethod</A>&nbsp;m)</PRE><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - The string name for this node (used to id this node).<DD><CODE>r</CODE> - A random number generator used to generate initial weights.<DD><CODE>m</CODE> - The methods this node should use to update.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="setMethod(weka.classifiers.functions.neural.NeuralMethod)"><!-- --></A><H3>setMethod</H3><PRE>public void <B>setMethod</B>(<A HREF="../../../../weka/classifiers/functions/neural/NeuralMethod.html" title="interface in weka.classifiers.functions.neural">NeuralMethod</A>&nbsp;m)</PRE><DL><DD>Set how this node should operate (note that the neural method has no internal state, so the same object can be used by any number of nodes.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>m</CODE> - The new method.</DL></DD></DL><HR><A NAME="getMethod()"><!-- --></A><H3>getMethod</H3><PRE>public <A HREF="../../../../weka/classifiers/functions/neural/NeuralMethod.html" title="interface in weka.classifiers.functions.neural">NeuralMethod</A> <B>getMethod</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="outputValue(boolean)"><!-- --></A><H3>outputValue</H3><PRE>public double <B>outputValue</B>(boolean&nbsp;calculate)</PRE><DL><DD>Call this to get the output value of this unit.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/classifiers/functions/neural/NeuralConnection.html#outputValue(boolean)">outputValue</A></CODE> in class <CODE><A HREF="../../../../weka/classifiers/functions/neural/NeuralConnection.html" title="class in weka.classifiers.functions.neural">NeuralConnection</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>calculate</CODE> - True if the value should be calculated if it hasn't been already.<DT><B>Returns:</B><DD>The output value, or NaN, if the value has not been calculated.</DL></DD></DL><HR><A NAME="errorValue(boolean)"><!-- --></A><H3>errorValue</H3><PRE>public double <B>errorValue</B>(boolean&nbsp;calculate)</PRE><DL><DD>Call this to get the error value of this unit.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/classifiers/functions/neural/NeuralConnection.html#errorValue(boolean)">errorValue</A></CODE> in class <CODE><A HREF="../../../../weka/classifiers/functions/neural/NeuralConnection.html" title="class in weka.classifiers.functions.neural">NeuralConnection</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>calculate</CODE> - True if the value should be calculated if it hasn't been already.<DT><B>Returns:</B><DD>The error value, or NaN, if the value has not been calculated.</DL></DD></DL><HR><A NAME="reset()"><!-- --></A><H3>reset</H3><PRE>public void <B>reset</B>()</PRE><DL><DD>Call this to reset the value and error for this unit, ready for the next run. This will also call the reset function of all units that are  connected as inputs to this one. This is also the time that the update for the listeners will be performed.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/classifiers/functions/neural/NeuralConnection.html#reset()">reset</A></CODE> in class <CODE><A HREF="../../../../weka/classifiers/functions/neural/NeuralConnection.html" title="class in weka.classifiers.functions.neural">NeuralConnection</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="weightValue(int)"><!-- --></A><H3>weightValue</H3><PRE>public double <B>weightValue</B>(int&nbsp;n)</PRE><DL><DD>Call this to get the weight value on a particular connection.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../weka/classifiers/functions/neural/NeuralConnection.html#weightValue(int)">weightValue</A></CODE> in class <CODE><A HREF="../../../../weka/classifiers/functions/neural/NeuralConnection.html" title="class in weka.classifiers.functions.neural">NeuralConnection</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>n</CODE> - The connection number to get the weight for, -1 if The threshold weight should be returned.<DT><B>Returns:</B><DD>The value for the specified connection or if -1 then it should  return the threshold value. If no value exists for the specified  connection, NaN will be returned.</DL></DD></DL><HR><A NAME="getWeights()"><!-- --></A><H3>getWeights</H3><PRE>public double[] <B>getWeights</B>()</PRE><DL><DD>call this function to get the weights array. This will also allow the weights to be updated.<P><DD><DL><DT><B>Returns:</B><DD>The weights array.</DL></DD></DL><HR><A NAME="getChangeInWeights()"><!-- --></A><H3>getChangeInWeights</H3><PRE>public double[] <B>getChangeInWeights</B>()</PRE><DL><DD>call this function to get the chnage in weights array. This will also allow the change in weights to be updated.<P><DD><DL><DT><B>Returns:</B><DD>The change in weights array.</DL></DD></DL><HR><A NAME="updateWeights(double, double)"><!-- --></A><H3>updateWeights</H3><PRE>public void <B>updateWeights</B>(double&nbsp;l,                          double&nbsp;m)</PRE><DL><DD>Call this function to update the weight values at this unit. After the weights have been updated at this unit, All the input connections will then be called from this to have their weights updated.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../weka/classifiers/functions/neural/NeuralConnection.html#updateWeights(double, double)">updateWeights</A></CODE> in class <CODE><A HREF="../../../../weka/classifiers/functions/neural/NeuralConnection.html" title="class in weka.classifiers.functions.neural">NeuralConnection</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>l</CODE> - The learning rate to use.<DD><CODE>m</CODE> - The momentum to use.</DL></DD></DL><HR><A NAME="removeAllInputs()"><!-- --></A><H3>removeAllInputs</H3><PRE>public void <B>removeAllInputs</B>()</PRE><DL><DD>This function will remove all the inputs to this unit. In doing so it will also terminate the connections at the other end.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../weka/classifiers/functions/neural/NeuralConnection.html#removeAllInputs()">removeAllInputs</A></CODE> in class <CODE><A HREF="../../../../weka/classifiers/functions/neural/NeuralConnection.html" title="class in weka.classifiers.functions.neural">NeuralConnection</A></CODE></DL></DD><DD><DL></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=3 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="../../../../../Tutorial.pdf"><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/index.html"><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/functions/neural/NeuralConnection.html" title="class in weka.classifiers.functions.neural"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../weka/classifiers/functions/neural/SigmoidUnit.html" title="class in weka.classifiers.functions.neural"><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="NeuralNode.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;<A HREF="#fields_inherited_from_class_weka.classifiers.functions.neural.NeuralConnection">FIELD</A>&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 + -