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

📄 neuralnode.html

📁 < 数据挖掘--实用机器学习技术及java实现> 一书结合数据挖掘和机器学习的知识,作者陈述了自动挖掘模式的基础理论,并且以java语言实现了具有代表性的各类数据挖掘方法.例如:class
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><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.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/neural/NeuralMethod.html">NeuralMethod</A>&nbsp;m)</PRE><DL><DD><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></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="setMethod(weka.classifiers.neural.NeuralMethod)"><!-- --></A><H3>setMethod</H3><PRE>public void <B>setMethod</B>(<A HREF="../../../weka/classifiers/neural/NeuralMethod.html">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.<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/neural/NeuralMethod.html">NeuralMethod</A> <B>getMethod</B>()</PRE><DL></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.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#outputValue(boolean)">outputValue</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/neural/NeuralConnection.html">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.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#errorValue(boolean)">errorValue</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/neural/NeuralConnection.html">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.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#reset()">reset</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/neural/NeuralConnection.html">NeuralConnection</A></CODE></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.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#weightValue(int)">weightValue</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/neural/NeuralConnection.html">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.<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.<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.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#updateWeights(double, double)">updateWeights</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/neural/NeuralConnection.html">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="connectInput(weka.classifiers.neural.NeuralConnection, int)"><!-- --></A><H3>connectInput</H3><PRE>protected boolean <B>connectInput</B>(<A HREF="../../../weka/classifiers/neural/NeuralConnection.html">NeuralConnection</A>&nbsp;i,                               int&nbsp;n)</PRE><DL><DD>This will connect the specified unit to be an input to this unit.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#connectInput(weka.classifiers.neural.NeuralConnection, int)">connectInput</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/neural/NeuralConnection.html">NeuralConnection</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - The unit.<DD><CODE>n</CODE> - It's connection number for this connection.<DT><B>Returns:</B><DD>True if the connection was made, false otherwise.</DL></DD></DL><HR><A NAME="allocateInputs()"><!-- --></A><H3>allocateInputs</H3><PRE>protected void <B>allocateInputs</B>()</PRE><DL><DD>This will allocate more space for input connection information if the arrays for this have been filled up.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#allocateInputs()">allocateInputs</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/neural/NeuralConnection.html">NeuralConnection</A></CODE></DL></DD></DL><HR><A NAME="disconnectInput(weka.classifiers.neural.NeuralConnection, int)"><!-- --></A><H3>disconnectInput</H3><PRE>protected boolean <B>disconnectInput</B>(<A HREF="../../../weka/classifiers/neural/NeuralConnection.html">NeuralConnection</A>&nbsp;i,                                  int&nbsp;n)</PRE><DL><DD>This will disconnect the input with the specific connection number From this node (only on this end however).<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#disconnectInput(weka.classifiers.neural.NeuralConnection, int)">disconnectInput</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/neural/NeuralConnection.html">NeuralConnection</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - The unit to disconnect.<DD><CODE>n</CODE> - The connection number at the other end, -1 if all the connections to this unit should be severed (not the same as removeAllInputs).<DT><B>Returns:</B><DD>True if the connection was removed, false if the connection was  not found.</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.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#removeAllInputs()">removeAllInputs</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/neural/NeuralConnection.html">NeuralConnection</A></CODE></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <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>  </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/neural/NeuralNetwork.NeuralEnd.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../weka/classifiers/neural/SigmoidUnit.html"><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></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_weka.classifiers.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><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

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