pub struct AdversarialValidationResult {
pub discriminator_auc: f64,
pub auc_confidence_interval: (f64, f64),
pub p_value: f64,
pub is_significantly_different: bool,
pub feature_importance: Option<Vec<f64>>,
pub suspicious_features: Vec<usize>,
pub cv_scores: Vec<f64>,
pub statistics: AdversarialStatistics,
}Expand description
Results from adversarial validation
Fields§
§discriminator_auc: f64AUC score of the discriminator (0.5 = no difference, 1.0 = perfect discrimination)
auc_confidence_interval: (f64, f64)Confidence interval for the AUC score
p_value: f64P-value for statistical significance test
is_significantly_different: boolWhether the distributions are significantly different
feature_importance: Option<Vec<f64>>Feature importance scores (if enabled)
suspicious_features: Vec<usize>Suspicious feature indices (features that help discriminate)
cv_scores: Vec<f64>Cross-validation scores for the discriminator
statistics: AdversarialStatisticsDetailed statistics about the validation
Trait Implementations§
Source§impl Clone for AdversarialValidationResult
impl Clone for AdversarialValidationResult
Source§fn clone(&self) -> AdversarialValidationResult
fn clone(&self) -> AdversarialValidationResult
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 AdversarialValidationResult
impl RefUnwindSafe for AdversarialValidationResult
impl Send for AdversarialValidationResult
impl Sync for AdversarialValidationResult
impl Unpin for AdversarialValidationResult
impl UnwindSafe for AdversarialValidationResult
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