You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the numerical and analytical derivatives only match when no weighting function is used, and with weighting only the numerical derivatives result in correct force predictions for my model.
Also, if r_cut is decreased the error grows, which I believe is because the slope of the weighting function is steeper.
So all of this indicates that the analytical derivatives don't take the weight function into account.
Versions
dscribe version: 2.0.0
numpy version: 1.23.5
ase version: 3.23.0b1
The text was updated successfully, but these errors were encountered:
Thanks for the report. I believe that analytical derivatives are not implemented for weighting. An exception should be raised if the user requests analytical derivatives with weighting turned on. I will implement a fix for this.
Hey.
I have been playing around with SOAP but could not obtain the result I was expecting.
I believe I have narrowed this down to an issue with weighting not being taken into account for derivatives:
The following code reproduces my error:
For which I get:
So the numerical and analytical derivatives only match when no weighting function is used, and with weighting only the numerical derivatives result in correct force predictions for my model.
Also, if
r_cut
is decreased the error grows, which I believe is because the slope of the weighting function is steeper.So all of this indicates that the analytical derivatives don't take the weight function into account.
Versions
dscribe version: 2.0.0
numpy version: 1.23.5
ase version: 3.23.0b1
The text was updated successfully, but these errors were encountered: