C# Class Macademy.DefaultWeightInitializer

Initializes weights using Gaussian random (std.dev: 1.0/sqrt(inputWeightCount), mean: 0) and biases with Gaussian random (std.dev: 1, mean: 0)
Inheritance: IWeightInitializer
ファイルを表示 Open project: zbendefy/machine.academy Class Usage Examples

Public Methods

Method Description
GetRandomBias ( ) : float
GetRandomWeight ( int numberOfInputWeights ) : float

Method Details

GetRandomBias() public method

public GetRandomBias ( ) : float
return float

GetRandomWeight() public method

public GetRandomWeight ( int numberOfInputWeights ) : float
numberOfInputWeights int
return float