Comments (10)
Hi @StevenAlice93,
Sure, there are several options. I would encourage you to read our Open Access article: https://doi.org/10.1016/j.cpc.2019.106949
In short: MBTR, sine matrix, Ewald sum matrix work natively for crystals, ACSF and SOAP also work with a few tricks.
from dscribe.
Well done! Thank you! I want to know how to use it to transform the POSCAR into descriptors, and I don't find the API to do that.
from dscribe.
You can use ASE for reading structures from POSCAR files. The resulting Atoms
object can then be used directly by dscribe
.
from dscribe.
Dear lauri-codes,
Oh, thank you! I got it.
I have a another question: if I have two moleculars CH4 and H20, and I use the ACSF Class to get descriptors for them, I will get a numpy array with shape (3, 36) for H20 and a numpy array with shape (5,36) for CH4. For many machine learning models, they only accept these samples with the same length descriptors, so how do I input these descriptors input a machine learning model?
Thank you for your reply!
Best wishes!
from dscribe.
Hi @StevenAlice93,
I have just added a basic tutorial that should cover your questions.
from dscribe.
Closing for now.
from dscribe.
from dscribe.
Hi @zhanzghang,
The contents of formation_energy.extxyz come from OQMD 1.1. I created those files by using the SQL database that can be downloaded from http://oqmd.org.
from dscribe.
Dear Lauri,
when I used the Coulomb Matrix and Sine matrix to create the descriptor, it appeared 'ValueError: index can't contain negative values'. And I used the atoms to create the structure, included the Cartesian coordinates I have used in the 'position' for atoms, that really had some negative values. That's the reason for 'ValueError: index can't contain negative values'?
Thanks much for your time!
from dscribe.
Hi, @zhanzghang
The positions can certainly include negative values. The problem must be somewhere else. Could you include a minimal non-working example as a code snippet?
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
- MBTR HOT 3
- ACSF G5 values HOT 1
- Segmentation fault in creation of SOAP descriptor HOT 3
- 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.