class: BP_node

public class: BP_node
Author: Lukáš Civín
Project: Phase: 1.0; Status: Proposed; Version: 1.0; Complexity: 1
Dates: Created: 7.12.2005 22:45:11; Modified: 7.12.2005 22:45:11;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {D711135C-7094-43b9-99EE-89C50256825C}
Summary description for BP_node.

 

Goto: Fields, Methods

See also: BP_layer

Appears in: Network core classes

Connections
 
BP_node Attributes
Attribute Details
private double
  potential
private double
  threshold
private double
  weights
Notes: of the outputs to next layer
private double
  error
private double
  SigmOfPot
Notes: The value of sigmoidal function with potential in its parameter

public double
  Delta
Notes: Delta calculated in DeltaHelp() during BP learning

public const double
  EdgeValue
Initial: 100
Notes: The edge of potential, if potential is bigger, than we do not calculate sigmoid, but return constant 0 or 1

private double
  weight_old
Notes: previous weight

 
BP_node Methods
Operation Details
public
BP_node(
   double act,
   double thr,
   int numOfweights):
Sequential
public
Potential():double
Sequential <<property>>
public
Threshold():double
Sequential <<property>>
public
SetWeight(
   double W,
   int number):void
Sequential
Notes: Initialize seting the weight of the line to the next layer
public
UpdateWeight(
   double W,
   int number):void
Sequential
Notes: Update the weight of the line to the next layer
private
sigmoid(
   double x,
   double Par):double
Sequential
Notes: classic sigmoidal function of a double

@returns
public
GetOutput(
   int line):double
Sequential
Notes: Calculate value, that is sending out by the line identified by parameter
public
CalcSigm(
   double slope):void
Sequential
Notes: Calculate the sigmoid of Potential, uses EdgeValue for big numbers
public
Error():double
Sequential <<property>>
Notes: The error of this node
public
DerivSigmoid(
   double Slope):double
Sequential
Notes: derivation of sigmoid

@returns
public
Output():double
Sequential <<property>>
Notes: Output of the node
public
Wei():double
Sequential <<property>>
Tags: array=[]
readonly=true
public
oldWei():double
Sequential <<property>>
Tags: array=[]
readonly=true
public
WriteNode(
   XmlDocument w,
   XmlNode node):void
Sequential
Notes: Writes information about nodes into the XML document
public
ReadNode(
   XmlTextReader reader):void
Sequential
Notes: Reads information about node from a xml reader