Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-sicho committed Jul 2, 2024
1 parent 2e1f75f commit 3834213
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qsprpred/models/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ def testRandomForestClassifierFitWithSeed(self):
"th": [6.5]
}],
preparation_settings=self.getDefaultPrep(),
random_state=42,
)
# test classifier
# initialize model for training from class
Expand All @@ -381,6 +382,7 @@ def testRandomForestClassifierFitWithSeed(self):
name=f"RFC_{TargetTasks.SINGLECLASS}",
alg=RandomForestClassifier,
parameters=parameters,
random_state=42,
)
self.fitTest(model, dataset)
summary = create_metrics_summary(model)
Expand Down

0 comments on commit 3834213

Please sign in to comment.