Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix dataset split into train/val/test #675

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

Maltimore
Copy link
Collaborator

There's a bug that only occurs if data.num_test is not None (it is None by default).

Currently, the indices for train/val/test are only picked from the first num_train + num_val + num_test samples in the dataset. For instance, if I set all of the three values to 1, then the only dataset indices considered will be 0, 1, 2.

Also the docstring had some issues.

@jnsLs jnsLs merged commit 37f9282 into atomistic-machine-learning:master Nov 26, 2024
1 check passed
@Maltimore Maltimore deleted the fix_splitting branch November 30, 2024 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants