rgpycrumbs.surrogate.plt_history

Draw convergence and model diagnostics of a surrogate-assisted search.

Added in version 1.12.0.

For one search directory:

  • convergence: max atomic force against oracle calls (true force over the evaluated images, the surrogate’s prediction, the climbing image, the tolerance), acquisition decisions below the axis, training-set size below;

  • diagnostics: kernel amplitude and noise, length scales, training rows and seconds per outer iteration.

With --against OTHER the two searches are compared on one set of axes with a stacked ledger of oracle calls by phase, which is the view that shows where one run spent calls the other did not:

rgpycrumbs surrogate plt-history rec_new/baker/25_hcnh2 -o figs/h
rgpycrumbs surrogate plt-history rec_old/baker/25_hcnh2 --against rec_new/baker/25_hcnh2 -o figs/hcnh2-regression

Attributes

Functions

main(*, search, prefix, producer, against, label, ...)

Draw convergence and diagnostics for SEARCH.

Module Contents

rgpycrumbs.surrogate.plt_history.warn_on_direct_script_import = None[source]
rgpycrumbs.surrogate.plt_history.main(*, search, prefix, producer, against, label, against_label, xaxis, fmt, dpi, font, font_dirs, title, legend_fontsize)[source]

Draw convergence and diagnostics for SEARCH.