pub struct RangeFScore {
pub beta: f64,
pub p_alpha: f64,
pub r_alpha: f64,
pub cardinality: Cardinality,
pub p_bias: Bias,
pub r_bias: Bias,
pub percentile: f64,
}Expand description
Range-based F-score metric (Tatbul et al., NeurIPS 2018).
Fields§
§beta: f64Relative recall weight in F-score (1.0 gives F1).
p_alpha: f64Alpha used in the precision component.
r_alpha: f64Alpha used in the recall component.
cardinality: CardinalityPenalization policy for range multiplicity.
p_bias: BiasBias used in the precision component.
r_bias: BiasBias used in the recall component.
percentile: f64Score percentile used to derive a binary prediction threshold.
Trait Implementations§
Source§impl Default for RangeFScore
impl Default for RangeFScore
Auto Trait Implementations§
impl Freeze for RangeFScore
impl RefUnwindSafe for RangeFScore
impl Send for RangeFScore
impl Sync for RangeFScore
impl Unpin for RangeFScore
impl UnsafeUnpin for RangeFScore
impl UnwindSafe for RangeFScore
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> 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