-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adaptive trust levels #495
Conversation
Codecov Report
@@ Coverage Diff @@
## devel #495 +/- ##
==========================================
- Coverage 33.00% 32.91% -0.10%
==========================================
Files 86 86
Lines 14567 14629 +62
==========================================
+ Hits 4808 4815 +7
- Misses 9759 9814 +55
Continue to review full report at Codecov.
|
* support adaptive trust level * update README * fix bugs in readme * adaptive lower trust level support percentage of total number of frames Co-authored-by: Han Wang <wang_han@iapcm.ac.cn>
fp_rest_failed.append([tt, cc, jj]) | ||
counter['failed'] += len(idx_rest_failed) | ||
|
||
return fp_rest_accurate, fp_candidate, fp_rest_failed, counter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fp_rest_accurate
and fp_rest_failed
are unbounded when detailed_report_make_fp
is False
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
expected to be []
s ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any value is fine as they are not used anywhere else.
Adaptively determines lower trust levels. In the input file one set the following keys to enable the adaptive trust levels.
Note that with
model_devi_adapt_trust_lo == true
themodel_devi_f_trust_lo
andmodel_devi_v_trust_lo
will be ignored.For each system, the
dpgen
makes two sets:model_devi_f_trust_hi
, selectmax(model_devi_numb_candi_f, model_devi_perc_candi_f*n_frames)
frames with largest force model deviation.model_devi_v_trust_hi
, selectmax(model_devi_numb_candi_v, model_devi_perc_candi_v*n_frames)
frames with largest virial model deviation.and then unite the two sets as the candidate set. The lowest model deviations of the candidate set are treated as lower trust levels.
The adapted lower trust levels are printed so the convergence of
dpgen
can be checked as the change of lower levels in iterations.