选择适用于应用机器学习的合适正则化方法:对流行scikit-learn正则化框架的模拟基准测试
Choosing the Right Regularizer for Applied ML: Simulation Benchmarks of Popular Scikit-learn Regularization Frameworks
AI总结:
本研究通过134400次模拟评估了四种正则化方法在机器学习中的性能,发现当样本数与特征数比足够时,Ridge、Lasso和ElasticNet可互换,但Lasso在多重共线性和低信噪比下表现差,建议避免在高条件数和小样本情况下使用Lasso或Post-Lasso OLS。
摘要:
本研究回顾了正则化的历史发展,从20世纪60年代的逐步回归到近期的正式误差控制、结构化惩罚、贝叶斯方法和l0正则化等技术。我们通过134400次模拟评估了四种经典框架——Ridge、Lasso、ElasticNet和Post-Lasso OLS——在基于八个生产级机器学习模型的7维流形上的性能。研究发现,当样本数与特征数比足够(n/p >= 78)时,Ridge、Lasso和ElasticNet几乎可以互换。然而,发现Lasso的召回率在多重共线性下非常脆弱;在高条件数(kappa)和低信噪比(SNR)情况下,Lasso的召回率降至0.18,而ElasticNet保持在0.93。因此,建议从业者避免在高kappa和小样本情况下使用Lasso或Post-Lasso OLS。分析最后提供了一个以目标驱动的决策指南,帮助机器学习工程师根据可观测的特征空间属性选择最优的scikit-learn支持框架。
英文摘要:
This study surveys the historical development of regularization, tracing its evolution from stepwise regression in the 1960s to recent advancements in formal error control, structured penalties for non-independent features, Bayesian methods, and l0-based regularization (among other techniques). We empirically evaluate the performance of four canonical frameworks -- Ridge, Lasso, ElasticNet, and Post-Lasso OLS -- across 134,400 simulations spanning a 7-dimensional manifold grounded in eight production-grade machine learning models. Our findings demonstrate that for prediction accuracy when the sample-to-feature ratio is sufficient (n/p >= 78), Ridge, Lasso, and ElasticNet are nearly interchangeable. However, we find that Lasso recall is highly fragile under multicollinearity; at high condition numbers (kappa) and low SNR, Lasso recall collapses to 0.18 while ElasticNet maintains 0.93. Consequently, we advise practitioners against using Lasso or Post-Lasso OLS at high kappa with small sample sizes. The analysis concludes with an objective-driven decision guide to assist machine learning engineers in selecting the optimal scikit-learn-supported framework based on observable feature space attributes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。