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