C# Class numl.Supervised.NeuralNetwork.Edge

Inheritance: IXmlSerializable
Afficher le fichier Open project: sethjuarez/numl Class Usage Examples

Méthodes publiques

Méthode Description
Create ( Neuron source, Neuron target, double weight = double.NaN, double epsilon = double.NaN ) : Edge

Creates a new Edge.

Edge ( ) : System

Default constructor.

GetEpsilon ( double min, double max, double inputs, double outputs ) : double

Computes the weight epsilon parameter.

GetWeight ( double epsilon ) : double

Computes a new weight from the interval: -epsilon to +epsilon.

ToString ( ) : string

Returns a string that represents the current object.

Method Details

Create() public static méthode

Creates a new Edge.
public static Create ( Neuron source, Neuron target, double weight = double.NaN, double epsilon = double.NaN ) : Edge
source Neuron Source for the.
target Neuron Target for the.
weight double Weight parameter to initialize with.
epsilon double Seed value to use when randomly selecting a weight (ignored when is supplied). /// The weight is then chosen from the open interval: -epsilon to +epsilon. ///
Résultat Edge

Edge() public méthode

Default constructor.
public Edge ( ) : System
Résultat System

GetEpsilon() public static méthode

Computes the weight epsilon parameter.
public static GetEpsilon ( double min, double max, double inputs, double outputs ) : double
min double Minimum activation function value.
max double Maximum activation function value.
inputs double Number of inward connections to the current node.
outputs double Number of outward connections from the current node.
Résultat double

GetWeight() public static méthode

Computes a new weight from the interval: -epsilon to +epsilon.
public static GetWeight ( double epsilon ) : double
epsilon double Precomputed epsilon for computing a
Résultat double

ToString() public méthode

Returns a string that represents the current object.
public ToString ( ) : string
Résultat string