pub struct PipelineValidator { /* private fields */ }Expand description
Pipeline validator for error checking and robustness
Implementations§
Source§impl PipelineValidator
impl PipelineValidator
Sourcepub fn check_data_types(self, check: bool) -> Self
pub fn check_data_types(self, check: bool) -> Self
Enable/disable data type checking
Sourcepub fn check_missing_values(self, check: bool) -> Self
pub fn check_missing_values(self, check: bool) -> Self
Enable/disable missing value checking
Sourcepub fn check_infinite_values(self, check: bool) -> Self
pub fn check_infinite_values(self, check: bool) -> Self
Enable/disable infinite value checking
Sourcepub fn check_feature_names(self, check: bool) -> Self
pub fn check_feature_names(self, check: bool) -> Self
Enable/disable feature name checking
Sourcepub fn validate_data(
&self,
x: &ArrayView2<'_, Float>,
y: Option<&ArrayView1<'_, Float>>,
) -> SklResult<()>
pub fn validate_data( &self, x: &ArrayView2<'_, Float>, y: Option<&ArrayView1<'_, Float>>, ) -> SklResult<()>
Validate input data
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PipelineValidator
impl RefUnwindSafe for PipelineValidator
impl Send for PipelineValidator
impl Sync for PipelineValidator
impl Unpin for PipelineValidator
impl UnwindSafe for PipelineValidator
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