Question about the variables ("e_form_2000" and "e_form_500") in "analyze_chgnet.py" file #80
-
Hi, e_form_2000 = "e_form_per_atom_chgnet_relax_steps_2000"
e_form_500 = "e_form_per_atom_chgnet_relax_steps_500"
min_e_diff = 0.1
# structures with smaller energy after longer relaxation need many steps
df_long = df_chgnet.query(f"{e_form_2000} - {e_form_500} < -{min_e_diff}")
# structures with larger energy after longer relaxation are problematic
df_bad = df_chgnet.query(f"{e_form_2000} - {e_form_500} > {min_e_diff}")
# both combined
df_diff = df_chgnet.query(f"abs({e_form_2000} - {e_form_500}) > {min_e_diff}") |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
that code is a bit outdated. the columns matbench-discovery/models/chgnet/analyze_chgnet.py Lines 25 to 35 in 3118330 feel free to submit a bug fix PR. that said, this analysis was only to check how much effect the max length of MLFF relaxation trajectory has on the ML final energy. answer: not that much. so you could just remove the failing code. |
Beta Was this translation helpful? Give feedback.
that code is a bit outdated. the columns
e_form_(500|2000)
can be found in thedf_chgnet_v020
dataframe that's loaded right above the snippet you posted.matbench-discovery/models/chgnet/analyze_chgnet.py
Lines 25 to 35 in 3118330