22 writes to MaximumNumberOfIterations
Microsoft.ML.IntegrationTests (4)
Debugging.cs (2)
110
new SdcaRegressionTrainer.Options { NumberOfThreads = 1,
MaximumNumberOfIterations
= 20 }));
177
new SdcaRegressionTrainer.Options { NumberOfThreads = 1,
MaximumNumberOfIterations
= 20 }));
IntrospectiveTraining.cs (1)
436
MaximumNumberOfIterations
= 10,
ONNX.cs (1)
146
new SdcaRegressionTrainer.Options { NumberOfThreads = 1,
MaximumNumberOfIterations
= 10 }));
Microsoft.ML.Samples (4)
Dynamic\Trainers\BinaryClassification\SdcaLogisticRegressionWithOptions.cs (1)
41
MaximumNumberOfIterations
= 30,
Dynamic\Trainers\BinaryClassification\SdcaNonCalibratedWithOptions.cs (1)
43
MaximumNumberOfIterations
= 30,
Dynamic\Trainers\MulticlassClassification\SdcaMaximumEntropyWithOptions.cs (1)
41
MaximumNumberOfIterations
= 30,
Dynamic\Trainers\Regression\SdcaWithOptions.cs (1)
38
MaximumNumberOfIterations
= 30,
Microsoft.ML.StandardTrainers (2)
Standard\SdcaBinary.cs (2)
313
SdcaTrainerOptions.
MaximumNumberOfIterations
= maxIterations ?? options.MaximumNumberOfIterations;
454
SdcaTrainerOptions.
MaximumNumberOfIterations
= TuneDefaultMaxIterations(ch, count, numThreads);
Microsoft.ML.Tests (12)
Scenarios\Api\Estimators\DecomposableTrainAndPredict.cs (1)
36
new SdcaMaximumEntropyMulticlassTrainer.Options {
MaximumNumberOfIterations
= 100, Shuffle = true, NumberOfThreads = 1, }))
Scenarios\Api\Estimators\Extensibility.cs (1)
45
new SdcaMaximumEntropyMulticlassTrainer.Options {
MaximumNumberOfIterations
= 100, Shuffle = true, NumberOfThreads = 1 }))
Scenarios\Api\Estimators\PredictAndMetadata.cs (2)
34
new SdcaMaximumEntropyMulticlassTrainer.Options {
MaximumNumberOfIterations
= 100, Shuffle = true, NumberOfThreads = 1, }));
83
new SdcaMaximumEntropyMulticlassTrainer.Options {
MaximumNumberOfIterations
= 100, Shuffle = true, NumberOfThreads = 1, }));
TrainerEstimators\MetalinearEstimators.cs (3)
47
new SdcaNonCalibratedBinaryTrainer.Options {
MaximumNumberOfIterations
= 100, Shuffle = true, NumberOfThreads = 1 });
65
new SdcaNonCalibratedBinaryTrainer.Options {
MaximumNumberOfIterations
= 100, Shuffle = true, NumberOfThreads = 1 });
92
MaximumNumberOfIterations
= 100,
TrainerEstimators\SdcaTests.cs (5)
32
new SdcaLogisticRegressionBinaryTrainer.Options { ConvergenceTolerance = 1e-2f,
MaximumNumberOfIterations
= 10 });
36
new SdcaNonCalibratedBinaryTrainer.Options { ConvergenceTolerance = 1e-2f,
MaximumNumberOfIterations
= 10 });
40
new SdcaRegressionTrainer.Options { ConvergenceTolerance = 1e-2f,
MaximumNumberOfIterations
= 10 });
46
new SdcaMaximumEntropyMulticlassTrainer.Options { ConvergenceTolerance = 1e-2f,
MaximumNumberOfIterations
= 10 });
50
new SdcaNonCalibratedMulticlassTrainer.Options { ConvergenceTolerance = 1e-2f,
MaximumNumberOfIterations
= 10 });
9 references to MaximumNumberOfIterations
Microsoft.ML.StandardTrainers (9)
Standard\SdcaBinary.cs (9)
245
env.CheckUserArg(
MaximumNumberOfIterations
== null ||
MaximumNumberOfIterations
> 0, nameof(
MaximumNumberOfIterations
), "Max number of iterations must be positive.");
313
SdcaTrainerOptions.MaximumNumberOfIterations = maxIterations ?? options.
MaximumNumberOfIterations
;
453
if (SdcaTrainerOptions.
MaximumNumberOfIterations
== null)
456
Contracts.Assert(SdcaTrainerOptions.
MaximumNumberOfIterations
.HasValue);
458
SdcaTrainerOptions.L2Regularization = TuneDefaultL2(ch, SdcaTrainerOptions.
MaximumNumberOfIterations
.Value, count, numThreads);
558
ch.Assert(SdcaTrainerOptions.
MaximumNumberOfIterations
.HasValue);
559
var maxIterations = SdcaTrainerOptions.
MaximumNumberOfIterations
.Value;