pub struct OptimizationHistory {
pub parameters: Vec<Vec<f64>>,
pub loss_values: Vec<f64>,
pub gradient_norms: Vec<f64>,
pub iteration_times: Vec<f64>,
pub total_iterations: usize,
pub converged: bool,
}
Expand description
Optimization history tracking
Fields§
§parameters: Vec<Vec<f64>>
Parameter values at each iteration
loss_values: Vec<f64>
Loss values
gradient_norms: Vec<f64>
Gradient norms
iteration_times: Vec<f64>
Iteration times (ms)
total_iterations: usize
Total iterations
converged: bool
Converged flag
Trait Implementations§
Source§impl Clone for OptimizationHistory
impl Clone for OptimizationHistory
Source§fn clone(&self) -> OptimizationHistory
fn clone(&self) -> OptimizationHistory
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 OptimizationHistory
impl RefUnwindSafe for OptimizationHistory
impl Send for OptimizationHistory
impl Sync for OptimizationHistory
impl Unpin for OptimizationHistory
impl UnwindSafe for OptimizationHistory
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