choderalab / espaloma

Extensible Surrogate Potential of Ab initio Learned and Optimized by Message-passing Algorithm 🍹https://arxiv.org/abs/2010.01196
https://docs.espaloma.org/en/latest/
MIT License
213 stars 25 forks source link

Summaries to include in report.md generators #3

Open maxentile opened 4 years ago

maxentile commented 4 years ago

The report generators in supervised_train.py and supervised_param_train.py are great! They make it much easier to browse results of the numerical experiments @yuanqing-wang has been doing.

A wishlist for things that would be good to include in the future iterations of the report generator:

maxentile commented 4 years ago
maxentile commented 4 years ago
yuanqing-wang commented 4 years ago

atom_k and atom_eq should be renamed to epsilon and sigma or similar.

this was just my shorthand to enable us to loop through terms like:

for term in ['atom', 'angle', 'bond']:
    for param in ['eq', 'k']:
maxentile commented 4 years ago

Yeah, noticed that in a few places, would need to refactor slightly so we have something like parameter_names['atom'] = ['sigma', 'epsilon', 'charge'], parameter_names['torsion'] = ['periodicities', 'force_constants', 'phase_offsets'], ..., or similar, and then say

for term in ['atom', 'angle', 'bond', 'torsion']:
   for param in parameter_names[term]:
yuanqing-wang commented 4 years ago

let's port some of the report-generating schemes that I implemented here

https://github.com/choderalab/pinot/tree/master/pinot/app

maxentile commented 4 years ago

Nice! Looks like something in this direction may be an improvement: would separate the computation of summary statistics from the generation of formatted reports, which are currently intertwined.

A couple minor comments: