gam_problem/pseudo_logdet.rs
1/// How the penalized Hessian's log-determinant and derivatives treat the
2/// spectrum below the stability floor.
3#[derive(Clone, Copy, Debug, Default, PartialEq, Eq)]
4pub enum PseudoLogdetMode {
5 /// Keep every eigenpair in the smooth spectral regularizer.
6 #[default]
7 Smooth,
8 /// Exclude numerical null-space directions consistently from pseudo-logdet
9 /// and derivative traces.
10 HardPseudo,
11}