14 writes to NumberOfIterations
Microsoft.ML.AutoML (2)
TrainerExtensions\BinaryTrainerExtensions.cs (2)
33options.NumberOfIterations = DefaultNumIterations; 41options.NumberOfIterations = DefaultNumIterations;
Microsoft.ML.IntegrationTests (3)
Training.cs (3)
96new AveragedPerceptronTrainer.Options { NumberOfIterations = 1 }); 184new LinearSvmTrainer.Options { NumberOfIterations = 1 }); 322new OnlineGradientDescentTrainer.Options { NumberOfIterations = 10 });
Microsoft.ML.Predictor.Tests (1)
TestPredictors.cs (1)
773NumberOfIterations = 2,
Microsoft.ML.Samples (2)
Dynamic\Trainers\BinaryClassification\AveragedPerceptronWithOptions.cs (1)
34NumberOfIterations = 10
Dynamic\Trainers\BinaryClassification\LinearSvmWithOptions.cs (1)
32NumberOfIterations = 10
Microsoft.ML.StandardTrainers (4)
Standard\Online\AveragedPerceptron.cs (2)
93NumberOfIterations = AveragedPerceptronDefault.NumberOfIterations; 186NumberOfIterations = numberOfIterations,
Standard\Online\LinearSvm.cs (1)
289NumberOfIterations = numberOfIterations,
Standard\Online\OnlineGradientDescent.cs (1)
152NumberOfIterations = numberOfIterations,
Microsoft.ML.Tests (2)
Scenarios\Api\TestApi.cs (1)
186new AveragedPerceptronTrainer.Options { NumberOfIterations = 2 });
Scenarios\OvaTest.cs (1)
141mlContext.BinaryClassification.Trainers.LinearSvm(new LinearSvmTrainer.Options { NumberOfIterations = 100 }),
5 references to NumberOfIterations
Microsoft.ML.StandardTrainers (5)
Standard\Online\OnlineLinear.cs (5)
265Contracts.CheckUserArg(options.NumberOfIterations > 0, nameof(options.NumberOfIterations), UserErrorPositive); 329while (state.Iteration < OnlineLinearTrainerOptions.NumberOfIterations) 347numBad, OnlineLinearTrainerOptions.NumberOfIterations, numBad / OnlineLinearTrainerOptions.NumberOfIterations);