English

Simple one-pass algorithm for penalized linear regression with cross-validation on MapReduce

Machine Learning 2016-04-15 v3 Distributed, Parallel, and Cluster Computing Machine Learning

Abstract

In this paper, we propose a one-pass algorithm on MapReduce for penalized linear regression fλ(α,β)=Yα1Xβ22+pλ(β)f_\lambda(\alpha, \beta) = \|Y - \alpha\mathbf{1} - X\beta\|_2^2 + p_{\lambda}(\beta) where α\alpha is the intercept which can be omitted depending on application; β\beta is the coefficients and pλp_{\lambda} is the penalized function with penalizing parameter λ\lambda. fλ(α,β)f_\lambda(\alpha, \beta) includes interesting classes such as Lasso, Ridge regression and Elastic-net. Compared to latest iterative distributed algorithms requiring multiple MapReduce jobs, our algorithm achieves huge performance improvement; moreover, our algorithm is exact compared to the approximate algorithms such as parallel stochastic gradient decent. Moreover, what our algorithm distinguishes with others is that it trains the model with cross validation to choose optimal λ\lambda instead of user specified one. Key words: penalized linear regression, lasso, elastic-net, ridge, MapReduce

Keywords

Cite

@article{arxiv.1307.0048,
  title  = {Simple one-pass algorithm for penalized linear regression with cross-validation on MapReduce},
  author = {Kun Yang},
  journal= {arXiv preprint arXiv:1307.0048},
  year   = {2016}
}
R2 v1 2026-06-22T00:42:44.332Z