pub struct HeldOutReport {
pub points: Vec<HeldOutPoint>,
pub base: ResidualStats,
pub corrected: ResidualStats,
}Expand description
Residuals of the base and the corrected model on the held-out points.
Fields§
§points: Vec<HeldOutPoint>The held-out points, in dataset order.
base: ResidualStatsResidual statistics of the uncorrected base model on those points.
corrected: ResidualStatsResidual statistics of the corrected model on the same points.
Implementations§
Source§impl HeldOutReport
impl HeldOutReport
Sourcepub fn reduces_rms_relative(&self) -> bool
pub fn reduces_rms_relative(&self) -> bool
True if the correction lowered the held-out relative rms. A correction that does not is still reported; it is never hidden.
Trait Implementations§
Source§impl Clone for HeldOutReport
impl Clone for HeldOutReport
Source§fn clone(&self) -> HeldOutReport
fn clone(&self) -> HeldOutReport
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 HeldOutReport
impl Debug for HeldOutReport
Source§impl PartialEq for HeldOutReport
impl PartialEq for HeldOutReport
impl StructuralPartialEq for HeldOutReport
Auto Trait Implementations§
impl Freeze for HeldOutReport
impl RefUnwindSafe for HeldOutReport
impl Send for HeldOutReport
impl Sync for HeldOutReport
impl Unpin for HeldOutReport
impl UnsafeUnpin for HeldOutReport
impl UnwindSafe for HeldOutReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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