pub struct CalibResult {
pub best_params: Value,
pub best_score: f64,
pub evaluations: usize,
pub history: Vec<f64>,
}Expand description
Fields§
§best_params: ValueBest parameter set as a JSON object: base_params with the
ParamSpec fields overwritten by their calibrated physical values.
Round-trips through set_params_json on DynHydroModel.
best_score: f64Best objective score achieved (maximised). Units depend on
Objective — e.g. dimensionless for Nse / Kge, m³/s for
NegRmse.
evaluations: usizeTotal number of model evaluations performed (≤ budget).
history: Vec<f64>Convergence history — best score so far after each evaluation
(monotone non-decreasing). Same as OptResult::history.
Trait Implementations§
Source§impl Clone for CalibResult
impl Clone for CalibResult
Source§fn clone(&self) -> CalibResult
fn clone(&self) -> CalibResult
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 moreAuto Trait Implementations§
impl Freeze for CalibResult
impl RefUnwindSafe for CalibResult
impl Send for CalibResult
impl Sync for CalibResult
impl Unpin for CalibResult
impl UnsafeUnpin for CalibResult
impl UnwindSafe for CalibResult
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