1 write to _options
Microsoft.ML.Mkl.Components (1)
SymSgdClassificationTrainer.cs (1)
255_options = options;
23 references to _options
Microsoft.ML.Mkl.Components (23)
SymSgdClassificationTrainer.cs (23)
206ForceShuffle = _options.Shuffle 713int numThreads = _options.NumberOfThreads ?? Environment.ProcessorCount; 715ch.CheckUserArg(numThreads > 0, nameof(_options.NumberOfThreads), 718var positiveInstanceWeight = _options.PositiveInstanceWeight; 733bool tuneLR = _options.LearningRate == null; 734var lr = _options.LearningRate ?? 1.0f; 736bool tuneNumLocIter = (_options.UpdateFrequency == null); 737var numLocIter = _options.UpdateFrequency ?? 1; 739var l2Const = _options.L2Regularization; 740var piw = _options.PositiveInstanceWeight; 764entry => entry.SetProgress(0, state.PassIteration, _options.NumberOfIterations)); 767_options.NumberOfIterations, numThreads, tuneNumLocIter, ref numLocIter, _options.Tolerance, _options.Shuffle, shouldInitialize, 774entry => entry.SetProgress(0, iter, _options.NumberOfIterations)); 778while (iter < _options.NumberOfIterations) 784int numPassesForThisBatch = Math.Min(numPassesForABatch, _options.NumberOfIterations - iter - numFinalPassesToTrainThoroughly); 789numPassesForThisBatch, numThreads, tuneNumLocIter, ref numLocIter, _options.Tolerance, _options.Shuffle, shouldInitialize, 798if (iter < _options.NumberOfIterations) 799inputDataManager.RestartLoading(_options.Shuffle, Host); 803if (iter < _options.NumberOfIterations) 830private long AcceleratedMemoryBudgetBytes => _options.MemorySize * 1024 * 1024;