pub struct FitConfig {
pub max_iterations: usize,
pub convergence_tol: f32,
pub learning_rate: f32,
pub param_names: Vec<String>,
}Expand description
Configuration for the gradient-free fitting loop.
Fields§
§max_iterations: usizeMaximum number of outer iterations (one full sweep per iteration).
convergence_tol: f32Convergence tolerance on mean error improvement.
learning_rate: f32Initial step size for each parameter.
param_names: Vec<String>Names of the parameters to fit.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FitConfig
impl RefUnwindSafe for FitConfig
impl Send for FitConfig
impl Sync for FitConfig
impl Unpin for FitConfig
impl UnsafeUnpin for FitConfig
impl UnwindSafe for FitConfig
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