Skip to content

Conversation

cschran
Copy link

@cschran cschran commented Feb 24, 2023

This PR implements two additional weights to be considered in the loss function of NNP optimizations.

Configurations can be weighted with a new keyword weight in the input.data file as proposed in #91.
Individual atomic force components can be weighted via the unused 6th column of the atom keyword in input.data.

The PR works as expected, but there are two aspects that require discussion:

  1. In order to restore default behavior for existing data sets, atomic force weights of 0 are converted to 1.
  2. Weights are only applied on the error and not in the Jacobian, as the latter one introduced deteriorating quality.

Resolves #91, resolves #121.

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.

Training with forces - using only certain atoms Weighting different training data
1 participant