Generalized least squares requires estimating and inverting the error covariance matrix, which is expensive when the matrix is large or unstructured. This package uses alternating least squares with a low-rank factor-analytic decomposition of the covariance, making iterative GLS feasible for problems where the full covariance is too large to invert directly.
Cite: Gaurav Sood. "A Lightweight ALS Solver for Iterative GLS." https://gsood.com/research/a-lightweight-als-solver-for-iterative-gls/
BibTeX:
@software{sooda,
author = {Gaurav Sood},
title = {{A Lightweight ALS Solver for Iterative GLS}},
url = {https://github.com/finite-sample/alsgls}
}