pub struct CalibrationConfig {
pub max_iterations: usize,
pub seeds_per_iteration: usize,
pub patience: usize,
pub min_improvement: f64,
pub damping: f64,
pub rollback: RollbackPolicy,
}Expand description
Loop-level config.
Fields§
§max_iterations: usizeMaximum iterations before the loop gives up. Default 20.
seeds_per_iteration: usizeSeeds evaluated per iteration to amortise the T3 single-shard
composite CV ≈ 25 %. Default 3 — matches the v5.31 T3
methodology finding (memory note project_v5_31_overnight_loop).
patience: usizeConvergence patience — stop when the best mean loss hasn’t
improved by > min_improvement × σ across patience
consecutive iterations. Default 3.
min_improvement: f64Minimum relative improvement (in units of σ_loss) needed to credit a step as “better”. Default 1.0 — i.e. > 1 standard deviation of the aggregate.
damping: f64Damping applied to proposed Δ before clipping. Default 0.5 (take half the proposed step to avoid oscillation).
rollback: RollbackPolicyHow to handle a step that worsens the loss.
Trait Implementations§
Source§impl Clone for CalibrationConfig
impl Clone for CalibrationConfig
Source§fn clone(&self) -> CalibrationConfig
fn clone(&self) -> CalibrationConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CalibrationConfig
impl Debug for CalibrationConfig
Auto Trait Implementations§
impl Freeze for CalibrationConfig
impl RefUnwindSafe for CalibrationConfig
impl Send for CalibrationConfig
impl Sync for CalibrationConfig
impl Unpin for CalibrationConfig
impl UnsafeUnpin for CalibrationConfig
impl UnwindSafe for CalibrationConfig
Blanket Implementations§
impl<T> Allocation for T
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.