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