pub enum CandidateSourceKind {
TrainingEvidence,
HeldOutLabel,
GeneratedCandidate,
}Expand description
Candidate provenance kind for leakage diagnostics.
Variants§
TrainingEvidence
Candidate came from training evidence.
HeldOutLabel
Candidate came from a held-out label and must not drive induction.
GeneratedCandidate
Candidate was generated without label leakage.
Trait Implementations§
Source§impl Clone for CandidateSourceKind
impl Clone for CandidateSourceKind
Source§fn clone(&self) -> CandidateSourceKind
fn clone(&self) -> CandidateSourceKind
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 CandidateSourceKind
impl Debug for CandidateSourceKind
impl Eq for CandidateSourceKind
Source§impl PartialEq for CandidateSourceKind
impl PartialEq for CandidateSourceKind
Source§fn eq(&self, other: &CandidateSourceKind) -> bool
fn eq(&self, other: &CandidateSourceKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CandidateSourceKind
Auto Trait Implementations§
impl Freeze for CandidateSourceKind
impl RefUnwindSafe for CandidateSourceKind
impl Send for CandidateSourceKind
impl Sync for CandidateSourceKind
impl Unpin for CandidateSourceKind
impl UnsafeUnpin for CandidateSourceKind
impl UnwindSafe for CandidateSourceKind
Blanket Implementations§
impl<T> Allocation for T
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