pub struct FellegiSunterScorer;Expand description
Fellegi-Sunter scorer.
Trait Implementations§
Source§impl Scorer for FellegiSunterScorer
impl Scorer for FellegiSunterScorer
Source§fn score_batch(
&self,
batch: &ComparisonBatch,
params: &ModelParams,
) -> Vec<ScoredPair>
fn score_batch( &self, batch: &ComparisonBatch, params: &ModelParams, ) -> Vec<ScoredPair>
Batch scoring over all pairs in the ComparisonBatch.
Source§fn score(&self, vector: &ComparisonVector, params: &ModelParams) -> ScoredPair
fn score(&self, vector: &ComparisonVector, params: &ModelParams) -> ScoredPair
Score a single pair, always CPU, cheap dot product.
fn estimate_params( &self, batch: &ComparisonBatch, init: Option<ModelParams>, max_iter: usize, ) -> Result<ModelParams, ZerError>
Auto Trait Implementations§
impl Freeze for FellegiSunterScorer
impl RefUnwindSafe for FellegiSunterScorer
impl Send for FellegiSunterScorer
impl Sync for FellegiSunterScorer
impl Unpin for FellegiSunterScorer
impl UnsafeUnpin for FellegiSunterScorer
impl UnwindSafe for FellegiSunterScorer
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> 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