Generate the initial value from a uniform random distribution: the value is sampled from the interval between RandomStatus0.Min and RandomStatus0.Max.
RandomStatus0
00 Remarks
Random initialization is essential for breaking the symmetry of the neuron nodes in the same layer of a neural network.
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 2 | Create a random initial value generator with the default interval [0, 1]. |
| GetInitialValue | 1 | Sample one random value from the uniform distribution on the interval [RandomStatus0.Min, RandomStatus0.Max]. |
| ToString | 1 | Display the sampling interval in string format. |
03 Properties
04 Members
Create a random initial value generator with the default interval [0, 1].
Double, Double)Create a random initial value generator with a specific sampling interval.
| Name | Type | Description |
|---|---|---|
min | Double | The lower bound of the random sampling interval. |
max | Double | The upper bound of the random sampling interval. |
Sample one random value from the uniform distribution on the interval [RandomStatus0.Min, RandomStatus0.Max].
A random Single value.
Display the sampling interval in string format.
A string in format like randf(min, max) = value, in which the value is a freshly sampled random number.
The lower bound of the random sampling interval.
A Double value.
The upper bound of the random sampling interval.
A Double value.