pub struct BayesianOptConfig {
pub max_evaluations: usize,
pub initial_random_evaluations: usize,
pub acquisition_function: AcquisitionFunction,
pub acquisition_restarts: usize,
pub gp_config: GaussianProcessConfig,
pub seed: Option<u64>,
pub device: Arc<CpuDevice>,
pub verbose: bool,
}Expand description
Configuration for Bayesian optimization
Fields§
§max_evaluations: usizeMaximum number of function evaluations
initial_random_evaluations: usizeNumber of initial random evaluations
acquisition_function: AcquisitionFunctionAcquisition function to use
acquisition_restarts: usizeNumber of optimization restarts for acquisition function
gp_config: GaussianProcessConfigGaussian Process hyperparameters
seed: Option<u64>Random seed for reproducibility
device: Arc<CpuDevice>Device for computations
verbose: boolVerbose output
Trait Implementations§
Source§impl Clone for BayesianOptConfig
impl Clone for BayesianOptConfig
Source§fn clone(&self) -> BayesianOptConfig
fn clone(&self) -> BayesianOptConfig
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 BayesianOptConfig
impl Debug for BayesianOptConfig
Auto Trait Implementations§
impl Freeze for BayesianOptConfig
impl !RefUnwindSafe for BayesianOptConfig
impl Send for BayesianOptConfig
impl Sync for BayesianOptConfig
impl Unpin for BayesianOptConfig
impl UnsafeUnpin for BayesianOptConfig
impl !UnwindSafe for BayesianOptConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more