pub struct DerDecomposition {
pub total: DerResult,
pub single_speaker: DerResult,
pub overlap: DerResult,
pub per_speaker_recall: Vec<SpeakerRecall>,
}Expand description
Overlap-aware DER decomposition: the headline DER plus single-speaker- and overlap-region DERs and per-speaker recall.
Headline DER hides where error comes from — on overlap-heavy audio the miss term dominates, so a total-DER ceiling cannot tell healthy diarization from collapse. This split makes accuracy targets interpretable.
Fields§
§total: DerResultHeadline overlap-inclusive DER (== super::compute_der).
single_speaker: DerResultDER over single-speaker reference regions only
(== super::compute_der_single_speaker_regions).
overlap: DerResultDER over overlap reference regions only (>= 2 concurrent reference speakers).
per_speaker_recall: Vec<SpeakerRecall>Per-speaker recall, sorted by reference speaker id.
Trait Implementations§
Source§impl Clone for DerDecomposition
impl Clone for DerDecomposition
Source§fn clone(&self) -> DerDecomposition
fn clone(&self) -> DerDecomposition
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 moreAuto Trait Implementations§
impl Freeze for DerDecomposition
impl RefUnwindSafe for DerDecomposition
impl Send for DerDecomposition
impl Sync for DerDecomposition
impl Unpin for DerDecomposition
impl UnsafeUnpin for DerDecomposition
impl UnwindSafe for DerDecomposition
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
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