pub struct PipelineDebugger { /* private fields */ }Expand description
Comprehensive debugging framework for ML pipeline inspection
Implementations§
Source§impl PipelineDebugger
impl PipelineDebugger
Sourcepub fn with_config(config: DebuggingConfig) -> Self
pub fn with_config(config: DebuggingConfig) -> Self
Create a new pipeline debugger with custom configuration
Sourcepub fn start_execution(&self, pipeline_name: &str) -> Result<String>
pub fn start_execution(&self, pipeline_name: &str) -> Result<String>
Start debugging a pipeline execution
Sourcepub fn step_start(
&self,
step_name: &str,
step_type: StepType,
input_data: ArrayView2<'_, f64>,
) -> Result<String>
pub fn step_start( &self, step_name: &str, step_type: StepType, input_data: ArrayView2<'_, f64>, ) -> Result<String>
Record the start of a pipeline step
Sourcepub fn step_complete(
&self,
step_id: &str,
output_data: ArrayView2<'_, f64>,
) -> Result<()>
pub fn step_complete( &self, step_id: &str, output_data: ArrayView2<'_, f64>, ) -> Result<()>
Record the completion of a pipeline step
Sourcepub fn step_error(
&self,
step_id: &str,
error: &SklearsComposeError,
) -> Result<()>
pub fn step_error( &self, step_id: &str, error: &SklearsComposeError, ) -> Result<()>
Record an error during pipeline execution
Sourcepub fn generate_report(&self) -> Result<DebugReport>
pub fn generate_report(&self) -> Result<DebugReport>
Generate a comprehensive debugging report
Sourcepub fn export_debug_info(&self, format: ExportFormat) -> Result<String>
pub fn export_debug_info(&self, format: ExportFormat) -> Result<String>
Export debugging information to specified format
Source§impl PipelineDebugger
impl PipelineDebugger
Sourcepub fn for_development() -> Self
pub fn for_development() -> Self
Create a debugger optimized for development
Sourcepub fn for_production() -> Self
pub fn for_production() -> Self
Create a debugger optimized for production monitoring
Sourcepub fn debug_transform<F>(
&self,
step_name: &str,
input: ArrayView2<'_, f64>,
transform_fn: F,
) -> Result<Array2<f64>>
pub fn debug_transform<F>( &self, step_name: &str, input: ArrayView2<'_, f64>, transform_fn: F, ) -> Result<Array2<f64>>
Quick debug of a single transformation step
Trait Implementations§
Source§impl Debug for PipelineDebugger
impl Debug for PipelineDebugger
Auto Trait Implementations§
impl Freeze for PipelineDebugger
impl RefUnwindSafe for PipelineDebugger
impl Send for PipelineDebugger
impl Sync for PipelineDebugger
impl Unpin for PipelineDebugger
impl UnwindSafe for PipelineDebugger
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