-
Notifications
You must be signed in to change notification settings - Fork 19
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
VisibleDeprecationWarning
in weight class
#116
Comments
Hi @ipcamit.
The equation in the documentation is for per data point. If we apply this change, I think we also need to apply additional minor change, for example to L146-L148
and to L165-L167
Note that I haven't tested these suggestions. The reason is that for a configuration with N atoms, |
@yonatank93 you seem updated the Weight class in the just merged PR. Is the issue reported by @ipcamit resolved there? |
Yes, I did. I think it is resolved. |
Also, we need to update the Weight class such that the input shape of
Since @ipcamit is adapting for the new workflow, we do not need to modify it now. But once the new stuff is functioning, we need to get back to this. |
Line 177 in
kliff.dataset.weight
module is giving the following error in Python > 3.9, and error in Python >3.10originating here:
@yonatank93 I am currently adapting it for new workflow, can you please tell what is the expected behavior of this, so I can modify it accordingly?
Does this captures your intent correctly? :
Both functions give identical results.
But as per the equation defined in
MagnitudeInverseWeight
here: https://kliff.readthedocs.io/en/latest/modules/dataset.html#magnitude-inverse-weightI think it should be:
The text was updated successfully, but these errors were encountered: