Expand description
Kernel transformation utilities for preprocessing and normalization.
This module provides utilities for transforming kernel matrices, including:
- Kernel normalization (normalize to unit diagonal)
- Kernel centering (for kernel PCA)
- Kernel standardization
These transformations are essential for many kernel-based algorithms.
Structs§
- Normalized
Kernel - Wrapper that creates a normalized version of any kernel.
Functions§
- center_
kernel_ matrix - Center a kernel matrix by removing the mean in feature space.
- normalize_
kernel_ matrix - Normalize a kernel matrix to have unit diagonal entries.
- standardize_
kernel_ matrix - Standardize a kernel matrix (normalize then center).