Skip to content

Commit

Permalink
use different random seed
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-sicho committed Jun 26, 2024
1 parent 5fbba76 commit 70807e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions qsprpred/extra/models/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class TestPCM(ModelDataSetsMixInExtras, ModelCheckMixIn, QSPRTestCase):
def setUp(self):
super().setUp()
self.setUpPaths()
self.nCPU = 1

def getModel(
self,
Expand Down Expand Up @@ -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],
Expand Down

0 comments on commit 70807e8

Please sign in to comment.