Optimization-Driven Cluster-Weighted Clusterwise Linear Regression
Sona Taheri, Adil M. Bagirov, Nelusha Anne Perera, Nargiz Sultanova, Mali AbdollahianClusterwise Linear Regression (CLR) integrates clustering and regression to uncover complex relationships within heterogeneous datasets by simultaneously partitioning data and fitting cluster-specific models. This dual capability offers a significant advantage over traditional regression methods, which assume homogeneity across the dataset. However, accurate data approximation often requires many linear functions, which can lead to overfitting. Existing CLR methods are not always efficient for prediction and may fail to partition the explanatory variable space distinctly. To address these limitations, we introduce a novel Cluster-Weighted CLR (CW-CLR) framework based on a nonsmooth, nonconvex optimization formulation that simultaneously solves the clustering and regression tasks. The framework assigns weights to explanatory variables under a sum-to-one constraint and incorporates a scaling parameter to balance clustering and regression errors, yielding a weighted prediction rule that improves robustness, mitigates overfitting, and better exploits cluster structure. To alleviate the challenges posed by nonconvexity, we propose an efficient incremental approach that begins with a single linear model and progressively constructs clusters, aided by a specialized initialization scheme designed to enhance optimization performance. We also propose an improved prediction rule for Optimization-Driven CW-CLR.
Numerical experiments on 12 real-world datasets with varying sizes and structures show that CW-CLR achieves competitive or superior predictive performance compared with a broad range of state-of-the-art methods. In particular, CW-CLR attains the best RMSE and MAE on several benchmark datasets and delivers strong goodness-of-fit, with leading