Skip to content
Discussion options

You must be logged in to vote
solver = BLR()  # (for example)
data_keys = (energy_key = "energy", force_key = "forces", virial_key = "stress")
acefit!(model, datatrain; solver=solver, data_keys...)

the data_keys tuple specifies under which key to find the training data. See e.g. in [this tutorial].

Here, I'm naively assuming that stress = virial, which is technically false. So if this is the actual stress, then you need to first go through all training data, rescale it, write it into a new field "virial" and adapt the script.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@cortner
Comment options

Comment options

You must be logged in to vote
1 reply
@cortner
Comment options

Answer selected by od-qmul
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants