Elastic Net, R, Data Science, Editors Pick, Thoughts And Theory.
functions are chosen depending upon the structure of your dependent variable. In our case above, our data were continuous and looked exponential, so we used the log distribution. If it’s integer data, we’d use the Poisson distribution. If it’s continuous and roughly normally distributed, we’d use