pub struct Compared {
pub error: f64,
pub sd: f64,
}Expand description
One comparison: the smoothed value less the truth, and the smoother’s standard error.
Fields§
§error: f64The smoothed value less the truth.
sd: f64The smoother’s standard error.
Implementations§
Source§impl Compared
impl Compared
Sourcepub fn truth_below(&self) -> bool
pub fn truth_below(&self) -> bool
Whether the truth lies below the 90% interval (the smoother reads high).
Sourcepub fn truth_above(&self) -> bool
pub fn truth_above(&self) -> bool
Whether it lies above.
Trait Implementations§
impl Copy for Compared
Source§impl<'de> Deserialize<'de> for Compared
impl<'de> Deserialize<'de> for Compared
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Compared
Auto Trait Implementations§
impl Freeze for Compared
impl RefUnwindSafe for Compared
impl Send for Compared
impl Sync for Compared
impl Unpin for Compared
impl UnsafeUnpin for Compared
impl UnwindSafe for Compared
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