📄 neuralconnection.html
字号:
<BR> Call this to get the output value of this unit.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/functions/neural/NeuralConnection.html#removeAllInputs()">removeAllInputs</A></B>()</CODE><BR> This function will remove all the inputs to this unit.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/functions/neural/NeuralConnection.html#removeAllOutputs()">removeAllOutputs</A></B>()</CODE><BR> This function will remove all outputs to this unit.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/functions/neural/NeuralConnection.html#reset()">reset</A></B>()</CODE><BR> Call this to reset the unit for another run.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/functions/neural/NeuralConnection.html#setType(int)">setType</A></B>(int t)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/functions/neural/NeuralConnection.html#setX(double)">setX</A></B>(double x)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/functions/neural/NeuralConnection.html#setY(double)">setY</A></B>(double y)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/functions/neural/NeuralConnection.html#updateWeights(double, double)">updateWeights</A></B>(double l, double m)</CODE><BR> Call this function to update the weight values at this unit.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/functions/neural/NeuralConnection.html#weightValue(int)">weightValue</A></B>(int n)</CODE><BR> Call this to get the weight value on a particular connection.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="UNCONNECTED"><!-- --></A><H3>UNCONNECTED</H3><PRE>public static final int <B>UNCONNECTED</B></PRE><DL><DD>This unit is not connected to any others.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#weka.classifiers.functions.neural.NeuralConnection.UNCONNECTED">Constant Field Values</A></DL></DL><HR><A NAME="PURE_INPUT"><!-- --></A><H3>PURE_INPUT</H3><PRE>public static final int <B>PURE_INPUT</B></PRE><DL><DD>This unit is a pure input unit.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#weka.classifiers.functions.neural.NeuralConnection.PURE_INPUT">Constant Field Values</A></DL></DL><HR><A NAME="PURE_OUTPUT"><!-- --></A><H3>PURE_OUTPUT</H3><PRE>public static final int <B>PURE_OUTPUT</B></PRE><DL><DD>This unit is a pure output unit.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#weka.classifiers.functions.neural.NeuralConnection.PURE_OUTPUT">Constant Field Values</A></DL></DL><HR><A NAME="INPUT"><!-- --></A><H3>INPUT</H3><PRE>public static final int <B>INPUT</B></PRE><DL><DD>This unit is an input unit.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#weka.classifiers.functions.neural.NeuralConnection.INPUT">Constant Field Values</A></DL></DL><HR><A NAME="OUTPUT"><!-- --></A><H3>OUTPUT</H3><PRE>public static final int <B>OUTPUT</B></PRE><DL><DD>This unit is an output unit.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#weka.classifiers.functions.neural.NeuralConnection.OUTPUT">Constant Field Values</A></DL></DL><HR><A NAME="CONNECTED"><!-- --></A><H3>CONNECTED</H3><PRE>public static final int <B>CONNECTED</B></PRE><DL><DD>This flag is set once the unit has a connection.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#weka.classifiers.functions.neural.NeuralConnection.CONNECTED">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"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="NeuralConnection(java.lang.String)"><!-- --></A><H3>NeuralConnection</H3><PRE>public <B>NeuralConnection</B>(java.lang.String id)</PRE><DL><DD>Constructs The unit with the basic connection information prepared for use.<P></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="getId()"><!-- --></A><H3>getId</H3><PRE>public java.lang.String <B>getId</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The identity string of this unit.</DL></DD></DL><HR><A NAME="getType()"><!-- --></A><H3>getType</H3><PRE>public int <B>getType</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The type of this unit.</DL></DD></DL><HR><A NAME="setType(int)"><!-- --></A><H3>setType</H3><PRE>public void <B>setType</B>(int t)</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>t</CODE> - The new type of this unit.</DL></DD></DL><HR><A NAME="reset()"><!-- --></A><H3>reset</H3><PRE>public abstract void <B>reset</B>()</PRE><DL><DD>Call this to reset the unit for another run. It is expected by that this unit will call the reset functions of all input units to it. It is also expected that this will not be done if the unit has already been reset (or atleast appears to be).<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="outputValue(boolean)"><!-- --></A><H3>outputValue</H3><PRE>public abstract double <B>outputValue</B>(boolean calculate)</PRE><DL><DD>Call this to get the output value of this unit.<P><DD><DL></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 abstract double <B>errorValue</B>(boolean calculate)</PRE><DL><DD>Call this to get the error value of this unit.<P><DD><DL></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="weightValue(int)"><!-- --></A><H3>weightValue</H3><PRE>public double <B>weightValue</B>(int n)</PRE><DL><DD>Call this to get the weight value on a particular connection.<P><DD><DL></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>This function will default to return 1. If overridden, it should return 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="updateWeights(double, double)"><!-- --></A><H3>updateWeights</H3><PRE>public void <B>updateWeights</B>(double l, double 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></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="getInputs()"><!-- --></A><H3>getInputs</H3><PRE>public <A HREF="../../../../weka/classifiers/functions/neural/NeuralConnection.html" title="class in weka.classifiers.functions.neural">NeuralConnection</A>[] <B>getInputs</B>()</PRE><DL><DD>Use this to get easy access to the inputs. It is not advised to change the entries in this list (use the connecting and disconnecting functions to do that)<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The inputs list.</DL></DD></DL><HR><A NAME="getOutputs()"><!-- --></A><H3>getOutputs</H3><PRE>public <A HREF="../../../../weka/classifiers/functions/neural/NeuralConnection.html" title="class in weka.classifiers.functions.neural">NeuralConnection</A>[] <B>getOutputs</B>()</PRE><DL><DD>Use this to get easy access to the outputs. It is not advised to change the entries in this list (use the connecting and disconnecting functions to do that)<P><DD><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -