pub struct RiskCoverage {
pub coverage: f64,
pub accuracy: f64,
pub threshold: f64,
}Expand description
One point on the risk–coverage curve.
Fields§
§coverage: f64Fraction of observations kept (confidence ≥ threshold at this point).
accuracy: f64Accuracy among the kept observations (1 − selective risk).
threshold: f64The confidence threshold realizing this operating point.
Trait Implementations§
Source§impl Clone for RiskCoverage
impl Clone for RiskCoverage
Source§fn clone(&self) -> RiskCoverage
fn clone(&self) -> RiskCoverage
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 RiskCoverage
impl Debug for RiskCoverage
Source§impl<'de> Deserialize<'de> for RiskCoverage
impl<'de> Deserialize<'de> for RiskCoverage
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
Source§impl PartialEq for RiskCoverage
impl PartialEq for RiskCoverage
Source§fn eq(&self, other: &RiskCoverage) -> bool
fn eq(&self, other: &RiskCoverage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RiskCoverage
impl Serialize for RiskCoverage
impl Copy for RiskCoverage
impl StructuralPartialEq for RiskCoverage
Auto Trait Implementations§
impl Freeze for RiskCoverage
impl RefUnwindSafe for RiskCoverage
impl Send for RiskCoverage
impl Sync for RiskCoverage
impl Unpin for RiskCoverage
impl UnsafeUnpin for RiskCoverage
impl UnwindSafe for RiskCoverage
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