pub struct ConvergenceMetrics {
pub improvement_rate: f64,
pub relative_improvement: f64,
pub absolute_improvement: f64,
pub patience_remaining: usize,
pub iterations_since_best: usize,
pub ema_score: f64,
pub current_score: f64,
}Expand description
Convergence metrics for monitoring optimization progress
Fields§
§improvement_rate: f64Rate of improvement in recent iterations
relative_improvement: f64Relative improvement in the last iteration
absolute_improvement: f64Absolute improvement in the last iteration
patience_remaining: usizeNumber of patience iterations remaining
iterations_since_best: usizeNumber of iterations since best score
ema_score: f64Current exponential moving average score
current_score: f64Most recent score
Trait Implementations§
Source§impl Clone for ConvergenceMetrics
impl Clone for ConvergenceMetrics
Source§fn clone(&self) -> ConvergenceMetrics
fn clone(&self) -> ConvergenceMetrics
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 moreAuto Trait Implementations§
impl Freeze for ConvergenceMetrics
impl RefUnwindSafe for ConvergenceMetrics
impl Send for ConvergenceMetrics
impl Sync for ConvergenceMetrics
impl Unpin for ConvergenceMetrics
impl UnwindSafe for ConvergenceMetrics
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