|
PineForge HPO 0.1.0
Native hyperparameter optimization for PineForge strategies
|
Minimal pull-based interface shared by candidate samplers. More...
#include <pineforge/hpo/sampler.hpp>
Inheritance diagram for pineforge::hpo::Sampler:Public Member Functions | |
| virtual | ~Sampler ()=default |
| virtual std::optional< Candidate > | next ()=0 |
Returns the next candidate, or std::nullopt when the configured budget is exhausted. | |
| virtual void | reset ()=0 |
| Restores the sampler's seeded initial state. | |
| virtual std::uint64_t | generated () const noexcept=0 |
| Returns the number of candidates issued since construction or the last reset. | |
Minimal pull-based interface shared by candidate samplers.
Definition at line 14 of file sampler.hpp.
|
virtualdefault |
|
pure virtualnoexcept |
Returns the number of candidates issued since construction or the last reset.
Implemented in pineforge::hpo::GridSampler, pineforge::hpo::RandomSampler, pineforge::hpo::TpeSampler, and pineforge::hpo::DlibGlobalSampler.
|
pure virtual |
Returns the next candidate, or std::nullopt when the configured budget is exhausted.
Implemented in pineforge::hpo::GridSampler, pineforge::hpo::RandomSampler, pineforge::hpo::TpeSampler, and pineforge::hpo::DlibGlobalSampler.
|
pure virtual |
Restores the sampler's seeded initial state.
Implemented in pineforge::hpo::GridSampler, pineforge::hpo::RandomSampler, pineforge::hpo::TpeSampler, and pineforge::hpo::DlibGlobalSampler.