.. index:: pair: struct; pot::ActiveGPConfig .. _doxid-structpot_1_1_active_g_p_config: struct pot::ActiveGPConfig ========================== .. toctree:: :hidden: Overview ~~~~~~~~ Learn-on-the-fly surrogate that IS a potential. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct ActiveGPConfig { // fields double :ref:`sigma_lo_factor` = 1.0; double :ref:`sigma_hi_factor` = 20.0; double :ref:`certify_below_force` = 0.0; std::uint64_t :ref:`refit_training_revisions` = 5; }; .. _details-structpot_1_1_active_g_p_config: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Learn-on-the-fly surrogate that IS a potential. A caller that can hold a potential can hold this: force() answers from the Gaussian process when the posterior is resolved and delegates to the oracle when it is not, so eOn, ASE, or any driver gets active learning without owning a loop. The gate is two-sided and self-referential, in multiples of the model's own likelihood noise (FLARE/VASP/DP-GEN prior art): under ~sigma_lo~ the GP answers; between ~sigma_lo~ and ~sigma_hi~ the oracle is called and the row is learned; above ~sigma_hi~ the geometry is treated as unresolvable garbage the oracle still answers, but the row is not incorporated. Acquisition and incorporation are split. An oracle result is returned verbatim the moment it is obtained (acquisition, always allowed) while the refit that changes the surface happens only at a declared boundary: a batch call, an explicit hint, or the training-revision cadence inside the session. Drivers that keep quasi-Newton history can therefore trust that the surface is constant between epoch changes; modelState() reports the epoch. Gate and cadence settings for [``:ref:`ActiveGP ```]. Fields ------ .. index:: pair: variable; sigma_lo_factor .. _doxid-structpot_1_1_active_g_p_config_1a94b0db3267706032d0b589a19a1feddf: .. ref-code-block:: cpp :class: doxyrest-title-code-block double sigma_lo_factor = 1.0 Delegate above this multiple of the likelihood noise sigma. .. index:: pair: variable; sigma_hi_factor .. _doxid-structpot_1_1_active_g_p_config_1ab20f5c2b564cfba5c668c34797edec3e: .. ref-code-block:: cpp :class: doxyrest-title-code-block double sigma_hi_factor = 20.0 Above this multiple the geometry is not learned from. .. index:: pair: variable; certify_below_force .. _doxid-structpot_1_1_active_g_p_config_1af66eb84e749b37067098f3b055d6fb2b: .. ref-code-block:: cpp :class: doxyrest-title-code-block double certify_below_force = 0.0 A GP force magnitude under this triggers an unconditional oracle call, so a driver's convergence claim is always backed by ground truth (FINETUNA relaxed-only rule). Non-positive disables the certificate. .. index:: pair: variable; refit_training_revisions .. _doxid-structpot_1_1_active_g_p_config_1afc235aa4e999f74c0744b4ed605e7d56: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::uint64_t refit_training_revisions = 5 Refit cadence in training-set appends, forwarded to the session. Zero refits at every incorporation boundary.