Skip to content

Commit 39bce6a

Browse files
committed
Set random state for test model
1 parent 985ec32 commit 39bce6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cesium_app/tests/fixtures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def create_test_model(fset, model_type='RandomForestClassifier'):
120120
"RandomForestClassifier": {
121121
"bootstrap": True, "criterion": "gini",
122122
"oob_score": False, "max_features": "auto",
123-
"n_estimators": 10},
123+
"n_estimators": 10, "random_state": 0},
124124
"RandomForestRegressor": {
125125
"bootstrap": True, "criterion": "mse",
126126
"oob_score": False, "max_features": "auto",

0 commit comments

Comments
 (0)