Skip to content

Commit

Permalink
Remove extra validation set (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheooJ authored Nov 27, 2024
1 parent 7af0407 commit ddc2f35
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/plot_01_survival_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@
# %%
from sklearn.model_selection import train_test_split

X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2)
X_train, X_val, y_train, y_val = train_test_split(X_train, y_train, test_size=0.2)
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.3)

# %%
#
Expand Down

0 comments on commit ddc2f35

Please sign in to comment.