Expand description
Error type for the Kernel PCA research-preview module.
This is intentionally separate from the crate-wide
crate::error::KernelError: the Kernel PCA API exposes a narrow set
of failure modes (fit-before-transform, bad dimensions, degenerate
eigenproblems, …) that are easier to pattern-match on via a
dedicated enum.
The error implements std::error::Error via thiserror, so it
converts cleanly into anyhow::Error or any other boxed-error type a
caller might already be using.
Enums§
- Kernel
PcaError - Failure modes for
crate::kernel_pca::KernelPCAand friends.
Type Aliases§
- Kernel
PcaResult - Result alias used throughout the
crate::kernel_pcamodule.