From 990857d0cd5c1dd5b73e7664e3ca73115d46dcb7 Mon Sep 17 00:00:00 2001 From: Xiaoyun Zhang Date: Fri, 31 Mar 2023 10:57:54 -0700 Subject: [PATCH 1/2] Update AutoMLExperiment.cs --- src/Microsoft.ML.AutoML/AutoMLExperiment/AutoMLExperiment.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.ML.AutoML/AutoMLExperiment/AutoMLExperiment.cs b/src/Microsoft.ML.AutoML/AutoMLExperiment/AutoMLExperiment.cs index e2fa5b9716..328d79a181 100644 --- a/src/Microsoft.ML.AutoML/AutoMLExperiment/AutoMLExperiment.cs +++ b/src/Microsoft.ML.AutoML/AutoMLExperiment/AutoMLExperiment.cs @@ -342,7 +342,7 @@ Abandoning Trial {trialSettings.TrialId} and continue training. trialResultManager?.Save(); if (_bestTrialResult == null) { - throw new TimeoutException("Training time finished without completing a trial run"); + throw new TimeoutException("Training time finished without completing a successful trial, this could happen when no trial is completed or the metric for all completed trials are nan or inf"); } else { From 0d4c7863d17e402f03406a3260749f894131212e Mon Sep 17 00:00:00 2001 From: Michael Sharp <51342856+michaelgsharp@users.noreply.github.com> Date: Fri, 31 Mar 2023 14:23:05 -0600 Subject: [PATCH 2/2] Update src/Microsoft.ML.AutoML/AutoMLExperiment/AutoMLExperiment.cs Co-authored-by: Luis Quintanilla <46974588+luisquintanilla@users.noreply.github.com> --- src/Microsoft.ML.AutoML/AutoMLExperiment/AutoMLExperiment.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.ML.AutoML/AutoMLExperiment/AutoMLExperiment.cs b/src/Microsoft.ML.AutoML/AutoMLExperiment/AutoMLExperiment.cs index 328d79a181..90edcb8e08 100644 --- a/src/Microsoft.ML.AutoML/AutoMLExperiment/AutoMLExperiment.cs +++ b/src/Microsoft.ML.AutoML/AutoMLExperiment/AutoMLExperiment.cs @@ -342,7 +342,7 @@ Abandoning Trial {trialSettings.TrialId} and continue training. trialResultManager?.Save(); if (_bestTrialResult == null) { - throw new TimeoutException("Training time finished without completing a successful trial, this could happen when no trial is completed or the metric for all completed trials are nan or inf"); + throw new TimeoutException("Training time finished without completing a successful trial. Either no trial completed or the metric for all completed trials are NaN or Infinity"); } else {