pub struct Detection { /* private fields */ }Expand description
The result of running a detector over a sample: the per-point scores and the boolean outlier mask, aligned to the input order.
Returned by every detector so a caller can threshold, rank, or simply read off
which observations were flagged. The two vectors always share the input
length; mask[i] is the flag for the point with score scores[i].
Implementations§
Trait Implementations§
impl StructuralPartialEq for Detection
Auto Trait Implementations§
impl Freeze for Detection
impl RefUnwindSafe for Detection
impl Send for Detection
impl Sync for Detection
impl Unpin for Detection
impl UnsafeUnpin for Detection
impl UnwindSafe for Detection
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