📄 neuralnetwork.neuralend.html
字号:
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= 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="NeuralNetwork.NeuralEnd(weka.classifiers.neural.NeuralNetwork, java.lang.String)"><!-- --></A><H3>NeuralNetwork.NeuralEnd</H3><PRE>public <B>NeuralNetwork.NeuralEnd</B>(java.lang.String id)</PRE><DL></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="onUnit(java.awt.Graphics, int, int, int, int)"><!-- --></A><H3>onUnit</H3><PRE>public boolean <B>onUnit</B>(java.awt.Graphics g, int x, int y, int w, int h)</PRE><DL><DD>Call this function to determine if the point at x,y is on the unit.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#onUnit(java.awt.Graphics, int, int, int, int)">onUnit</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>g</CODE> - The graphics context for font size info.<DD><CODE>x</CODE> - The x coord.<DD><CODE>y</CODE> - The y coord.<DD><CODE>w</CODE> - The width of the display.<DD><CODE>h</CODE> - The height of the display.<DT><B>Returns:</B><DD>True if the point is on the unit, false otherwise.</DL></DD></DL><HR><A NAME="drawNode(java.awt.Graphics, int, int)"><!-- --></A><H3>drawNode</H3><PRE>public void <B>drawNode</B>(java.awt.Graphics g, int w, int h)</PRE><DL><DD>This will draw the node id to the graphics context.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#drawNode(java.awt.Graphics, int, int)">drawNode</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>g</CODE> - The graphics context.<DD><CODE>w</CODE> - The width of the drawing area.<DD><CODE>h</CODE> - The height of the drawing area.</DL></DD></DL><HR><A NAME="drawHighlight(java.awt.Graphics, int, int)"><!-- --></A><H3>drawHighlight</H3><PRE>public void <B>drawHighlight</B>(java.awt.Graphics g, int w, int h)</PRE><DL><DD>Call this function to draw the node highlighted.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#drawHighlight(java.awt.Graphics, int, int)">drawHighlight</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>g</CODE> - The graphics context.<DD><CODE>w</CODE> - The width of the drawing area.<DD><CODE>h</CODE> - The height of the drawing area.</DL></DD></DL><HR><A NAME="outputValue(boolean)"><!-- --></A><H3>outputValue</H3><PRE>public double <B>outputValue</B>(boolean 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 calculate)</PRE><DL><DD>Call this to get the error value of this unit, which in this case is the difference between the predicted class, and the actual class.<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="setLink(boolean, int)"><!-- --></A><H3>setLink</H3><PRE>public void <B>setLink</B>(boolean input, int val) throws java.lang.Exception</PRE><DL><DD>Call this function to set What this end unit represents.<DD><DL><DT><B>Parameters:</B><DD><CODE>input</CODE> - True if this unit is used for entering an attribute, False if it's used for determining a class value.<DD><CODE>val</CODE> - The attribute number or class type that this unit represents. (for nominal attributes).</DL></DD></DL><HR><A NAME="getLink()"><!-- --></A><H3>getLink</H3><PRE>public int <B>getLink</B>()</PRE><DL><DD><DL><DT><B>Returns:</B><DD>link for this node.</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> </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> </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/neural/NeuralNetwork.html"><B>PREV CLASS</B></A> <A HREF="../../../weka/classifiers/neural/NeuralNode.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> <A HREF="NeuralNetwork.NeuralEnd.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#fields_inherited_from_class_weka.classifiers.neural.NeuralConnection">FIELD</A> | <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><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -