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

Add computing Hessians using MBTR forcefield #8

Merged
merged 8 commits into from
Sep 13, 2023
Merged

Add computing Hessians using MBTR forcefield #8

merged 8 commits into from
Sep 13, 2023

Conversation

WardLT
Copy link
Member

@WardLT WardLT commented Sep 13, 2023

A first stab at training an interatomic potential and using that to compute Hessians.

@WardLT WardLT merged commit b7d6b6a into main Sep 13, 2023
2 checks passed
snelliott pushed a commit to snelliott/faster-molecular-hessians that referenced this pull request Nov 17, 2023
* Add a ASE calculator for MBTR

* Move back to Py3.9 for dscribe

I get an error "from collections import Iterable" stemming
from the sparse module used by dscribe

* Add force computation

* Add ability to compute Hessian from MBTR

* Remove unused import

* Add an example notebook with MBTR

* Adjust the scale to be a unit normal

Should reduce the likelihood of numerical issues

* Update proof-of-concept with more data, better KRR
WardLT added a commit that referenced this pull request Dec 4, 2023
* see freqs

* Add computing Hessians using MBTR forcefield (#8)

* Add a ASE calculator for MBTR

* Move back to Py3.9 for dscribe

I get an error "from collections import Iterable" stemming
from the sparse module used by dscribe

* Add force computation

* Add ability to compute Hessian from MBTR

* Remove unused import

* Add an example notebook with MBTR

* Adjust the scale to be a unit normal

Should reduce the likelihood of numerical issues

* Update proof-of-concept with more data, better KRR

* Allow use of MOPAC in proof of concept (#13)

* Separate notebooks for exact answer, steps in fitting (#14)

* Add utility for making calculator

Avoid copying code between notebooks

* Separate exact, sampling and approximation

* Accept "None" as an option

* Sample as if computing numerical derivatives  (#17)

* Start notebook for displacing along axes

* Add code for combining perturbations into single tasks

* Add example of using this new data

* Refactor and add linear terms

Fixes #2
Fixes #4

* Make the second-order terms 1/2 the first order

* Update with the newer model

* Update the proof of concept notebooks

* see freqs

* internal coordinate model

* flake8 cleanup

* added pytest for internals

* more flake8 cleanup

* geometric package to convert to internal coordinates

---------

Co-authored-by: snelliott <[email protected]>
Co-authored-by: Logan Ward <[email protected]>
Co-authored-by: Logan Ward <[email protected]>
WardLT added a commit that referenced this pull request Dec 4, 2023
* Refactor and add linear terms

Fixes #2
Fixes #4

* Make the second-order terms 1/2 the first order

* Update with the newer model

* Update the proof of concept notebooks

* use internal coordinates in linear model (linear_internals.py) (#25)

* see freqs

* Add computing Hessians using MBTR forcefield (#8)

* Add a ASE calculator for MBTR

* Move back to Py3.9 for dscribe

I get an error "from collections import Iterable" stemming
from the sparse module used by dscribe

* Add force computation

* Add ability to compute Hessian from MBTR

* Remove unused import

* Add an example notebook with MBTR

* Adjust the scale to be a unit normal

Should reduce the likelihood of numerical issues

* Update proof-of-concept with more data, better KRR

* Allow use of MOPAC in proof of concept (#13)

* Separate notebooks for exact answer, steps in fitting (#14)

* Add utility for making calculator

Avoid copying code between notebooks

* Separate exact, sampling and approximation

* Accept "None" as an option

* Sample as if computing numerical derivatives  (#17)

* Start notebook for displacing along axes

* Add code for combining perturbations into single tasks

* Add example of using this new data

* Refactor and add linear terms

Fixes #2
Fixes #4

* Make the second-order terms 1/2 the first order

* Update with the newer model

* Update the proof of concept notebooks

* see freqs

* internal coordinate model

* flake8 cleanup

* added pytest for internals

* more flake8 cleanup

* geometric package to convert to internal coordinates

---------

Co-authored-by: snelliott <[email protected]>
Co-authored-by: Logan Ward <[email protected]>
Co-authored-by: Logan Ward <[email protected]>

* Remove only notebook directory

We can recreate these in the new directory structure if need be

* Move the exact answer to be the first dir

Also remove some temporary files

* Skip accuracy test for Harmonic on cartesian

* Make the test even more lenient

It fails randomly

* Remove deprecated file

---------

Co-authored-by: Sarah Elliott <[email protected]>
Co-authored-by: snelliott <[email protected]>
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.

1 participant