pub struct DataValidator {
pub check_missing_values: bool,
pub check_infinite_values: bool,
pub check_data_types: bool,
pub check_feature_scaling: bool,
pub check_distributions: bool,
pub max_missing_ratio: f64,
pub check_duplicates: bool,
pub check_outliers: bool,
pub outlier_iqr_multiplier: f64,
}Expand description
Data quality and compatibility validation
Fields§
§check_missing_values: boolCheck for missing values (NaN)
check_infinite_values: boolCheck for infinite values
check_data_types: boolCheck data type consistency
check_feature_scaling: boolCheck feature scaling consistency
check_distributions: boolCheck data distribution properties
max_missing_ratio: f64Maximum allowed proportion of missing values
check_duplicates: boolCheck for duplicate samples
check_outliers: boolCheck for outliers using IQR method
outlier_iqr_multiplier: f64IQR multiplier for outlier detection
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataValidator
impl RefUnwindSafe for DataValidator
impl Send for DataValidator
impl Sync for DataValidator
impl Unpin for DataValidator
impl UnwindSafe for DataValidator
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> 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