Skip to main content

least-squares

Stars1
Forks0
UpdatedJune 26, 2026 at 06:31

Fits linear, polynomial, and nonlinear models to data using least squares regression. Supports ordinary least squares (OLS), weighted least squares (WLS), Ridge/Lasso regularization, custom nonlinear curve fitting, constrained least squares, MCMC Bayesian fitting, and statistical inference via numpy, scipy, scikit-learn, statsmodels, lmfit, cvxpy, iminuit, nlopt, jaxopt, and emcee. When no local library is available, searches GitHub for open-source fitting code. Uses for regression, trend analysis, curve fitting, and parameter estimation.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
5 files
SKILL.md
readonly