diff --git a/test/Microsoft.ML.AutoML.Tests/AutoFitTests.cs b/test/Microsoft.ML.AutoML.Tests/AutoFitTests.cs index c4e169d387..f2c23f679f 100644 --- a/test/Microsoft.ML.AutoML.Tests/AutoFitTests.cs +++ b/test/Microsoft.ML.AutoML.Tests/AutoFitTests.cs @@ -143,6 +143,9 @@ public void AutoFitRegressionTest(string culture) .Execute(trainData, validationData, new ColumnInformation() { LabelColumnName = DatasetUtil.MlNetGeneratedRegressionLabel }); + //MYTODO: Only adding this for debugging purposes on the CI: + System.Console.WriteLine($"culture:{culture} - Count: {result.RunDetails.Count()} - Null ValidationMetrics Count:{result.RunDetails.Where(rd => rd.ValidationMetrics == null).Count()}"); + Assert.True(result.RunDetails.Max(i => i.ValidationMetrics.RSquared > 0.9)); Thread.CurrentThread.CurrentCulture = originalCulture;