APR-LIN-001 // apr-v2-f32

Ordinary Least Squares (OLS)

Closed-form QR/Cholesky ordinary least squares regressor with deterministic IEEE-754 residuals and zero-allocation SIMD dot products.

Ordinary Least Squares (OLS) architecture poster

Runtime: Loading .apr...

Inference: --

Artifact Format
apr-v2-f32
Parameters
128 weights
Family
linear

CLI Execution & Inspection

$ apr run ols-regression --input features.json
$ apr inspect ols-regression.apr --verify-sha256

Mathematical Formulation

Normal Equations

w^=(X⊤X)-1X⊤y

Numerical Contract

Residual orthogonality ||X^T(y - Xw)||_2 <= 1e-6 on well-conditioned design matrices (kappa < 1e4).