pub enum OODDetectionMethod {
StatisticalDistance {
threshold: Float,
},
IsolationForest {
contamination: Float,
},
OneClassSVM {
nu: Float,
},
MahalanobisDistance {
threshold: Float,
},
ReconstructionError {
threshold: Float,
},
EnsembleUncertainty {
threshold: Float,
},
}Expand description
Out-of-Distribution detection methods
Variants§
StatisticalDistance
Statistical distance-based detection (KL divergence, Wasserstein distance)
IsolationForest
Isolation Forest for anomaly detection
OneClassSVM
One-Class SVM for novelty detection
MahalanobisDistance
Mahalanobis distance from training distribution
ReconstructionError
Reconstruction error from autoencoder
EnsembleUncertainty
Ensemble-based uncertainty detection
Trait Implementations§
Source§impl Clone for OODDetectionMethod
impl Clone for OODDetectionMethod
Source§fn clone(&self) -> OODDetectionMethod
fn clone(&self) -> OODDetectionMethod
Returns a duplicate of the value. Read more
1.0.0 · 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 OODDetectionMethod
impl RefUnwindSafe for OODDetectionMethod
impl Send for OODDetectionMethod
impl Sync for OODDetectionMethod
impl Unpin for OODDetectionMethod
impl UnwindSafe for OODDetectionMethod
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,
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