Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
MPBA Radiomics
RADLER
Commits
3ad9c75b
Commit
3ad9c75b
authored
Nov 07, 2019
by
Alessia Marcolini
Browse files
Remove unused variable
parent
e10d2010
Changes
1
Hide whitespace changes
Inline
Side-by-side
split.py
View file @
3ad9c75b
...
...
@@ -2,8 +2,7 @@ import numpy as np
from
sklearn.model_selection
import
train_test_split
def
train_test_indexes_patient_wise
(
dataset
,
test_size
=
0.2
,
stratify
=
True
):
files
=
dataset
.
get_files
()
patients
=
dataset
.
get_patients
()
unique_patients
=
np
.
unique
(
patients
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment