pub struct AcceptancePoint {
pub threshold: f64,
pub accepted_count: u64,
pub accepted_correct: u64,
pub accepted_accuracy: f64,
pub coverage: f64,
pub abstention_count: u64,
pub abstention_rate: f64,
pub wilson_lower: f64,
pub wilson_upper: f64,
}Expand description
Accuracy and coverage at one observed confidence cutoff.
Fields§
§threshold: f64Inclusive minimum confidence.
accepted_count: u64Number of accepted predictions.
accepted_correct: u64Correct accepted predictions.
accepted_accuracy: f64Correct share among accepted predictions.
coverage: f64Accepted share of all labeled cases in the group, including failures.
abstention_count: u64Cases not automatically accepted at this cutoff, including failures.
abstention_rate: f64Abstained share of all labeled cases in the group.
wilson_lower: f64Lower 95% Wilson bound for accepted accuracy.
wilson_upper: f64Upper 95% Wilson bound for accepted accuracy.
Trait Implementations§
Source§impl Clone for AcceptancePoint
impl Clone for AcceptancePoint
Source§impl Debug for AcceptancePoint
impl Debug for AcceptancePoint
Source§impl<'de> Deserialize<'de> for AcceptancePoint
impl<'de> Deserialize<'de> for AcceptancePoint
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
Auto Trait Implementations§
impl Forget for AcceptancePoint
impl Freeze for AcceptancePoint
impl Move for AcceptancePoint
impl RefUnwindSafe for AcceptancePoint
impl Send for AcceptancePoint
impl Sync for AcceptancePoint
impl Unpin for AcceptancePoint
impl UnsafeUnpin for AcceptancePoint
impl UnwindSafe for AcceptancePoint
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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<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