C# 클래스 numl.Supervised.NeuralNetwork.Edge

상속: IXmlSerializable
파일 보기 프로젝트 열기: sethjuarez/numl 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

Create() 공개 정적인 메소드

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. ///
리턴 Edge

Edge() 공개 메소드

Default constructor.
public Edge ( ) : System
리턴 System

GetEpsilon() 공개 정적인 메소드

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.
리턴 double

GetWeight() 공개 정적인 메소드

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

ToString() 공개 메소드

Returns a string that represents the current object.
public ToString ( ) : string
리턴 string