chemparseplot.parse.surrogate.model#
Producer-independent records of surrogate-assisted saddle searches.
A surrogate-assisted search spends calls on an expensive oracle (the true potential) and answers the rest from a fitted surrogate. The classes here hold what a plot needs, whichever code produced it. NaN marks a quantity the producer did not record.
Units: energy in eV, force in eV/A, length in A, curvature in eV/A^2, time in s.
.. versionadded:: 1.10.0
Module Contents#
Classes#
A path of images at one outer iteration. |
|
Oracle observations in acquisition order. |
|
One decision to call the oracle. |
|
Two-ended search: path snapshots, observations and decisions. |
|
Per-outer (or per-call) series of a search. |
|
Dimer-type search against oracle calls. |
|
One reaction of a campaign. |
|
One row per reaction, plus calls of comparison methods. |
|
Time against worker count for several series. |
|
All records of one search, with provenance. |
|
Fixed-work efficiency factors of one cell, one row per layout. |
|
Median seconds per component of the wall, per cell and layout. |
Functions#
API#
- class chemparseplot.parse.surrogate.model.BandSnapshot[source]#
A path of images at one outer iteration.
coordinateis the path coordinate in A (0 at the reactant);sigmaandtrue_*hold NaN where not recorded or not evaluated.- coordinate: numpy.ndarray#
None
- energy: numpy.ndarray#
None
- property evaluated: numpy.ndarray#
- class chemparseplot.parse.surrogate.model.EvaluatedPoints[source]#
Oracle observations in acquisition order.
- energy: numpy.ndarray#
None
- class chemparseplot.parse.surrogate.model.AcquisitionEvent[source]#
One decision to call the oracle.
- class chemparseplot.parse.surrogate.model.BandHistory[source]#
Two-ended search: path snapshots, observations and decisions.
- snapshots: list[chemparseplot.parse.surrogate.model.BandSnapshot]#
‘field(…)’
- points: chemparseplot.parse.surrogate.model.EvaluatedPoints | None#
None
- reference: chemparseplot.parse.surrogate.model.BandSnapshot | None#
None
- events: list[chemparseplot.parse.surrogate.model.AcquisitionEvent]#
‘field(…)’
- class chemparseplot.parse.surrogate.model.SearchHistory[source]#
Per-outer (or per-call) series of a search.
serieskeys use the standard namesoracle_calls,outer,true_force,surrogate_force,surrogate_force_sigma,energy,n_train,magnitude_sigma2,noise_sigma2,length_scale_min,length_scale_max,time_refit,time_predict,time_inner,rss_mb. Missing quantities are absent, never zero-filled.- events: list[chemparseplot.parse.surrogate.model.AcquisitionEvent]#
‘field(…)’
- property oracle_calls: numpy.ndarray#
- class chemparseplot.parse.surrogate.model.SingleEndedHistory[source]#
Dimer-type search against oracle calls.
- oracle_calls: numpy.ndarray#
None
- force: numpy.ndarray#
None
- curvature: numpy.ndarray#
None
- escape: list[chemparseplot.parse.surrogate.model.AcquisitionEvent]#
‘field(…)’
- class chemparseplot.parse.surrogate.model.CampaignTable[source]#
One row per reaction, plus calls of comparison methods.
- cells: list[chemparseplot.parse.surrogate.model.CellRecord]#
None
- class chemparseplot.parse.surrogate.model.ScalingTable[source]#
Time against worker count for several series.
referencenames the series whose first point defines speedup 1 for all series; without it each series is measured against its own first point.
- class chemparseplot.parse.surrogate.model.SurrogateSearch[source]#
All records of one search, with provenance.
- band: chemparseplot.parse.surrogate.model.BandHistory | None#
None
- search: chemparseplot.parse.surrogate.model.SearchHistory | None#
None
- single_ended: chemparseplot.parse.surrogate.model.SingleEndedHistory | None#
None
- cell: chemparseplot.parse.surrogate.model.CellRecord | None#
None
- class chemparseplot.parse.surrogate.model.PopTable[source]#
Fixed-work efficiency factors of one cell, one row per layout.
layoutsareranks x threadslabels sorted by cores then threads,coresthe matching core counts,timethe wall of each layout andmetricsone array per factor name, every value a fraction in [0, 1]. Speedup and fixed-work (global) efficiency follow fromtimeagainst the layout with the fewest cores.- cores: numpy.ndarray#
None
- time: numpy.ndarray#
None
- class chemparseplot.parse.surrogate.model.ComponentTable[source]#
Median seconds per component of the wall, per cell and layout.
componentskeeps the order of the file;parts[(cell, layout)]maps each component to its median seconds over repetitions andtotal[(cell, layout)]holds the whole wall. The part of the total no component accounts for isunattributed.