Skip to main content

ridge_pinv_rel

Function ridge_pinv_rel 

Source
pub fn ridge_pinv_rel(a: &[f64], n: usize, rel: f64) -> Vec<f64>
Expand description

ridge_pinv with the ridge factor given: λ = rel·mean(diag(AᵀA)).