An Innovative Algorithm For Robust, Interactive, Piecewise-Linear Data Exploration
Stephen WrightCPColin Paterson
Stephen Wright
CPColin Paterson
+2
We present a generalization of the Theil-Sen algorithm that fits a robust piecewise-linear model to short, noisy, multidimensional data without distributional assumptions. The method reflects modes in the parameter space distribution of partial fits and unifies piecewise-linear fitting, cluster analysis for regime-shift detection, LASSO regularization for dimension reduction, and non-parametric accuracy estimation in a single stage controlled by hyper-parameters for scale, parsimony, and precision. The approach aims to reduce the need to pre-specify the data-generating form, though it currently assumes abundant compute for interactive use.

arXiv ·
· November 16, 2025