Skip to content

Commit 8b5d1e2

Browse files
committed
Skip BinaryClassifierSymSgdTest on Linux due to numerical differences
1 parent 5f90197 commit 8b5d1e2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/Microsoft.ML.Predictor.Tests/TestPredictors.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,11 @@ public void BinaryClassifierLogisticRegressionTest()
274274
[TestCategory("Binary")]
275275
public void BinaryClassifierSymSgdTest()
276276
{
277+
// Linux uses a version of MKL that doesn't support conditional numerical reproducibility the same way as
278+
// Windows runs.
279+
if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
280+
return;
281+
277282
//Results sometimes go out of error tolerance on OS X.
278283
if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
279284
return;

0 commit comments

Comments
 (0)