Comments (3)
Hi @coolcodecamper,
As you say we are just now taking the first steps in getting this implemented. As we have limited experience in using the derivatives we are not sure what would be the ideal output shape.
Currently we were planning an output with shape [n_atoms, 3, n_features] (the second dimension goes over x, y, z components). Do you think that a 2D Jacobian matrix would be a better solution instead of this kind of 3D Jacobian? On one hand 2D output would nice as it can very simply be provided both as sparse and dense arrays (scipy sparse matrices can only be 2D). On the other hand, I think that having a better separation between the output components would make their usage easier.
Additionally, local descriptors like SOAP are typically calculated at several different locations in an atomic system. This means that we need one extra dimension in the derivatives output for each of these locations.
Your input is very much appreciated. Also others are very welcome to join this discussion.
from dscribe.
I am happy as long as the output is some numpy array containing all derivatives in a logical consistent shape. Then it should be straight-forward to reshape the output to 2D. In my case, I compute local descriptors for all atomic positions and flatten the output. So again my Jacobian is 2D.
I guess you are on the right track as it is probably easier to reduce dimensions of multi-dimensional output, than the increase dimensions of low-dimensional output.
from dscribe.
In 1.0.0 the derivatives are available for all atoms and multiple systems (currently SOAP only). We chose to return the derivatives as multi-dimensional arrays since this way as much of the layout information is preserved and it is easy to relayout it to whatever form you want. Closing for now.
from dscribe.
Related Issues (20)
- Is it possible to parallelize `lmbtr.create` when working on one `ase.Atoms` object? HOT 3
- Error with np.str (NumPy >= 1.24) HOT 1
- Descriptor that recognizes each atom of the same species differently HOT 1
- The example in README.md is not correct HOT 1
- [Bug] Error in SOAP derivatives when using weighting. HOT 2
- API compatibility is broken since 0696656 HOT 1
- ACSF.create cannot accept cartesian positions as "centers" parameter HOT 2
- Numpy operations on sparsed derivatives HOT 5
- Similarity based on Average kernel obtain deferent value between each atom and its replica atoms. HOT 1
- Similarity value is different between equivalent atoms HOT 5
- Segmentation fault in SOAP for l_max > 9 HOT 2
- Analytic Integral of SH expansion coefficients HOT 2
- SOAP polynomial RBF error HOT 3
- issue with "species" HOT 2
- `CoulombMatrix(permutation="sorted_l2")` is not symmetric HOT 5
- Naming incosistency of rcut in SOAP and MBTR HOT 2
- Potential memory leak in MBTR HOT 2
- Analytical derivatives of SOAP HOT 4
- Identical geometry but similarity < 1 HOT 4
- Numerical SOAP derivatives for periodic systems HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dscribe.