pub struct OptimizationStep {
pub iteration: usize,
pub params: Vec<f64>,
pub fitness: f64,
pub surrogate_mean: f64,
pub surrogate_std: f64,
}Expand description
One step of the Bayesian optimization trace.
Fields§
§iteration: usizeIteration index (0 = best of the initial random samples).
params: Vec<f64>Evaluated parameters.
fitness: f64Observed fitness.
surrogate_mean: f64Surrogate mean at the chosen point.
surrogate_std: f64Surrogate std at the chosen point.
Trait Implementations§
Source§impl Clone for OptimizationStep
impl Clone for OptimizationStep
Source§impl Debug for OptimizationStep
impl Debug for OptimizationStep
Source§impl<'de> Deserialize<'de> for OptimizationStep
impl<'de> Deserialize<'de> for OptimizationStep
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 OptimizationStep
impl RefUnwindSafe for OptimizationStep
impl Send for OptimizationStep
impl Sync for OptimizationStep
impl Unpin for OptimizationStep
impl UnsafeUnpin for OptimizationStep
impl UnwindSafe for OptimizationStep
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