refactoring HDF5Dataset class to check and convert units.#301
refactoring HDF5Dataset class to check and convert units.#301wiederm merged 3 commits intochoderalab:mainfrom
Conversation
wiederm
left a comment
There was a problem hiding this comment.
Looks great! Thanks for the quick fix!
I think that's fine. I can't imagine a scenario in which partial charges as input features might be relevant. Even if we were to train on a particular partial charge scheme, we would still do it using element-specific electron negativity as input (which is fixed and can be put inside the model). |
|
It might be good to add a test that checks that the first datapoint in each dataset has the correct implied units for energies and forces |
This is a good idea. I'll need to create a new, fake dataset to do this sort of testing. I can do this in a separate PR (especially since this is merged). |
Pull Request Summary
This address the issue related to the force units being off (per angstrom, not per nanometer) in the datasets.
Key changes
Questions
Associated Issue(s)
Pull Request Checklist