pub struct OptimizerConfig {
pub bounds: Vec<(f64, f64)>,
pub acquisition: AcquisitionFunction,
pub length_scale: f64,
pub signal_variance: f64,
pub noise_variance: f64,
pub n_candidates: usize,
pub seed: u64,
}Expand description
Configuration for Bayesian optimizer.
Fields§
§bounds: Vec<(f64, f64)>Parameter bounds: (min, max) for each dimension.
acquisition: AcquisitionFunctionAcquisition function to use.
length_scale: f64Length scale for RBF kernel.
signal_variance: f64Signal variance for GP.
noise_variance: f64Noise variance (observation noise).
n_candidates: usizeNumber of random samples for acquisition optimization.
seed: u64RNG seed for reproducibility.
Trait Implementations§
Source§impl Clone for OptimizerConfig
impl Clone for OptimizerConfig
Source§fn clone(&self) -> OptimizerConfig
fn clone(&self) -> OptimizerConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OptimizerConfig
impl Debug for OptimizerConfig
Source§impl Default for OptimizerConfig
impl Default for OptimizerConfig
Source§impl<'de> Deserialize<'de> for OptimizerConfig
impl<'de> Deserialize<'de> for OptimizerConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OptimizerConfig
impl RefUnwindSafe for OptimizerConfig
impl Send for OptimizerConfig
impl Sync for OptimizerConfig
impl Unpin for OptimizerConfig
impl UnsafeUnpin for OptimizerConfig
impl UnwindSafe for OptimizerConfig
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