Expand description
Utility functions for linear models
This module provides standalone utility functions that implement core algorithms used by various linear models.
Structs§
- Numerical
Diagnostics - Numerical diagnostics for a linear regression problem
- Solver
Info - Information about the numerical solver used
Functions§
- accurate_
condition_ number - Improved condition number calculation using SVD
- adaptive_
least_ squares - Numerically stable least squares solver with automatic method selection
- condition_
number - Check condition number of a matrix using SVD
- diagnose_
numerical_ stability - Numerical stability diagnostics for linear regression problems
- enhanced_
ridge_ regression - Enhanced ridge regression with iterative refinement for ill-conditioned problems
- orthogonal_
mp - Orthogonal Matching Pursuit (OMP) algorithm
- orthogonal_
mp_ gram - Orthogonal Matching Pursuit using precomputed Gram matrix
- qr_
ridge_ regression - Numerically stable solution using regularized QR decomposition
- rank_
revealing_ qr - Rank-revealing QR decomposition with pivoting
- ridge_
regression - Ridge regression solver
- solve_
with_ iterative_ refinement - Solve linear system with iterative refinement for improved accuracy
- stable_
normal_ equations - Numerically stable solution to normal equations using QR decomposition
- stable_
ridge_ regression - Numerically stable solution to regularized normal equations
- svd_
ridge_ regression - SVD-based ridge regression solver for maximum numerical stability
Type Aliases§
- Rank
Revealing QrResult - Type alias for rank-revealing QR decomposition result