This repository has been archived by the owner on Apr 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 156
Train the model for customised train-test split #281
Comments
@kdmsit can you be more specific? Please see the example notebooks for how to use the models. Also the megnet model predicts intensive properties so for extensive properties you will need to convert it to a per-atom quantity |
I am using the fo0llowing code snippet for it:
|
@kdmsit I don't see an issue in the code. In general, you need to check whether the target properties are intensive and whether or not they can be predicted from the structure. Please provide more details if you still cannot find the solutions. |
If it is only MP structures, formation energy and band gap, those should be fairly easy to train. https://github.com/materialsvirtuallab/megnet/blob/master/notebooks/crystal_example.ipynb Check this for example. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have around 40K crystal data from the materials project database in .cif file format. I want to train the megnet model from scratch using my own train test split (e.g train 20% test 80%) for formation energy and bandgap property. Could you please help me, how to do that?
The text was updated successfully, but these errors were encountered: