Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e02f8ba

Browse files
author
Stefan Knegt
authored
Update README.md
1 parent e425f7a commit e02f8ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ from load_LIDC_data import LIDC_IDRI
4646
dataset = LIDC_IDRI(dataset_location = 'insert_path_here')
4747
dataset_size = len(dataset)
4848
indices = list(range(dataset_size))
49-
split = int(np.floor(test_split * dataset_size))
49+
split = int(np.floor(0.1 * dataset_size))
5050
np.random.shuffle(indices)
5151
train_indices, test_indices = indices[split:], indices[:split]
5252
train_sampler = SubsetRandomSampler(train_indices)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /