From 4f6b119a04d280262c01e417337e9bf9060ee80a Mon Sep 17 00:00:00 2001 From: Antonio Velazquez Date: Wed, 28 Oct 2020 20:01:46 -0700 Subject: [PATCH] debugging CI failure --- test/Microsoft.ML.AutoML.Tests/AutoFitTests.cs | 3 +++ 1 file changed, 3 insertions(+) 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;