pub struct LoggingMiddleware {
pub log_level: LogLevel,
pub log_performance: bool,
}Expand description
Logging middleware
Fields§
§log_level: LogLevellog_level
log_performance: boollog_performance
Trait Implementations§
Source§impl ImputationMiddleware for LoggingMiddleware
impl ImputationMiddleware for LoggingMiddleware
Source§fn before_imputation(
&self,
X: &ArrayView2<'_, Float>,
) -> SklResult<Array2<Float>>
fn before_imputation( &self, X: &ArrayView2<'_, Float>, ) -> SklResult<Array2<Float>>
Process data before imputation
Source§fn after_imputation(
&self,
X: &ArrayView2<'_, Float>,
) -> SklResult<Array2<Float>>
fn after_imputation( &self, X: &ArrayView2<'_, Float>, ) -> SklResult<Array2<Float>>
Process data after imputation
Auto Trait Implementations§
impl Freeze for LoggingMiddleware
impl RefUnwindSafe for LoggingMiddleware
impl Send for LoggingMiddleware
impl Sync for LoggingMiddleware
impl Unpin for LoggingMiddleware
impl UnwindSafe for LoggingMiddleware
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