pub struct RangeRecall {
pub alpha: f64,
pub cardinality: Cardinality,
pub bias: Bias,
pub percentile: f64,
}Expand description
Range-based recall metric (Tatbul et al., NeurIPS 2018).
Fields§
§alpha: f64Weight between overlap-only (0.0) and existence-aware (1.0) scoring.
cardinality: CardinalityPenalization policy when multiple predicted ranges match one true range.
bias: BiasPositional weighting within each range.
percentile: f64Score percentile used to derive a binary prediction threshold.
Trait Implementations§
Source§impl Default for RangeRecall
impl Default for RangeRecall
Auto Trait Implementations§
impl Freeze for RangeRecall
impl RefUnwindSafe for RangeRecall
impl Send for RangeRecall
impl Sync for RangeRecall
impl Unpin for RangeRecall
impl UnsafeUnpin for RangeRecall
impl UnwindSafe for RangeRecall
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