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