18 instantiations of SuggestedTrainer
Microsoft.ML.AutoML (3)
Experiment\RecipeInference.cs (1)
23var learner = new SuggestedTrainer(mlContext, trainerExtension, columnInfo);
Experiment\SuggestedPipeline.cs (1)
90trainer = new SuggestedTrainer(context, trainerExtension, columnInfo, hyperParamSet);
Experiment\SuggestedTrainer.cs (1)
41return new SuggestedTrainer(_mlContext, _trainerExtension, _columnInfo, HyperParamSet?.Clone());
Microsoft.ML.AutoML.Tests (12)
InferredPipelineTests.cs (10)
26var trainer1 = new SuggestedTrainer(context, new LightGbmBinaryExtension(), columnInfo); 27var trainer2 = new SuggestedTrainer(context, new LightGbmBinaryExtension(), columnInfo); 36trainer1 = new SuggestedTrainer(context, new LightGbmBinaryExtension(), columnInfo, hyperparams1); 37trainer2 = new SuggestedTrainer(context, new LightGbmBinaryExtension(), columnInfo); 45trainer1 = new SuggestedTrainer(context, new LightGbmBinaryExtension(), columnInfo, hyperparams1); 46trainer2 = new SuggestedTrainer(context, new LightGbmBinaryExtension(), columnInfo, hyperparams2); 52trainer1 = new SuggestedTrainer(context, new LightGbmBinaryExtension(), columnInfo); 53trainer2 = new SuggestedTrainer(context, new LightGbmBinaryExtension(), columnInfo); 61trainer1 = new SuggestedTrainer(context, new SdcaLogisticRegressionBinaryExtension(), columnInfo); 62trainer2 = new SuggestedTrainer(context, new LightGbmBinaryExtension(), columnInfo);
SuggestedPipelineBuilderTests.cs (2)
68return new SuggestedTrainer(_context, 75return new SuggestedTrainer(_context,
Microsoft.ML.CodeGenerator.Tests (3)
ApprovalTests\ConsoleCodeGeneratorTests.cs (3)
603var trainer1 = new SuggestedTrainer(context, new LightGbmBinaryExtension(), new ColumnInformation(), hyperparams1); 640var trainer1 = new SuggestedTrainer(context, new LightGbmRegressionExtension(), new ColumnInformation(), hyperparams1); 1098var trainer1 = new SuggestedTrainer(context, new FastForestOvaExtension(), new ColumnInformation(), hyperparams1);
26 references to SuggestedTrainer
Microsoft.ML.AutoML (17)
Experiment\RecipeInference.cs (3)
15public static IEnumerable<SuggestedTrainer> AllowedTrainers(MLContext mlContext, TaskKind task, 20var trainers = new List<SuggestedTrainer>(); 23var learner = new SuggestedTrainer(mlContext, trainerExtension, columnInfo);
Experiment\SuggestedPipeline.cs (3)
19public readonly SuggestedTrainer Trainer; 27SuggestedTrainer trainer, 79SuggestedTrainer trainer = null;
Experiment\SuggestedPipelineBuilder.cs (1)
15SuggestedTrainer trainer,
Experiment\SuggestedTrainer.cs (1)
39public SuggestedTrainer Clone()
PipelineSuggesters\PipelineSuggester.cs (9)
60foreach (var trainer in orderedTopTrainers) 62var newTrainer = trainer.Clone(); 93private static IEnumerable<SuggestedTrainer> GetTopTrainers(IEnumerable<SuggestedPipelineRunDetail> history, 94IEnumerable<SuggestedTrainer> availableTrainers, 110private static IEnumerable<SuggestedTrainer> OrderTrainersByNumTrials(IEnumerable<SuggestedPipelineRunDetail> history, 111IEnumerable<SuggestedTrainer> selectedTrainers) 122IEnumerable<SuggestedTrainer> availableTrainers, 127var trainer = availableTrainers.ElementAt(history.Count()); 194private static bool SampleHyperparameters(MLContext context, SuggestedTrainer trainer,
Microsoft.ML.AutoML.Tests (6)
InferredPipelineTests.cs (2)
26var trainer1 = new SuggestedTrainer(context, new LightGbmBinaryExtension(), columnInfo); 27var trainer2 = new SuggestedTrainer(context, new LightGbmBinaryExtension(), columnInfo);
SuggestedPipelineBuilderTests.cs (4)
53SuggestedTrainer trainer, 66private static SuggestedTrainer BuildAveragedPerceptronTrainer() 73private static SuggestedTrainer BuildLightGbmTrainer() 80private static SuggestedPipeline BuildSuggestedPipeline(SuggestedTrainer trainer,
Microsoft.ML.CodeGenerator.Tests (3)
ApprovalTests\ConsoleCodeGeneratorTests.cs (3)
603var trainer1 = new SuggestedTrainer(context, new LightGbmBinaryExtension(), new ColumnInformation(), hyperparams1); 640var trainer1 = new SuggestedTrainer(context, new LightGbmRegressionExtension(), new ColumnInformation(), hyperparams1); 1098var trainer1 = new SuggestedTrainer(context, new FastForestOvaExtension(), new ColumnInformation(), hyperparams1);