#include <gpr/policy/TrainingPolicy.h>
Public Member Functions | |
| VarianceThresholdPolicy (double variance_threshold) | |
| double | variance_threshold () const noexcept |
| bool | should_call_oracle (const SearchState &state) const override |
| True asks the engine to make the call it was about to make. | |
| Public Member Functions inherited from gpr::policy::TrainingPolicy | |
| virtual | ~TrainingPolicy ()=default |
| virtual std::vector< int > | select_training_points (const std::vector< CandidatePoint > &candidates, const std::vector< Eigen::VectorXd > ¤t_set) const |
| virtual bool | should_retrain_hyperparameters (const SearchState &state) const |
| virtual bool | should_rebuild_factor (const SearchState &state) const |
| virtual std::vector< int > | retain_training_rows (const std::vector< Eigen::VectorXd > &rows) const |
Call the oracle only when the posterior energy variance is strictly above variance_threshold (eV^2). A non-finite variance means the engine has no posterior yet, and the engine's own decision stands.
Definition at line 504 of file TrainingPolicy.h.
|
inlineexplicit |
Definition at line 506 of file TrainingPolicy.h.
|
inlineoverridevirtual |
True asks the engine to make the call it was about to make.
Reimplemented from gpr::policy::TrainingPolicy.
Definition at line 521 of file TrainingPolicy.h.
|
inlinenodiscardnoexcept |
Definition at line 516 of file TrainingPolicy.h.