Skip to content

Commit 9d7c48a

Browse files
Random State
1 parent 1816b76 commit 9d7c48a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/dashapp/shapes_to_segmentations.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def compute_segmentations(
8888
# do segmentation and return this
8989
t1 = time()
9090
clf = RandomForestClassifier(
91-
n_estimators=50, n_jobs=-1, max_depth=8, max_samples=0.05
91+
n_estimators=50, n_jobs=-1, max_depth=8, max_samples=0.05, random_state=42
9292
)
9393
seg_matrix, clf = fit_segmenter(mask, features, clf)
9494
t2 = time()

0 commit comments

Comments
 (0)