1 write to _options
Microsoft.ML.Mkl.Components (1)
SymSgdClassificationTrainer.cs (1)
247_options = options;
23 references to _options
Microsoft.ML.Mkl.Components (23)
SymSgdClassificationTrainer.cs (23)
198ForceShuffle = _options.Shuffle 705int numThreads = _options.NumberOfThreads ?? Environment.ProcessorCount; 707ch.CheckUserArg(numThreads > 0, nameof(_options.NumberOfThreads), 710var positiveInstanceWeight = _options.PositiveInstanceWeight; 725bool tuneLR = _options.LearningRate == null; 726var lr = _options.LearningRate ?? 1.0f; 728bool tuneNumLocIter = (_options.UpdateFrequency == null); 729var numLocIter = _options.UpdateFrequency ?? 1; 731var l2Const = _options.L2Regularization; 732var piw = _options.PositiveInstanceWeight; 756entry => entry.SetProgress(0, state.PassIteration, _options.NumberOfIterations)); 759_options.NumberOfIterations, numThreads, tuneNumLocIter, ref numLocIter, _options.Tolerance, _options.Shuffle, shouldInitialize, 766entry => entry.SetProgress(0, iter, _options.NumberOfIterations)); 770while (iter < _options.NumberOfIterations) 776int numPassesForThisBatch = Math.Min(numPassesForABatch, _options.NumberOfIterations - iter - numFinalPassesToTrainThoroughly); 781numPassesForThisBatch, numThreads, tuneNumLocIter, ref numLocIter, _options.Tolerance, _options.Shuffle, shouldInitialize, 790if (iter < _options.NumberOfIterations) 791inputDataManager.RestartLoading(_options.Shuffle, Host); 795if (iter < _options.NumberOfIterations) 822private long AcceleratedMemoryBudgetBytes => _options.MemorySize * 1024 * 1024;