pub struct TPEConfig {
pub n_initial_points: usize,
pub n_calls: usize,
pub gamma: Float,
pub n_ei_candidates: usize,
pub random_state: Option<u64>,
}Expand description
Configuration for TPE optimizer
Fields§
§n_initial_points: usizeNumber of initial random samples
n_calls: usizeTotal number of function evaluations
gamma: FloatQuantile to separate good and bad observations
n_ei_candidates: usizeNumber of candidate points to evaluate
random_state: Option<u64>Random seed
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TPEConfig
impl RefUnwindSafe for TPEConfig
impl Send for TPEConfig
impl Sync for TPEConfig
impl Unpin for TPEConfig
impl UnwindSafe for TPEConfig
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