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