Fitting very flexible models: Linear regression with large numbers of parameters. Hogg, D. W. & Villar, S. arXiv e-prints, 2101:arXiv:2101.07256, January, 2021.
Paper abstract bibtex There are many uses for linear fitting; the context here is interpolation and denoising of data, as when you have calibration data and you want to fit a smooth, flexible function to those data. Or you want to fit a flexible function to de-trend a time series or normalize a spectrum. In these contexts, investigators often choose a polynomial basis, or a Fourier basis, or wavelets, or something equally general. They also choose an order, or number of basis functions to fit, and (often) some kind of regularization. We discuss how this basis-function fitting is done, with ordinary least squares and extensions thereof. We emphasize that it is often valuable to choose far more parameters than data points, despite folk rules to the contrary: Suitably regularized models with enormous numbers of parameters generalize well and make good predictions for held-out data; over-fitting is not (mainly) a problem of having too many parameters. It is even possible to take the limit of infinite parameters, at which, if the basis and regularization are chosen correctly, the least-squares fit becomes the mean of a Gaussian process. We recommend cross-validation as a good empirical method for model selection (for example, setting the number of parameters and the form of the regularization), and jackknife resampling as a good empirical method for estimating the uncertainties of the predictions made by the model. We also give advice for building stable computational implementations.
@article{hogg_fitting_2021,
title = {Fitting very flexible models: {Linear} regression with large numbers of parameters},
volume = {2101},
shorttitle = {Fitting very flexible models},
url = {http://adsabs.harvard.edu/abs/2021arXiv210107256H},
abstract = {There are many uses for linear fitting; the context here is
interpolation and denoising of data, as when you have calibration data
and you want to fit a smooth, flexible function to those data. Or you
want to fit a flexible function to de-trend a time series or normalize a
spectrum. In these contexts, investigators often choose a polynomial
basis, or a Fourier basis, or wavelets, or something equally general.
They also choose an order, or number of basis functions to fit, and
(often) some kind of regularization. We discuss how this basis-function
fitting is done, with ordinary least squares and extensions thereof. We
emphasize that it is often valuable to choose far more parameters than
data points, despite folk rules to the contrary: Suitably regularized
models with enormous numbers of parameters generalize well and make good
predictions for held-out data; over-fitting is not (mainly) a problem of
having too many parameters. It is even possible to take the limit of
infinite parameters, at which, if the basis and regularization are
chosen correctly, the least-squares fit becomes the mean of a Gaussian
process. We recommend cross-validation as a good empirical method for
model selection (for example, setting the number of parameters and the
form of the regularization), and jackknife resampling as a good
empirical method for estimating the uncertainties of the predictions
made by the model. We also give advice for building stable computational
implementations.},
urldate = {2021-02-03},
journal = {arXiv e-prints},
author = {Hogg, David W. and Villar, Soledad},
month = jan,
year = {2021},
keywords = {Astrophysics - Instrumentation and Methods for Astrophysics, Computer Science - Machine Learning, Physics - Data Analysis, Statistics and Probability},
pages = {arXiv:2101.07256},
}
Downloads: 0
{"_id":"br9sDcBq5wM6knPdQ","bibbaseid":"hogg-villar-fittingveryflexiblemodelslinearregressionwithlargenumbersofparameters-2021","author_short":["Hogg, D. W.","Villar, S."],"bibdata":{"bibtype":"article","type":"article","title":"Fitting very flexible models: Linear regression with large numbers of parameters","volume":"2101","shorttitle":"Fitting very flexible models","url":"http://adsabs.harvard.edu/abs/2021arXiv210107256H","abstract":"There are many uses for linear fitting; the context here is interpolation and denoising of data, as when you have calibration data and you want to fit a smooth, flexible function to those data. Or you want to fit a flexible function to de-trend a time series or normalize a spectrum. In these contexts, investigators often choose a polynomial basis, or a Fourier basis, or wavelets, or something equally general. They also choose an order, or number of basis functions to fit, and (often) some kind of regularization. We discuss how this basis-function fitting is done, with ordinary least squares and extensions thereof. We emphasize that it is often valuable to choose far more parameters than data points, despite folk rules to the contrary: Suitably regularized models with enormous numbers of parameters generalize well and make good predictions for held-out data; over-fitting is not (mainly) a problem of having too many parameters. It is even possible to take the limit of infinite parameters, at which, if the basis and regularization are chosen correctly, the least-squares fit becomes the mean of a Gaussian process. We recommend cross-validation as a good empirical method for model selection (for example, setting the number of parameters and the form of the regularization), and jackknife resampling as a good empirical method for estimating the uncertainties of the predictions made by the model. We also give advice for building stable computational implementations.","urldate":"2021-02-03","journal":"arXiv e-prints","author":[{"propositions":[],"lastnames":["Hogg"],"firstnames":["David","W."],"suffixes":[]},{"propositions":[],"lastnames":["Villar"],"firstnames":["Soledad"],"suffixes":[]}],"month":"January","year":"2021","keywords":"Astrophysics - Instrumentation and Methods for Astrophysics, Computer Science - Machine Learning, Physics - Data Analysis, Statistics and Probability","pages":"arXiv:2101.07256","bibtex":"@article{hogg_fitting_2021,\n\ttitle = {Fitting very flexible models: {Linear} regression with large numbers of parameters},\n\tvolume = {2101},\n\tshorttitle = {Fitting very flexible models},\n\turl = {http://adsabs.harvard.edu/abs/2021arXiv210107256H},\n\tabstract = {There are many uses for linear fitting; the context here is \ninterpolation and denoising of data, as when you have calibration data\nand you want to fit a smooth, flexible function to those data. Or you\nwant to fit a flexible function to de-trend a time series or normalize a\nspectrum. In these contexts, investigators often choose a polynomial\nbasis, or a Fourier basis, or wavelets, or something equally general.\nThey also choose an order, or number of basis functions to fit, and\n(often) some kind of regularization. We discuss how this basis-function\nfitting is done, with ordinary least squares and extensions thereof. We\nemphasize that it is often valuable to choose far more parameters than\ndata points, despite folk rules to the contrary: Suitably regularized\nmodels with enormous numbers of parameters generalize well and make good\npredictions for held-out data; over-fitting is not (mainly) a problem of\nhaving too many parameters. It is even possible to take the limit of\ninfinite parameters, at which, if the basis and regularization are\nchosen correctly, the least-squares fit becomes the mean of a Gaussian\nprocess. We recommend cross-validation as a good empirical method for\nmodel selection (for example, setting the number of parameters and the\nform of the regularization), and jackknife resampling as a good\nempirical method for estimating the uncertainties of the predictions\nmade by the model. We also give advice for building stable computational\nimplementations.},\n\turldate = {2021-02-03},\n\tjournal = {arXiv e-prints},\n\tauthor = {Hogg, David W. and Villar, Soledad},\n\tmonth = jan,\n\tyear = {2021},\n\tkeywords = {Astrophysics - Instrumentation and Methods for Astrophysics, Computer Science - Machine Learning, Physics - Data Analysis, Statistics and Probability},\n\tpages = {arXiv:2101.07256},\n}\n\n","author_short":["Hogg, D. W.","Villar, S."],"key":"hogg_fitting_2021","id":"hogg_fitting_2021","bibbaseid":"hogg-villar-fittingveryflexiblemodelslinearregressionwithlargenumbersofparameters-2021","role":"author","urls":{"Paper":"http://adsabs.harvard.edu/abs/2021arXiv210107256H"},"keyword":["Astrophysics - Instrumentation and Methods for Astrophysics","Computer Science - Machine Learning","Physics - Data Analysis","Statistics and Probability"],"metadata":{"authorlinks":{}}},"bibtype":"article","biburl":"https://bibbase.org/zotero/polyphant","dataSources":["7gvjSdWrEu7z5vjjj"],"keywords":["astrophysics - instrumentation and methods for astrophysics","computer science - machine learning","physics - data analysis","statistics and probability"],"search_terms":["fitting","very","flexible","models","linear","regression","large","numbers","parameters","hogg","villar"],"title":"Fitting very flexible models: Linear regression with large numbers of parameters","year":2021}