You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The strict SdcaLogisticRegression quality assertions now use a single training thread, making their results deterministic. A separate four-thread test retains correctness coverage of SDCA's nondeterministic parallel path by preserving the original AUC requirement and verifying that its LogLoss outperforms a featureless Prior baseline.
My theory is that the macOS arm64 runners have more threads than the Windows/Linux runners which leads to more non-determinism, triggering the flaky failure.
@@ -97,6 +104,44 @@ public void SdcaLogisticRegression()
97
104
Assert.InRange(first.Probability,0.8,1);
98
105
}
99
106
107
+
[Fact]
108
+
publicvoidSdcaLogisticRegressionMultithreaded()
109
+
{
110
+
// Keep coverage of the nondeterministic parallel path while the quality test above remains deterministic.
111
+
// See https://github.com/dotnet/machinelearning/blob/240a849becda954f3e17d39f7606328be3a7f0de/src/Microsoft.ML.StandardTrainers/Standard/SdcaBinary.cs#L180-L188.
0 commit comments