#[non_exhaustive]pub struct Agreement {
pub agreement: Option<f64>,
pub tpr: Option<f64>,
pub tnr: Option<f64>,
pub kappa: Option<f64>,
}Expand description
Agreement metrics; None where the denominator is zero (or, for kappa,
when chance agreement is 1).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.agreement: Option<f64>(tp + tn) / n.
tpr: Option<f64>Sensitivity: tp / (tp + fn), passes the judge recognises.
tnr: Option<f64>Specificity: tn / (tn + fp), failures the judge catches.
kappa: Option<f64>Cohen’s kappa: (po - pe) / (1 - pe), agreement corrected for chance.
Trait Implementations§
impl Copy for Agreement
Source§impl<'de> Deserialize<'de> for Agreement
impl<'de> Deserialize<'de> for Agreement
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 Agreement
Auto Trait Implementations§
impl Forget for Agreement
impl Freeze for Agreement
impl Move for Agreement
impl RefUnwindSafe for Agreement
impl Send for Agreement
impl Sync for Agreement
impl Unpin for Agreement
impl UnsafeUnpin for Agreement
impl UnwindSafe for Agreement
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