pub struct InterDocCorefMetrics {
pub cluster_purity: f64,
pub cluster_completeness: f64,
pub num_pred_identities: usize,
pub num_gold_identities: usize,
pub num_correct: usize,
pub num_total: usize,
}Expand description
Metrics for inter-document coreference resolution quality.
Fields§
§cluster_purity: f64Cluster purity: average fraction of tracks in each identity that are correct
cluster_completeness: f64Cluster completeness: average fraction of correct tracks that are in the same identity
num_pred_identities: usizeNumber of predicted identities
num_gold_identities: usizeNumber of gold identities
num_correct: usizeNumber of tracks correctly clustered
num_total: usizeTotal number of tracks
Implementations§
Trait Implementations§
Source§impl Clone for InterDocCorefMetrics
impl Clone for InterDocCorefMetrics
Source§fn clone(&self) -> InterDocCorefMetrics
fn clone(&self) -> InterDocCorefMetrics
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 moreSource§impl Debug for InterDocCorefMetrics
impl Debug for InterDocCorefMetrics
Auto Trait Implementations§
impl Freeze for InterDocCorefMetrics
impl RefUnwindSafe for InterDocCorefMetrics
impl Send for InterDocCorefMetrics
impl Sync for InterDocCorefMetrics
impl Unpin for InterDocCorefMetrics
impl UnsafeUnpin for InterDocCorefMetrics
impl UnwindSafe for InterDocCorefMetrics
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
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