Expand description
Middleware system for kernel approximation pipelines
This module provides a flexible middleware architecture for composing kernel approximation transformations with hooks, callbacks, and monitoring.
§Examples
use sklears_kernel_approximation::middleware::{Pipeline, PipelineBuilder};
// Create a pipeline with multiple transformations
// let pipeline = PipelineBuilder::new()
// .add_transform(rbf_sampler)
// .add_hook(logging_hook)
// .add_middleware(normalization_middleware)
// .build();Structs§
- Hook
Context - Context passed to hooks containing metadata
- Logging
Hook - Logging hook that records timing and shapes
- Normalization
Middleware - Normalization middleware
- Performance
Hook - Performance monitoring hook
- Pipeline
- Pipeline for composing multiple kernel approximations
- Pipeline
Builder - Builder for creating pipelines
- Validation
Hook - Validation hook that checks for NaN and Inf
Traits§
- Hook
- Hook that can be called at various stages of the pipeline
- Middleware
- Middleware that wraps transformations
- Pipeline
Stage - Transform stage in the pipeline