Elastic Net, R, Data Science, Editors Pick, Thoughts And Theory.
fit better. Let’s take a look at a simple example. Figure 1: OLS vs. GLM with a log link function. Image by author. On the top in figure 1, we have an exponential curve that is being fit by a GLM without a link function. Yes, this is just plain old linear regression. Not a great fit, right? Since