pub struct BayesianSampler { /* private fields */ }Expand description
Bayesian optimization sampler using Tree-Parzen Estimator (TPE).
For the first n_startup trials, samples randomly. After that,
uses the history of (params, metric) to model “good” vs “bad”
parameter distributions and samples from the “good” distribution.
This is a simplified TPE: it splits trials into top/bottom quantiles and samples from the top quantile’s parameter distributions.
Implementations§
Trait Implementations§
Source§impl Sampler for BayesianSampler
impl Sampler for BayesianSampler
Auto Trait Implementations§
impl Freeze for BayesianSampler
impl RefUnwindSafe for BayesianSampler
impl Send for BayesianSampler
impl Sync for BayesianSampler
impl Unpin for BayesianSampler
impl UnsafeUnpin for BayesianSampler
impl UnwindSafe for BayesianSampler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more