Avatar for the Nixtla user
Nixtla
statsforecast
BlogDocsChangelog

Performance History

Latest Results

migrate to scikit-build-core (#1195) Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
main
23 hours ago
enforce constraints for ETS models
hotfix/damped-ets
3 days ago
arima: keep a singular Hessian from failing the whole model search auto_arima_f raised "No suitable ARIMA model found" whenever the xreg was rank-deficient -- two constant columns, which is what a static feature becomes on a per-series model, and what generate_series feeds the dask/spark flow tests. Every candidate carries the same xreg, so every candidate was rejected. np.linalg.inv does not raise on a numerically singular matrix; it returns a covariance with negative diagonal entries, whose square root is NaN, which is exactly what checkarima rejects on. Main never saw this because scipy's BFGS hess_inv is positive definite by construction, so the degeneracy stayed hidden until the Hessian became a real one. Decompose instead and read the spectrum. approx_hess3's central differences resolve the Hessian to about sqrt(eps), so eigenvalues under that are indistinguishable from zero: one below -tol is a genuine saddle and still yields NaN, while the flat ones are directions collinear xreg leaves unidentified and are dropped, inverting over the identified subspace. A well-conditioned Hessian keeps every direction and the result is the plain inverse, so the standard errors pinned against R are untouched. This is a guard, not a cure -- a single constant regressor is equally unidentified and stays undetected, since the design matrix is full rank and only the likelihood is flat. Dropping collinear regressors up front is filed separately. eigh also raises LinAlgError on a Hessian holding NaN, which the previous code only caught for inv. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019YXn1fursQmqpMazreQccZ
jmoralez:arima-coef-var
3 days ago

Latest Branches

CodSpeed Performance Gauge
0%
fix: Fix damped ETS forecasts and enforce constraints#1219
3 days ago
198b764
hotfix/damped-ets
CodSpeed Performance Gauge
+80%
3 days ago
c2eeae9
jmoralez:migrate-to-scikit-build
CodSpeed Performance Gauge
0%
arima: rotate xreg onto the singular directions, as R does#1234
3 days ago
deb70a5
jmoralez:fix/xreg-svd-rotation
© 2026 CodSpeed Technology
Home Terms Privacy Docs