Skip to content

Commit b7ff447

Browse files
[FIX] Runtime warning
1 parent 5a0c663 commit b7ff447

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/tabular/20_basics/example_tabular_classification.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
X_train, X_test, y_train, y_test = sklearn.model_selection.train_test_split(
3434
X,
3535
y,
36-
random_state=1,
36+
random_state=42,
3737
)
3838

3939
############################################################################
@@ -44,7 +44,8 @@
4444
output_directory='./tmp/autoPyTorch_example_out_01',
4545
# To maintain logs of the run, set the next two as False
4646
delete_tmp_folder_after_terminate=True,
47-
delete_output_folder_after_terminate=True
47+
delete_output_folder_after_terminate=True,
48+
seed=42,
4849
)
4950

5051
############################################################################

0 commit comments

Comments
 (0)