We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29d92ed commit fe77854Copy full SHA for fe77854
src/Microsoft.ML.Auto/PipelineSuggesters/PipelineSuggester.cs
@@ -91,8 +91,8 @@ private static IEnumerable<SuggestedTrainer> GetTopTrainers(IEnumerable<Suggeste
91
IEnumerable<SuggestedTrainer> availableTrainers,
92
bool isMaximizingMetric)
93
{
94
- // narrow history to first stage runs
95
- history = history.Take(availableTrainers.Count());
+ // narrow history to first stage runs that succeeded
+ history = history.Take(availableTrainers.Count()).Where(x => x.RunSucceded);
96
97
history = history.GroupBy(r => r.Pipeline.Trainer.TrainerName).Select(g => g.First());
98
IEnumerable<SuggestedPipelineRunDetail> sortedHistory = history.OrderBy(r => r.Score);
0 commit comments