1 write to InitialWeightsDiameter
Microsoft.ML.Samples (1)
Dynamic\Trainers\Regression\OnlineGradientDescentWithOptions.cs (1)
39
InitialWeightsDiameter
= 0.2f
5 references to InitialWeightsDiameter
Microsoft.ML.StandardTrainers (5)
Standard\Online\OnlineLinear.cs (5)
161
else if (parent.OnlineLinearTrainerOptions.
InitialWeightsDiameter
> 0)
165
weightValues[i] = parent.OnlineLinearTrainerOptions.
InitialWeightsDiameter
* (parent.Host.Rand.NextSingle() - (float)0.5);
167
Bias = parent.OnlineLinearTrainerOptions.
InitialWeightsDiameter
* (parent.Host.Rand.NextSingle() - (float)0.5);
266
Contracts.CheckUserArg(options.
InitialWeightsDiameter
>= 0, nameof(options.
InitialWeightsDiameter
), UserErrorNonNegative);