pub enum RelevantSampleSplit {
TopQuartile,
DistanceGap,
}Expand description
How the relevant-document sample (f_R) is split from the
retrieved pool before fitting the likelihood-ratio calibration.
Variants§
TopQuartile
The closest quarter of the pool models the relevant density.
DistanceGap
Strategy 4.6.1 (Paper 5): documents before the dominant gap in the sorted distances model the relevant density. Falls back to the top quartile when the pool has no positive gap.
Trait Implementations§
Source§impl Clone for RelevantSampleSplit
impl Clone for RelevantSampleSplit
Source§fn clone(&self) -> RelevantSampleSplit
fn clone(&self) -> RelevantSampleSplit
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 moreimpl Copy for RelevantSampleSplit
Source§impl Debug for RelevantSampleSplit
impl Debug for RelevantSampleSplit
Source§impl Default for RelevantSampleSplit
impl Default for RelevantSampleSplit
Source§fn default() -> RelevantSampleSplit
fn default() -> RelevantSampleSplit
Returns the “default value” for a type. Read more
impl Eq for RelevantSampleSplit
Source§impl PartialEq for RelevantSampleSplit
impl PartialEq for RelevantSampleSplit
impl StructuralPartialEq for RelevantSampleSplit
Auto Trait Implementations§
impl Freeze for RelevantSampleSplit
impl RefUnwindSafe for RelevantSampleSplit
impl Send for RelevantSampleSplit
impl Sync for RelevantSampleSplit
impl Unpin for RelevantSampleSplit
impl UnsafeUnpin for RelevantSampleSplit
impl UnwindSafe for RelevantSampleSplit
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