Re:Everything Is a Linear Model
by levocardia on Sunday February 18, 2024 @10:49PM
(#39426082)
If you know DNNs, you'll find the introduction of splines in Semiparametric Regression in R very intuitive - splines are introduced using what the authors call a "truncated line basis" but you already know it as the RELU function, just with a bias. Indeed, even the penalization of splines will look extremely familiar: it's basically just L2 regularization to induce smoothness.
You might also enjoy reading the "Neural Additive Model" paper from Hinton's lab, which is basically GAMs using a separate DNN as a "spline basis" for each input variable.
Re:Everything Is a Linear Model
by goosedragons on Sunday February 18, 2024 @09:02PM
(#39425501)
Simon Wood's Generalized Additive Model book.
Re:Everything Is a Linear Model
by levocardia on Sunday February 18, 2024 @10:44PM
(#39426062)
Or, for a more approachable treatment, Semiparametric Regression with R by Harezlak, Ruppert, and Wand. A middle ground between Wood's book (which is comprehensive but can dip into math that's way over my head at times) and H/R/W is Semiparametric Regression by Ruppert, Wand, and Carroll.
I have also heard great things about Frank Harrell's Regression Modeling Strategies which uses a slightly different approach (still spline-based though), but I haven't read it. His other writing is fantastic though.
Re:Everything Is a Linear Model
by disgruntledphd2 on Monday February 19, 2024 @06:26AM
(#39428599)
> Frank Harrell's Regression Modeling Strategies which uses a slightly different approach (still spline-based though), but I haven't read it.
Very very good indeed, with the exception that he basically ignores compute time and efficiency. I learned a bunch, but applying his approach to the kinds of datasets I deal with (much larger and with pretty strict compute budgets) was very difficult.
Is there some go-to practice material I could look at?
Splines I haven't touched since numerical computing exercises in school.