1 write to Trainer
Microsoft.ML.AutoML (1)
Experiment\SuggestedPipeline.cs (1)
33
Trainer
= trainer.Clone();
14 references to Trainer
Microsoft.ML.AutoML (14)
Experiment\SuggestedPipeline.cs (3)
38
public override string ToString() => $"{string.Join(" ", Transforms.Select(t => $"xf={t}"))} tr={
Trainer
} {string.Join(" ", TransformsPostTrainer.Select(t => $"xf={t}"))} cache={(_cacheBeforeTrainer ? "+" : "-")}";
67
pipelineElements.Add(
Trainer
.ToPipelineNode());
133
var learner =
Trainer
.BuildTrainer(validationSet);
Experiment\SuggestedPipelineRunDetails\SuggestedPipelineCrossValRunDetail.cs (1)
51
return new CrossValidationRunDetail<TMetrics>(Pipeline.
Trainer
.TrainerName.ToString(), estimator,
Experiment\SuggestedPipelineRunDetails\SuggestedPipelineRunDetail.cs (2)
31
return new RunResult(Pipeline.
Trainer
.HyperParamSet, Score, isMetricMaximizing);
55
return new RunDetail<TMetrics>(Pipeline.
Trainer
.TrainerName.ToString(), estimator,
PipelineSuggesters\PipelineSuggester.cs (8)
100
history = history.GroupBy(r => r.Pipeline.
Trainer
.TrainerName).Select(g => g.First());
106
var topTrainers = sortedHistory.Take(TopKTrainers).Select(r => r.Pipeline.
Trainer
);
114
return history.Where(h => selectedTrainerNames.Contains(h.Pipeline.
Trainer
.TrainerName))
115
.GroupBy(h => h.Pipeline.
Trainer
.TrainerName)
117
.Select(x => x.First().Pipeline.
Trainer
);
207
.Where(r => r.RunSucceeded && r.Pipeline.
Trainer
.TrainerName == trainer.TrainerName &&
208
r.Pipeline.
Trainer
.HyperParamSet != null &&
209
r.Pipeline.
Trainer
.HyperParamSet.Any() &&