From 70807e8894f8827af46dadd1f1ef8b345e3f1a39 Mon Sep 17 00:00:00 2001 From: martin-sicho Date: Wed, 26 Jun 2024 15:36:34 +0200 Subject: [PATCH] use different random seed --- qsprpred/extra/models/tests.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qsprpred/extra/models/tests.py b/qsprpred/extra/models/tests.py index c289a919..502daab5 100644 --- a/qsprpred/extra/models/tests.py +++ b/qsprpred/extra/models/tests.py @@ -31,6 +31,7 @@ class TestPCM(ModelDataSetsMixInExtras, ModelCheckMixIn, QSPRTestCase): def setUp(self): super().setUp() self.setUpPaths() + self.nCPU = 1 def getModel( self, @@ -95,10 +96,10 @@ def getModel( random_state, ) for alg, alg_name in ((XGBClassifier, "XGBC"),) - for random_state in ([None], [1, 42], [42, 42]) + for random_state in ([None], [21, 42], [42, 42]) ] ) - def testRegressionBasicFitPCM( + def testFittingPCM( self, _, props: list[TargetProperty | dict],