1 write to OnlineLinearTrainerOptions
Microsoft.ML.StandardTrainers (1)
Standard\Online\OnlineLinear.cs (1)
268
OnlineLinearTrainerOptions
= options;
10 references to OnlineLinearTrainerOptions
Microsoft.ML.StandardTrainers (10)
Standard\Online\OnlineLinear.cs (10)
144
else if (!string.IsNullOrWhiteSpace(parent.
OnlineLinearTrainerOptions
.InitialWeights))
146
ch.Info("Initializing weights and bias to " + parent.
OnlineLinearTrainerOptions
.InitialWeights);
147
string[] weightStr = parent.
OnlineLinearTrainerOptions
.InitialWeights.Split(',');
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);
315
bool shuffle =
OnlineLinearTrainerOptions
.Shuffle;
329
while (state.Iteration <
OnlineLinearTrainerOptions
.NumberOfIterations)
347
numBad,
OnlineLinearTrainerOptions
.NumberOfIterations, numBad /
OnlineLinearTrainerOptions
.NumberOfIterations);