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