Skip to content

Commit 29d337a

Browse files
committed
Iris test now fixed at 1 thread to try to increase stability
1 parent 474213c commit 29d337a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Microsoft.ML.Tests/ScenariosWithDirectInstantiation/IrisPlantClassificationTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void TrainAndPredictIrisModelUsingDirectInstantiationTest()
7070
trans = NormalizeTransform.CreateMinMaxNormalizer(env, trans, "Features");
7171

7272
// Train
73-
var trainer = new SdcaMultiClassTrainer(env, new SdcaMultiClassTrainer.Arguments());
73+
var trainer = new SdcaMultiClassTrainer(env, new SdcaMultiClassTrainer.Arguments() { NumThreads = 1 } );
7474

7575
// Explicity adding CacheDataView since caching is not working though trainer has 'Caching' On/Auto
7676
var cached = new CacheDataView(env, trans, prefetch: null);

0 commit comments

Comments
 (0)