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 data split #151

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Fix data split #151

wants to merge 4 commits into from

Conversation

kntkb
Copy link
Contributor

@kntkb kntkb commented Apr 20, 2023

This PR fixes #150 and #149

import espaloma as esp

RANDOM_SEED = 1234
path = "../../../exploring-rna/refit-espaloma/openff-default/02-train/merge-data/openff-2.0.0_filtered/pepconf-dlc"
ds = esp.data.dataset.GraphDataset.load(path).shuffle(RANDOM_SEED)
ds_tr, ds_vl, ds_te = ds.split([0.8, 0.1, 0.1])
print(len(ds), len(ds_tr), len(ds_vl), len(ds_te))

>>557 445 56 56

@codecov-commenter
Copy link

codecov-commenter commented Apr 20, 2023

Codecov Report

❗ No coverage uploaded for pull request base (main@7165038). Click here to learn what that means.
The diff coverage is n/a.

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.

Docstring for sequential.py is outdated
3 participants