I was saying we should have stan_lasso because lasso is a useful tool. We should have something just as easy to use, that a user can just grab and run, something named stan_lasso (because the name is part of the game).
So, it is more that I am unconvinced by your answer to this broader question than I am by the specific application of it to lasso. But specifically
If there are a non-negligible number of machine learning people using R who are interested in or at least curious about Bayesian inference, then it is critically important to make sure that crowd understands
To reinforce those concepts, I think it makes sense to have the penalty / prior be a function argument that goes with a variety of likelihood functions rather than having the penalty / prior be part of the function name. That is why most of the models in rstanarm have an option for prior = hs() or prior = hs_plus() for hierarchical shrinkage, which works even if your outcome is binary, count, etc. Suppose someone wants to do L1-regularization when the outcome is binary, would you have them call stan_logit_lasso()?
With that all said, I can imagine different options:
- A stan_lasso function that fits a hierarchical model with double-exponential model and with other models being allowed also. It’s now set up so we can do full Bayes. Once we have GMO, we could have it do something very close to what is done by the official “lasso” function.
- Full Bayes with an option to shrink to 0 during post-processing. I’m not quite sure how we would do this but I don’t think it would be hard to come up with something.
I think it’s ok if our default “lasso” function uses Aki’s preferred prior, if we have some option that pulls point estimates all the way to 0. The point is that (1) the function should usable as a routine tool for regression with lots of predictors, (2) users can get that shrinkage-all-the-way-to-zero if that’s what they want, and (3) the double-exponential prior should be an option.
+1
Aki
It's not that a single banana is too heavy to carry, it's
that a fruit basket with half a dozen varieties of banana
in bunches, a bushel of corn, a peck of tomatoes, two stone
of potatoes, five of blueberries, and a case of grapes in
wine form is too much to carry for one or two people.
So we either buy a donkey or get choosy about which fruit
we tote around.
- Bob